[Soot-list] SootClass resolving level is BODIES but method activeNody is null

Ashish Mishra ashish123.mishragkp at gmail.com
Wed Nov 26 02:03:35 EST 2014


Thanks Steven and Marc,

The class was not a phantom class. The reason was as suggested by Marc, the
methods were not reachable . Setting cg:all-reachable  to true solved the
issue.

Cheers
Ashish

On Wed, Nov 26, 2014 at 4:58 AM, Marc-André Laverdière <
marc-andre.laverdiere-papineau at polymtl.ca> wrote:

> Hi Ashish,
>
> I have faced this issue from time to time. Besides being a phantom, a
> possible culprit is that the method is not reachable from the entry point.
>
> If the class is not phantom, then you can load the body using
> SootMethod.retrieveActiveBody()
>
> Marc-André Laverdière-Papineau
> Doctorant - PhD Candidate
>
> On 11/25/2014 03:19 PM, Ashish Mishra wrote:
> >
> > Hi All,
> >
> > I have run into a situation where*SootClass resolving level is BODIES(i
> > forceresolve the said class to Level BODIES)* , but i am not getting any
> > *Active Body for the methods in the class.*
> >
> > The class is not an excluded class either, I am using FlowDroid and
> > trying to iterate through some Component Classes of an android app.
> >
> > Has anyone faced similar issue , what might be the reason of the missing
> > active Body.
> >
> > Thanks
> >
> >
> > --
> > Regards,
> > Ashish Mishra
> > Graduate Student,
> > Computer Science and Automation Department,IISc
> > Cell : +91-9611194714
> > Mailto : ashishmishra at csa.iisc.ernet.in
> > <mailto:ashishmishra at csa.iisc.ernet.in>
> >
> >
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at CS.McGill.CA
> > https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
> >
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>



-- 
Regards,
Ashish Mishra
Graduate Student,
Computer Science and Automation Department,IISc
Cell : +91-9611194714
Mailto : ashishmishra at csa.iisc.ernet.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20141126/766621e7/attachment.html 


More information about the Soot-list mailing list