I use IDA ARM remote debugger with Android native libraries, and it detects wrong image base address always. I have to go to Segments => 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.

What is IDC function that does completely the same job as Segments => Rebase Program => Image base GUI action?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.