help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assembly programming in Emacs how to


From: Pascal J. Bourguignon
Subject: Re: assembly programming in Emacs how to
Date: Fri, 18 Mar 2011 10:46:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Ronnie Collinson <address@hidden> writes:

> Instead of decompiling to see the generated C code, you can tell GCC
> to stop before assembling. gcc -S yourcfile.c, or use an option like
> --save-temps to see all phases of compilation, and get the executable

Good idea.  

So we could write an algorithm generating C sources, compiling them,
and comparing the produce binary with a target binary, until a match is
found.  Then we can compile with -S to get the assembler, or better just
read the 'decompiled' C code.

Quantum computers will be commercialised soon.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]