Re: ASM to C
From: Steve Meyer (spamtrap_at_crayne.org)
Date: 09/07/04
- Next message: Randall Hyde: "Re: masm32"
- Previous message: Steve Meyer : "Re: ASM to C"
- In reply to: Brian Mitchell: "Re: ASM to C"
- Next in thread: Randall Hyde: "Re: ASM to C"
- Reply: Randall Hyde: "Re: ASM to C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 7 Sep 2004 02:47:38 +0000 (UTC)
In comp.lang.asm.x86, you wrote:
> Scott Moore <spamtrap@crayne.org> wrote in message news:<N5S_c.301570$eM2.191095@attbi_s51>...
>> Its known as a "decompiler". Its a myth. The idea that you can automatically
>> reverse engineer code is not reasonable. Even if you are able to recognize a
>> few basic contructs in the assembly, such as loops, there is always going
>> to be code that your recogizer does not understand.
>
> I think the big myth here is that decompilation is not possible. It
> seems this myth spreads like wildfire, dispite evidence to the
> contrary. Sure, it's true that fully automated decompilation of
> arbitrary machine-code programm is not possible (it's equivilant to
> the halting problem) -- however, this is true of many things.
<snip>
There has been recent progress in the automated decompilation area
that builds flow graphs and uses the techniques of modern flow graph
based optiming compilers in reverse. I just heard a paper at SCOPES
conference (Software and Compilers for Embedded Systems) that describes
the algorithms for decompiling digital signal processing code.
Z80 decompilation should be much easier.
Reference is: Johnstone, A. and Scott, E., "Suppression of Redundant
Operations in Reverse Compiled Code Using Global DataFlow Analysis",
in Schepers H. (ed.), 'Software and Compilers for Embedded Systems',
8th International Workshop, SCOPES 2004, September 2-3, 2004, Springer.
Author's email addresses are: A.Johnstone@rhul.ac.uk and E.Scott@rhul.ac.uk.
See Morgan book for detailed flow graph compilation algorithms:
Morgan, R. 'Building an Optimizing Compiler', Digital Press (now
Elsevier), 1998.
/Steve
-- Steve Meyer Phone: (612) 371-2023 Pragmatic C Software Corp. email: sjmeyer@pragmatic-c.com 520 Marquette Ave. So., Suite 900 Minneapolis, MN 55402
- Next message: Randall Hyde: "Re: masm32"
- Previous message: Steve Meyer : "Re: ASM to C"
- In reply to: Brian Mitchell: "Re: ASM to C"
- Next in thread: Randall Hyde: "Re: ASM to C"
- Reply: Randall Hyde: "Re: ASM to C"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|