can we convert c/c++ code to assembly code?
can we convert c/c++ code to assembly code?
yes but it is illegal
no, the machine needs to read c and c++ code in its original form in order for the code gremlins to understand and execute it properly. if it were converted to assembly, all the object orientedness and structures would fall out of the bottom!
.sect signature
>can we convert c/c++ code to assembly code?
I don't know if you can, but maybe your compiler can. A lot of compiler are able to compile to assembly code.
There's an output setting on VC++ that produces an ASM code file when compiling.....
If you don't have VC++, compile into an .exe and then decompile.
>>> yes but it is illegal
No it is not. Almost all compilers have the option to output the object code they produce. Even if they don't, the intermediate files they produce after compiling but before linking are almost certainly around somewhere, look for them.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
It definately isn't illegal if it is your code that you are decompiling. If it's somone else's code then it is a different story.
Uh, yeah. Better compilers have a little option can turn on called "dissassembly". You can also turn on symbol tables, etc.