Esempio n. 1
0
        public static ulong offset_calculator(bit64.mem_help64 target_mem, ulong base_address, int[] offsets)
        {
            var address = base_address;

            foreach (uint offset in offsets)
            {
                address = target_mem.read_mem <ulong>(address) + offset;
            }
            return(address);
        }
Esempio n. 2
0
        public static ulong sub_mem(bit64.mem_help64 target_mem, ulong first_hex, ulong second_hex)
        {
            ulong address = target_mem.read_mem <ulong>(first_hex) - second_hex;

            return(address);
        }