I would like to get the operands of assembly instructions; represented as strings, without any local-variable substitution (e.g. instead of [rbp+var_200] I want to get the actual [rbp+XXXX] offset string). Is there an easy way to achieve this from IDAPython?

Cheers, Thomas

  • 1
    What are you trying to do? Do you really want the string, or do you want the offset? Commented Oct 4, 2018 at 11:41
  • I want the [rbp+xxxx] string, the offset alone will not do (as it would imply I have to do my own SIB parsing?)
    – rotaist
    Commented Aug 14, 2019 at 14:21


Browse other questions tagged or ask your own question.