[Soot-list] about SourceLnPosTag
Chris Pickett
chris.pickett at mail.mcgill.ca
Thu Oct 18 13:45:21 EDT 2007
Hi Jauhar,
Jauhar Ali wrote:
> We have just started using Soot in our research project which deals with
> visualizing data structures (dynamically) in Java.
I saw this and just thought I would mention that Sokhom and Clark in our
lab did some work in this area:
http://www.sable.mcgill.ca/publications/papers/#icpc2006
http://www.sable.mcgill.ca/publications/thesis/#sokhomMastersThesis
although they weren't using Soot.
Cheers,
Chris
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
More information about the Soot-list
mailing list