[Soot-list] Access the ConstantPool of a class file

Steven Arzt steven.arzt at cased.de
Fri Nov 18 05:07:11 EST 2016


Hi Gian Luca,

Soot provides a higher level of abstraction. You don't directly work on 
the individual parts of the class files, but on a typed intermediate 
representation for the code called Jimple. In other words, no, you can't 
access the constant pool right away, and there is usually no need to do 
so. Usually, the questions that people want to answer with static 
analysis are semantically higher and accessing the constant pool is only 
one means to possibly achieve the goal - and I'm pretty sure that the 
same goal can be achieved with what Soot provides as well, maybe even 
better because of the richer semantic representation.

Best regards,
   Steven


On 2016-11-16 16:14, Gian Luca Scoccia wrote:
> Is it possible, using soot, to access the constant pool of a .class
> file? I know this is possible with other tools but I would like to use
> soot since I'm already using it in my project for other purposes.
> 
> --
> 
> _______________________________________________________
> 
> Ph.D. Student at Gran Sasso Science Institute (GSSI) [1]
> Personal Page [2]
> Linkedin Profile [3]
> 
> 
> 
> Links:
> ------
> [1] http://www.gssi.infn.it
> [2] http://cs.gssi.infn.it/people/scoccia/
> [3] https://it.linkedin.com/in/gianlucascoccia
> 
> _______________________________________________
> 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