[Soot-list] ActiveBody()

Richard L. Halpert richardlhalpert at gmail.com
Mon Jun 30 21:21:43 EDT 2008


I agree.  It sounds like your SceneTransformer may be running in the wrong
stage.

-Rich

On Mon, Jun 30, 2008 at 6:17 PM, Eric Bodden <eric.bodden at mail.mcgill.ca>
wrote:

> If hasActiveBody() returns false then the method has no body - by
> definition. Without seeing your code it's hard to tell what might be
> the problem. I suspect that you SceneTransformer is executed at the
> wrong time (while a BodyTransformer would be executed at the right
> point in time).
>
> Eric
>
> 2008/6/30  <esherman at cse.unl.edu>:
> > Hi, Eric,
> > I've created a class that extends SceneTransformer. In its
> > internalTransform method, I iterate through classes and then through
> > methods for each class. When I call hasActiveBody() method for a
> > SootMethod, it would return false, even though that method does have
> body.
> > When I perform the same operation in a class that extends BodyTransformer
> > (except for the iterations), it returns true, i.e. the opposite.
> >
> > Elena
> >
> >
> >
> >> Hi Elena.
> >>
> >> Why do you think the body is empty?
> >>
> >> Eric
> >>
> >> 2008/6/30  <esherman at cse.unl.edu>:
> >>> Why a class extending Scene Transformer would report that the active
> >>> body
> >>> of a method is empty, while it is not the case?
> >>>
> >>> Thank you,
> >>> Elena Sherman
> >>>
> >>>
> >>> _______________________________________________
> >>> Soot-list mailing list
> >>> Soot-list at sable.mcgill.ca
> >>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >>>
> >>
> >>
> >>
> >> --
> >> Eric Bodden
> >> Sable Research Group
> >> McGill University, Montréal, Canada
> >>
> >
> >
> >
>
>
>
> --
> Eric Bodden
> Sable Research Group
> McGill University, Montréal, Canada
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20080630/3431ad25/attachment.htm


More information about the Soot-list mailing list