예제 #1
0
        public static (List <uint> opcodes, Dictionary <int, (int pos, OpCodeValue opcode)> map) Deconstruct(byte[] arr, int *offset, VeinMethod method)
        {
            using var mem = new MemoryStream(arr);
            using var bin = new BinaryReader(mem);

            var list = new List <uint>();
            var d    = new Dictionary <int, (int pos, OpCodeValue opcode)>();

            string PreviousValue(int index)
            {
                var i = list[^ index];
예제 #2
0
 internal (int, QualityTypeName) GetMethodToken(VeinMethod method) =>
 (this.InternString(method.Name), method.Owner.FullName);
예제 #3
0
        public static (List <uint> opcodes, Dictionary <int, (int pos, OpCodeValue opcode)> map) Deconstruct(byte[] arr, VeinMethod method)
        {
            var i = 0;

            return(Deconstruct(arr, &i, method));
        }