0

The IDA Pro Python function ScreenEA() will return the address the cursor is at and if I manually position the cursor at the start, it will return the first valid address.

However, I would like to be able to position my cursor anywhere and be able to ask for what the first valid address is. What function will return that information?

1

You'd want to use MinEA(), which is equivalent to GetLongPrm(INF_MIN_EA).

From IDA's documentation:

INF_MIN_EA      // int32; The lowest address used
                //        in the program

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.