Results 1 to 1 of 1
Hello.
I want do dump structures and unions from a compiled program in linux.
I did this to dump classes and their functions:
nm -s a.out | grep ZN
And ...
- 02-15-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 19
Dumping structure and union
Hello.
I want do dump structures and unions from a compiled program in linux.
I did this to dump classes and their functions:
nm -s a.out | grep ZN
And I got a lot of lines like this one:
080486ca W _ZN8CNumbers9GetNumberEv
And from this I can get class name (CNumbers) and function (GetNumber).
But I cant find my structures or unions.
Now I am looking for something simular as nm command for dumping structures and unions.
I also tried objdump but its eighter not good for my problem, or I just used it
wrong.
Thank you for your help.


Reply With Quote