hamid441
asked on
how to view unmanaged C dll?
Hi All,
I have a unmanaged C dll and would like to know how I can view it. I know Reflector can be used to view managed dlls, but my dll does not have CLI header, it is a pure C dll......
I have a unmanaged C dll and would like to know how I can view it. I know Reflector can be used to view managed dlls, but my dll does not have CLI header, it is a pure C dll......
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Also, It would be nice to view function params...
Try Dependency Walker:
http://www.dependencywalker.com/
That's an easy way. But it is not enough to see a structure or the parameters.
Just for your info OllyDbg:
http://www.ollydbg.de/
http://en.wikipedia.org/wiki/OllyDbg
Reverse engineering is not an easy task.
http://www.dependencywalker.com/
That's an easy way. But it is not enough to see a structure or the parameters.
Just for your info OllyDbg:
http://www.ollydbg.de/
http://en.wikipedia.org/wiki/OllyDbg
Reverse engineering is not an easy task.
There is really no way to do what you want without the symbol files and using a debugger.
Once compiled, there is no way to get back to the original C/C++ code. Your best bet is to use a disassembler.
http://en.wikipedia.org/wiki/Disassembler
A really great free one is IDAPro
http://www.hex-rays.com/idapro/idadown.htm
...but you will need to know how to use such a tool and it is not a trivial task by any mean!
http://en.wikipedia.org/wiki/Disassembler
A really great free one is IDAPro
http://www.hex-rays.com/idapro/idadown.htm
...but you will need to know how to use such a tool and it is not a trivial task by any mean!
ASKER
Thanks for your prompt answer. I was able to view the functions inside the dll. Do you know if there is a way to view the structs in the dll? My dll has many typedef struct {...}, and I would like to view them as well....