[Soot-list] Error in soot analysis

Stefan Gommer listenbaer at gmail.com
Tue Aug 19 10:35:21 EDT 2014


Hello Eric,

I pasted the code here : http://pastebin.com/geGkFcFm (left out some methods for better readability)

The HasNext() Method in Line 106 returns false.

Cheers,
Stefan

Am 19.08.2014 um 15:54 schrieb Bodden, Eric <eric.bodden at sit.fraunhofer.de>:

> Hello.
> 
>> As you can see, there are two invokes but it seems there are no outgoing edges from the dummyMainMethod:
>> 
>> Iterator<MethodOrMethodContext> ctargets = new Targets(cg.edgesOutOf(k));
>> while (ctargets.hasNext()) {  // <— hasNext() returns false
>>>> 
>> Shouldn’t I be able to reach at least <android.os.Bundle: void <init> and <de.ecspride.MainActivity: void onCreate(..) ?
> 
> Yes typically you should. But having said that, this really depends on how you call Soot and where you access the call graph. Is this within the wjtp pack?
> 
> Eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140819/c3317e32/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140819/c3317e32/attachment.bin 


More information about the Soot-list mailing list