View Single Post
  #1  
Old 09-23-2020, 06:40
chants chants is online now
VIP
 
Join Date: Jul 2016
Posts: 738
Rept. Given: 37
Rept. Rcvd 48 Times in 30 Posts
Thanks Given: 671
Thanks Rcvd at 1,064 Times in 482 Posts
chants Reputation: 48
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