You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, frida have miscalculated the address with error in 1 byte.
ARM 32 ELF.
P.S The problem is that despite of miscalculated address, frida will overwrite the function memory (on hook on 0xd23c0765 - ptr(func_address).add(0x1)) correctly - starting with its actual address (0xd23c0764) - ptr(func_address).
The text was updated successfully, but these errors were encountered:
The LSB is set to indicate that this is a Thumb function. That is how e.g. Instruction.parse() knows it should parse it as Thumb, and not ARM. I know this is kinda quirky, but it's also what dlsym() would give you so the processor can switch to the appropriate mode when branching.
For some reason frida calculates the function address incorrectly.
F.e, this frida code:
gives me next result:
That is what radare says:
Next we can see, that radare is right:
As you can see, frida have miscalculated the address with error in 1 byte.
ARM 32 ELF.
P.S The problem is that despite of miscalculated address, frida will overwrite the function memory (on hook on 0xd23c0765 -
ptr(func_address).add(0x1)
) correctly - starting with its actual address (0xd23c0764) -ptr(func_address)
.The text was updated successfully, but these errors were encountered: