Reef is an IDAPython plugin for finding cross references (Xrefs) from a function. Each Xref is represented by direction, type, addres and disassembly text, as in the IDA builtin Xref to functionality.
#include <stdio.h>
void bar()
{
printf("hello from bar\n");
}
void foo()
{
wprintf(L"hello from foo\n");
bar();
}
void foo2()
{
wprintf(L"hello from foo2\n");
bar();
}
void main()
{
printf("hello from main\n");
foo();
foo2();
getchar();
}
I put the cursor on the main function and hit Shift+x. We get the following Reef output:
Notice that each Xref is clickable ! :)
- IDA (Hex Rays Interactive Disassembler) version >= 6.1 with IDAPython
- tested on IDA 6.8 (Tell me about your experience on higher versions!)
-
Copy src/Reef.py file to the plugins directory of IDA (%IDAPATH%\plugins) and restart IDA.
-
You are ready to go :)
load your favourite binary with IDA. To find Xrefs from the current function, focus on any line in the function disassembly and hit Shift+x.
Reef can also be found in Edit/Plguins/Reef menu.
Icons made by Freepik from www.flaticon.com is licensed by CC BY 3.0