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

Re: Output of "semi-raw" content



javap comes with the JDK and does basically what you're asking. Do you
need something that it doesn't do?

As far as Soot goes, you can turn off the jb phase with -p jb off, and
then you get Jimple that is as close as possible to the original
bytecode.

Ondrej

On Thu, Dec 18, 2003 at 10:15:50AM +0100, Eric Bodden wrote:
> Hi!
> 
> I would like to output the content of a class file in such a way that it is
> printed somewhat "as is", meaning in the original format first constant
> pool, then implemented interfaces etc... (see
> "http://jakarta.apache.org/bcel/manual.html#Figure 2") so that the original
> format of the file is maintained but the bytecodes are still translated (of
> course I don't want to see the raw opcodes but rather the invokes, astores
> etc.). Is there any suitable representation in SOOT for that or anything
> nearby?
> 
> Cheers,
> Eric
> 
> --
> Eric Bodden
> Aachen University of Technology (RWTH)
> ICQ UIN: 12656220
> Website: http://www.bodden.de
> PGP key: http://www.bodden.de/pub_key.asc
> 
> 
>