Hey everyone, just a quick question.
Does anyone know of an existing application that will accept a bunch of header files as input and output a list of function prototypes? It would really help with my code auditing as I'm spending a long time assembling them by hand and it takes a long while.
Cheers, Martin
Try doxygen.
M Bealby wrote:
Hey everyone, just a quick question.
Does anyone know of an existing application that will accept a bunch of header files as input and output a list of function prototypes? It would really help with my code auditing as I'm spending a long time assembling them by hand and it takes a long while.
Cheers, Martin _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
Hey again,
Jerry, I never thought about using doxygen, but it fit my needs well, thanks. Steven, I didn't know where to find the sdk, but thanks anyway.
I knocked up a little script to take some copied and pasted excerpts from the doxygen documentation to create a big function list (as I couldn't find one in doxygen directly). I'll hopefully find some time to modifiy the script to add some extra features such as pulling the information directly from the doxygen documentation and also including typedefs and global variables.
Anyway, I have a function list for ntoskrnl at svn revision 20860. I would imagine it should stay pretty similar over newer revisions as the function calls don't normally change.
You can get it at: http://www.bealbywm.plus.com/scratch/ntoskrnl-functions.html
I thought it might help anyone who needed a quick function reference (just return values and parameters) such as myself. It's sorted by function name.
While searching to see if there was an existing table I came across the ``Ntoskrnl.exe functions'' stub in the wiki (http://www.reactos.org/wiki/indesx.php/Ntoskrnl.exe_functions). Do you want me to add it in there too?
Cheers, Martin
Hi,
On 1/14/06, M Bealby mbealby@gmail.com wrote:
Does anyone know of an existing application that will accept a bunch of header files as input and output a list of function prototypes? It would really help with my code auditing as I'm spending a long time assembling them by hand and it takes a long while.
There is a SDK parser Royce wrote that is somewhere in the tree. It may do the job with a little hacking.
-- Steven Edwards - ReactOS and Wine developer
"There is one thing stronger than all the armies in the world, and that is an idea whose time has come." - Victor Hugo