【问题标题】:How to get the current offset use IDC or IDAPython?如何使用 IDC 或 IDAPython 获取当前偏移量?
【发布时间】:2020-07-03 13:20:39
【问题描述】:

在编写IDA脚本时,如何使用IDC或IDAPython获取内存地址的偏移量?

【问题讨论】:

    标签: python reverse-engineering ida


    【解决方案1】:
    offset = idaapi.get_fileregion_offset(ea)
    ea = idaapi.get_fileregion_ea(offset)
    

    感谢伊戈尔·斯科钦斯基

    参考:https://reverseengineering.stackexchange.com/questions/2835/how-to-extract-the-input-file-offset-of-a-byte-in-idapython

    【讨论】:

      猜你喜欢
      • 2018-09-25
      • 1970-01-01
      • 2015-02-14
      • 2012-06-12
      • 2018-05-26
      • 1970-01-01
      • 1970-01-01
      • 2017-07-17
      • 2014-02-18
      相关资源
      最近更新 更多