[Soot-list] about SourceLnPosTag

Eric Bodden eric.bodden at mail.mcgill.ca
Thu Oct 18 08:34:43 EDT 2007


Hi, Jauhar.

Are you creating Jimple from Bytecode or from Sourcecode? Bytecode
unfortunately does not hold any column information.

Eric

On 18/10/2007, Jauhar Ali <jauhar at kfupm.edu.sa> wrote:
> We have just started using Soot in our research project which deals with
> visualizing data structures (dynamically) in Java. Our approach is to
> instrument Java code, so that the visualization component get info about
> each statement via the instrumented code. The instrumented code is
> responsible to pass the info about each statement (say in Jimple) and
> the exact location in the source code so that it can be visualized
> properly. By setting the KeepLineNumber flag on and taking input from
> Java source files, we are able to get the source line number for each
> Jimple statement. But we could not get the column positions because the
> Jimple statements have not got the SourceLnPosTag attached to them. Is
> there any extra switch which needs to be on to get the SourceLnPosTag
> attached to Jimple statements?
> Thanks,
> Jauhar
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list