Is it possible to “decompile” a Windows .exe? Or at least view the Assembly?

With a debugger you can step through the program assembly interactively. With a disassembler, you can view the program assembly in more detail. With a decompiler, you can turn a program back into partial source code, assuming you know what it was written in (which you can find out with free tools such as PEiD … Read more

Using GCC to produce readable assembly?

If you compile with debug symbols (add -g to your GCC command line, even if you’re also using -O31), you can use objdump -S to produce a more readable disassembly interleaved with C source. >objdump –help […] -S, –source Intermix source code with disassembly -l, –line-numbers Include line numbers and filenames in output objdump -drwC … Read more

When is assembly faster than C? [closed]

Here is a real world example: Fixed point multiplies on old compilers. These don’t only come handy on devices without floating point, they shine when it comes to precision as they give you 32 bits of precision with a predictable error (float only has 23 bit and it’s harder to predict precision loss). i.e. uniform … Read more