hello, I disassembled the request sent to the game server, I need to change the symbol, but I don’t know its memory address. Help me understand the ADRP and LDR instructions, I need to understand what address will be assigned to the register "x1".
my disassembly experience is very small, i will be happy for any help.
will this user's question help me? getting function address by reading ADRP and ADD instruction values
x8value topc + 0x2d71000, then zero out the lower 12 bit. Thennopwill do nothing (wonder if it's a hole for debugging?) Thenldr x1, [x8, 0x250]will load the value in the memory addressx8 + 0x250. If your program has correct address (the address in the left size of the picture, provide that you don't have some kind of randomized address), then the value in address0x4151250in memory will be loaded tox1register. Please correct me if I'm wrong. – raspiduino Jul 25 '22 at 14:36I was told to look in the debugger for what the address is, but the debugger does not work.What debugger are you using? – raspiduino Jul 25 '22 at 14:37does not work? WDYM bydoes not work? – raspiduino Jul 25 '22 at 14:42ADDinstruction after get thex8register's value (we also got that value), so he can add it. In your case, you need to load value from memory, it can be the value that is produced by another function in the program (for example global variable?) – raspiduino Jul 25 '22 at 15:30