This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Binary Translation
- To: QuantumG <qg at rtfm dot insomnia dot org>
- Subject: Re: Binary Translation
- From: Lynn Winebarger <owinebar at free-expression dot org>
- Date: Mon, 1 Nov 1999 02:37:12 -0500 (EST)
- cc: gcc at gcc dot gnu dot org
On Mon, 1 Nov 1999, QuantumG wrote:
> cool, wouldn't mind having a look. My solution was pretty taylored to the
> problem of binary translation.. it is a part of the University of
> Queensland Binary Translator project, which is a "re-source-able"
> decompiler that produces C code without control flow constructs (other
> than goto).. so essentially you can take a binary off any architecture you
> have a specification file for and produce C code that you can compile onto
> any architecture that you have a c compiler for. So really my code is
> pimarily aimed at compile low level c to a bytecode that interfaces with a
> support library that provides unix like functions.
>
How are you handling jumps whose destinations are variable (not just
stored in a register, but actually variable, say as the result of
optimization of tail recursion)?
Lynn