[Soot-list] retrieving pointers to an object

Bodden, Eric eric.bodden at sit.fraunhofer.de
Mon May 25 04:49:49 EDT 2015


Hi Peter.

I think you have to traverse the PAG manually. AFAIK there is no predefined API.

Cheers,
Eric

> On 25.05.2015, at 00:00, Peter Kim <chpkim at gmail.com> wrote:
> 
> Hi,
> 
> Given a PointsToSet, is there an efficient way to retrieve pointers to it? I.e. the base PointsToSet, whose field can point to it, locals, static fields, and etc? I'm basically looking for the inverse operation of PAG.reachingObjects(..). A very inefficient way would be to go through each pointer, get its PointsToSet, call this method, and see if the result intersects with the PointsToSet of interest, but I'm looking for something faster and more convenient.
> 
> Thank you.
> 
> 
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150525/1fc7b990/attachment.bin 


More information about the Soot-list mailing list