View Single Post
  #1  
Old 09-23-2020, 06:40
chants chants is offline
VIP
 
Join Date: Jul 2016
Posts: 853
Rept. Given: 48
Rept. Rcvd 53 Times in 32 Posts
Thanks Given: 748
Thanks Rcvd at 1,168 Times in 539 Posts
chants Reputation: 53
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