I use IDA ARM remote debugger with Android native libraries, and it detects wrong image base address always. I have to go to
Rebase Program, and set
Image base value to correct one on each program start.
Is it possible to do that automatically with
IDC? I know about
RebaseProgram function, however, it rebases by "delta" bytes always and not to absolute value. Even when I calculate delta manually, the rebase doesn't work: no breakpoints hit after rebase, and no exported functions are visible.
IDC function that does completely the same job as
Rebase Program =>
Image base GUI action?