[Soot-list] keep original variable names in CFG

Eric Bodden eric.bodden at uni-paderborn.de
Wed Oct 21 11:10:25 EDT 2020


Hmm this is odd.

I can confirm that the Jimple code does not get generated with original names although it should. I wonder if there is a more general bug with the Java source code frontend. It seems quite related to https://github.com/soot-oss/soot/issues/1262

Let me follow up on that.

Cheers
Eric

> On 21. Oct 2020, at 11:14, Enoch shi <enshengshi97 at gmail.com> wrote:
> 
>  I loaded  sootTest.Straight_line form a source-code   Thanks ---ensheng
> 
> Eric Bodden <eric.bodden at uni-paderborn.de> 于2020年10月19日周一 下午6:50写道:
> Hello.
> 
> Are you loading sootTest.Straight_line form a source-code or bytecode file?
> 
> Cheers
> Eric
> 
> > On 15. Oct 2020, at 16:40, Enoch shi <enshengshi97 at gmail.com> wrote:
> > 
> > HI Admin
> >                 
> >                     I used   use [java7 soot3.0.1] to generate CFG . It is a very nice tools.
> >                     I want to use the original  variable names in CFG.  
> >                     However,  It don't keep  original variable names in CFG when i add  "-p jb use-original-names:true".
> > My environment is:
> > OS: window10
> > Java 7
> > Soot 3.0.1
> > cmd: java -cp sootclasses-trunk-jar-with-dependencies.jar  soot.tools.CFGViewer --soot-classpath .;"%JAVA_HOME%"\jre\lib\rt.jar --graph=BriefBlockGraph     sootTest.Straight_line
> > <straight_line.dot.png>
> > i hope temp $2 is original variable names : perimeter 
> > 
> > Thanks
> > ensheng 
> > 
> > 
> > 
> > <Straight_line.java><sootclasses-trunk-jar-with-dependencies.jar>_______________________________________________
> > Soot-list mailing list
> > Soot-list at CS.McGill.CA
> > https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
> 



More information about the Soot-list mailing list