[prev in list] [next in list] [prev in thread] [next in thread]
List: soot-list
Subject: Re: [Soot-list] SootClass resolving level is BODIES but method activeNody is null
From: Ashish Mishra <ashish123.mishragkp () gmail ! com>
Date: 2014-11-26 7:15:35
Message-ID: CAGCsWy9rfXa5cviZt9DHD1-NG5=f3Z6iiRC_Vq-ePwFpik+FDg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@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@csa.iisc.ernet.in
> > <mailto:ashishmishra@csa.iisc.ernet.in>
> >
> >
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list@CS.McGill.CA
> > https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
> >
> _______________________________________________
> Soot-list mailing list
> Soot-list@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@csa.iisc.ernet.in
[Attachment #5 (text/html)]
<div dir="ltr">Thanks Steven and Marc,<div><br></div><div style>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.</div><div style><br></div><div \
style>Cheers </div><div style>Ashish</div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Wed, Nov 26, 2014 at 4:58 AM, Marc-André Laverdière <span \
dir="ltr"><<a href="mailto:marc-andre.laverdiere-papineau@polymtl.ca" \
target="_blank">marc-andre.laverdiere-papineau@polymtl.ca</a>></span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">Hi Ashish,<br> <br>
I have faced this issue from time to time. Besides being a phantom, a<br>
possible culprit is that the method is not reachable from the entry point.<br>
<br>
If the class is not phantom, then you can load the body using<br>
SootMethod.retrieveActiveBody()<br>
<br>
Marc-André Laverdière-Papineau<br>
Doctorant - PhD Candidate<br>
<span class=""><br>
On 11/25/2014 03:19 PM, Ashish Mishra wrote:<br>
><br>
> Hi All,<br>
><br>
</span>> I have run into a situation where*SootClass resolving level is \
BODIES(i<br> > forceresolve the said class to Level BODIES)* , but i am not \
getting any<br> > *Active Body for the methods in the class.*<br>
<span class="">><br>
> The class is not an excluded class either, I am using FlowDroid and<br>
> trying to iterate through some Component Classes of an android app.<br>
><br>
> Has anyone faced similar issue , what might be the reason of the missing<br>
> active Body.<br>
><br>
> Thanks<br>
><br>
><br>
> --<br>
> Regards,<br>
> Ashish Mishra<br>
> Graduate Student,<br>
> Computer Science and Automation Department,IISc<br>
> Cell : +91-9611194714<br>
> Mailto : <a href="mailto:ashishmishra@csa.iisc.ernet.in">ashishmishra@csa.iisc.ernet.in</a><br>
</span>> <mailto:<a \
href="mailto:ashishmishra@csa.iisc.ernet.in">ashishmishra@csa.iisc.ernet.in</a>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Soot-list mailing list<br>
> <a href="mailto:Soot-list@CS.McGill.CA">Soot-list@CS.McGill.CA</a><br>
> <a href="https://mailman.CS.McGill.CA/mailman/listinfo/soot-list" \
target="_blank">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br> \
><br> _______________________________________________<br>
Soot-list mailing list<br>
<a href="mailto:Soot-list@CS.McGill.CA">Soot-list@CS.McGill.CA</a><br>
<a href="https://mailman.CS.McGill.CA/mailman/listinfo/soot-list" \
target="_blank">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br> \
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature">Regards,<br>Ashish Mishra<br>Graduate Student,<br>Computer \
Science and Automation Department,IISc<br>Cell : +91-9611194714<br>Mailto : <a \
href="mailto:ashishmishra@csa.iisc.ernet.in" \
target="_blank">ashishmishra@csa.iisc.ernet.in</a><br><br></div> </div>
_______________________________________________
Soot-list mailing list
Soot-list@CS.McGill.CA
https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic