> So, a decompiler is cool and all, but...a five-line "Hello World" program turned into a 144-line decompiled program. Is that an accomplishment? I'm pretty sure the "reconstructed" C from that is longer than the assembly.
Yeah, as you've discovered, there's a lot of "magic" going on behind the scenes to establish the standard C runtime environment that executes your main() function.
Here's a great writeup that illustrates the, uh, extensive amount of work that happens after spawning a new process but before main() is called:
Yeah, as you've discovered, there's a lot of "magic" going on behind the scenes to establish the standard C runtime environment that executes your main() function.
Here's a great writeup that illustrates the, uh, extensive amount of work that happens after spawning a new process but before main() is called:
http://dbp-consulting.com/tutorials/debugging/linuxProgramSt...