How do I list all destinations from relative jump instructions (e.g. the jmpr instruction) in IDA?
1 Answer
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. Commented Mar 16, 2014 at 14:09