shake Posted September 15, 2004 Share Posted September 15, 2004 in linux, if u want to view the assembly code generated by the gcc compiler, u use the -s switch i.e $ gcc -S -o example1.s example1.c is the same possible for .NET ??? i have some C++ code i wnat to see the assembly generated for it. What do i use?? Link to comment Share on other sites More sharing options...
0 Crunch Posted September 15, 2004 Share Posted September 15, 2004 same here I wanna see Link to comment Share on other sites More sharing options...
0 Mike Douglas Posted September 15, 2004 Share Posted September 15, 2004 Are you talking about Managed C++ or C++? Link to comment Share on other sites More sharing options...
0 shake Posted September 15, 2004 Author Share Posted September 15, 2004 just a console app Link to comment Share on other sites More sharing options...
0 amr_01 Posted September 15, 2004 Share Posted September 15, 2004 same here I wanna see me too Link to comment Share on other sites More sharing options...
0 shake Posted September 15, 2004 Author Share Posted September 15, 2004 noone ?? Link to comment Share on other sites More sharing options...
0 Andareed Posted September 15, 2004 Share Posted September 15, 2004 If you are debugging in visual studio (.net, not sure about vc6) code you can switch to the assembly view. If you want a good dissambler you should look at Win32Dasm. Link to comment Share on other sites More sharing options...
0 shake Posted September 17, 2004 Author Share Posted September 17, 2004 found it ... when debugging, select disassembly from the debug tool bar or just press ctrl + alt + D (I hope u know by debugging i mean u have some breakpoints in the program and are executing it step by step). It is pretty cool .. it actually tells u which assembly code is being executed at the moment Link to comment Share on other sites More sharing options...
0 Steven Posted September 17, 2004 Share Posted September 17, 2004 with .NET its called MSIL. It's not pure assembly because you're running a "Virtual Machine" to run .NET Code. Link to comment Share on other sites More sharing options...
Question
shake
in linux, if u want to view the assembly code generated by the gcc compiler, u use the -s switch
i.e $ gcc -S -o example1.s example1.c
is the same possible for .NET ??? i have some C++ code i wnat to see the assembly generated for it. What do i use??
Link to comment
Share on other sites
8 answers to this question
Recommended Posts