Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

C automatic document 1

Status
Not open for further replies.

FM

Computer
Aug 10, 1999
5
I want to extract automatically from a C program the complex C structures, the list of the C functions...<br>
And I would like to extract thiese informations on a Word, text or HTML document.<br>
So, I looking for a tool that countains these features. If you know one of these tools please reply to me.<br>
<br>
Thanks.
 
Replies continue below

Recommended for you

Two choices depending on your exact requirements:<br>
<br>
1. If you need to just collect the names/descriptions of C strcutures and functions, you can very well write a VB macro in Word. The macro will have to scan the input files and search for patterns (like "struct", and void xx()). The VB macro can easily put in the search results onto a Word document in whatever format you desire. (I've done similar exercises)<br>
<br>
2. If the need is to get the call trees of functions (like f1() calling f2() calling f3()) you can use some software tools available in the market. This could be particularly useful when you're dealing with some unfamilar set of code- as for reverse-engineering.<br>

 
Hello umn,<br>
<br>
I thank you to your quickly response of my request.<br>
I think the case 2 is my exact requirement:<br>
<br>
I would like to find a tools that create automatically the call trees of C functions and, if it's possible, the trees of C structures (struct of struct of struct...). <br>
And, you say that some product exists in the market. So, I would like to know if you have some product's name.<br>
<br>
Thanks.<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor