[Soot-list] Loading class files in Baf representation

Patrick Lam plam at sable.mcgill.ca
Mon Oct 5 16:52:19 EDT 2015


Hi Aditya,

I'm not quite sure what you mean. You mean that you want to load the 
class and then manipulate the Baf? You should do that by adding a 
transformer to the appropriate Baf pack.

pat

On 09/18/2015 04:14 PM, Kamath, Aditya Vidhyadhara wrote:
> Hi,
>
> I am a graduate student at Georgia Tech and I am using Soot to write
> some analyses. I wanted to know if there was a way in Soot to load a
> given class directly in the Baf format instead of the standard Jimple
> representation.
>
> Currently I am using following code to load a class:
> SootClass c = Scene.v().loadClassAndSupport(<string>);
>
> This code always returns the class in the Jimple representation. I have
> however not been able to find any option which I can get it to load to
> Baf directly.
> If there isn’t a way, then is it possible to convert the Jimple to Baf
> representation ?
>
> Thanks
> Aditya Kamath
> Graduate Student
> Computer Science
> Georgia Institute of Technology
>
>
>
> _______________________________________________
> 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