On GDB:
set $base_address = (Start of Heap)
set $relative_offset = (Relative Address)
set $result = $base_address + $relative_offset: This will make the math on GDB
p/x $result: This will print the result
my result seems not sync any helps
so try another strategy
(gdb) find /b 0x2104200000, 0x23041fffff, 0x3A, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0xF0, 0x3A, 0xA7, 0x82, 0x00, 0x00, 0x00, 0x00, 0xB4, 0xA5, 0xB6, 0xAD, 0x21, 0x00, 0x00, 0x00
--> 0x21adb6a598 (founded)
(gdb) x/16x 0x21adb6a598
0x21adb6a598: 0x0000023a 0x00000100 0x82a73af0 0x00000000
0x21adb6a5a8: 0xadb6a5b4 0x00000021 0x00000040 0x6d657449
(gdb) x/16xb 0x21adb6a598
0x21adb6a598: 0x3a 0x02 0x00 0x00 0x00 0x01 0x00 0x00
0x21adb6a5a0: 0xf0 0x3a 0xa7 0x82 0x00 0x00 0x00 0x00
(gdb) p/x 0x21adb6a598-0x2105b6a598
$yuzu_offset = 0xa8000000
(gdb) awatch *(int*)0x21adb6a598
which break the memory write cycle but after dis-assembly the address still not what I want ...happy hacking
set $base_address = (Start of Heap)
set $relative_offset = (Relative Address)
set $result = $base_address + $relative_offset: This will make the math on GDB
p/x $result: This will print the result
my result seems not sync any helps
Post automatically merged:
so try another strategy
(gdb) find /b 0x2104200000, 0x23041fffff, 0x3A, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0xF0, 0x3A, 0xA7, 0x82, 0x00, 0x00, 0x00, 0x00, 0xB4, 0xA5, 0xB6, 0xAD, 0x21, 0x00, 0x00, 0x00
--> 0x21adb6a598 (founded)
(gdb) x/16x 0x21adb6a598
0x21adb6a598: 0x0000023a 0x00000100 0x82a73af0 0x00000000
0x21adb6a5a8: 0xadb6a5b4 0x00000021 0x00000040 0x6d657449
(gdb) x/16xb 0x21adb6a598
0x21adb6a598: 0x3a 0x02 0x00 0x00 0x00 0x01 0x00 0x00
0x21adb6a5a0: 0xf0 0x3a 0xa7 0x82 0x00 0x00 0x00 0x00
(gdb) p/x 0x21adb6a598-0x2105b6a598
$yuzu_offset = 0xa8000000
(gdb) awatch *(int*)0x21adb6a598
which break the memory write cycle but after dis-assembly the address still not what I want ...happy hacking
Last edited by Longjumping-Topic708,