Mail Archives: djgpp/1997/04/09/11:57:32
Peter Steele wrote:
>
> Anyone know of any decompilers for c ? It would be especially nice if
> there was one for djgpp? Anyone got any ideas.
>
AFAIK, not many. I did some hand decompiling a while ago and am
willing to write such a beast, but it is a long and hard job (though
certainly very instructive). Anyone wanting to help please email me.
Normally, a decompiler should be able reverse code from any compiler (ie
any exe): it basically translates source from machine code to C (not
caring whether the code was originally written in asm, pascal or C).
However, you can make a decompiler more or less good at guessing one or
another compiler, by giving him special info on how this compiler
optimises, produces code, etc...
In such a case, I would not start with a DJGPP-friendly decompiler
because:
1/ it might be difficult : gcc is a very good optimising compiler, and it
will be hard to reverse efficiently
2/ it would not serve djgpp to be "the only compiler which produces
decompilable code"... I'd rather start with the commercial competitors...
Francois
- Raw text -