0

When writing an IDA script, how to use IDC or IDAPython to get the file offset for a memory address?

1
offset = idaapi.get_fileregion_offset(ea)
ea = idaapi.get_fileregion_ea(offset)

ref:How to extract the input file offset of a byte in idapython?

|improve this answer|||||

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.