View Single Post
  #1  
Old 09-23-2020, 06:40
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 826
Rept. Given: 47
Rept. Rcvd 50 Times in 31 Posts
Thanks Given: 737
Thanks Rcvd at 1,140 Times in 529 Posts
chants Reputation: 51
Using IDA Pro to generate Control Flow Graphs

Does anyone know a simple method to take IDA Pro to generate Control Flow Graphs (CFG) for each function in a very basic numbered edge format e.g. to graphviz or simply a list of successor nodes. The edges should be ordered by their occurrence or scanning/memory order. In other words, something like:
Code:
1 -> 2;
2 -> 3;
2 -> 4;
3 -> 5;
4 ->5;
Or even without the edges properly ordered as just a vertex successor list:
Code:
[2], [3, 4], [5], [5]
I know I could write a plugin to do this but it seems like such a basic task to generate CFGs that it would be nice not to reinvent the wheel if this is already possible.
Reply With Quote