2

How do I list all destinations from relative jump instructions (e.g. the jmpr instruction) in IDA?

1

With your cursor on the given instruction, press Shift+F2 to bring up the IDC window, paste the following script into the script body pane, and press the Run button in the dialog window.

auto x = Rfirst0(ScreenEA());
while (x != BADADDR)
{
    Message("0x%08X\n", x);
    x = Rnext0(ScreenEA(), x);
}
  • Almost exactly what I'm looking for. Thanks man. – Tamad Lang Mar 16 '14 at 14:09

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.