I have a need in pure C, after make the page read, I want to replace the function address with jump instruction and another function address, so I can use another function instead of current function at runtime, which implements MOCK.
It works fine on X86, but on ARM, I came into some issues, and do not know how to solve it. could you help me?
What is jump instruction of ARM, and how to replace it with current function address using memcpy?
I think maybe the key element is 16hex ARM jump instruction