[Soot-list] Why FlowDroid invokes one activity multiple times in dummyMainMethod()

Dacong Yan tonywinslow1986 at gmail.com
Thu Feb 12 17:58:43 EST 2015


Adding on top of Wei's comment, it helps people understand your
question if you can post the jimple code of dymmyMainMethod() and
explain how you counted the number of calls to be 14.

On Thu, Feb 12, 2015 at 2:51 PM, Wei Yang <davidyoung8906 at gmail.com> wrote:
> Hi! Xinxin,
>      Your question is not very clear. Are you referring to call graph when
> you say " dummyMainMethod() invokes an Activity called
> SessionLivestreamActivity "? Activity normally has multiple entry point
> methods (e.g. onCreate(), onStop() ), so it is likely that in an call graph,
> the same activity could appear on several CG nodes.
>
> Thanks!
>
> Best wishes,
> David
>
> 2015-02-12 14:35 GMT-06:00 Xinxin Jin <xinxinjin89 at gmail.com>:
>>
>> Hello,
>>
>> I am running FlowDroid on one Android app, and found dummyMainMethod()
>> invokes an Activity called SessionLivestreamActivity 14 times.
>> In my mind, each activity is an entry point of an app. So should not
>> dummyMainMethod() only invokes each entry point once ?
>> From my experiments, most of the time the activity class is indeed invoked
>> just once. So I am confused in which particular situation the activity class
>> will be invoked multiple times ?
>>
>> Thank you very much !
>>
>>
>> --
>> Xinxin
>>
>> _______________________________________________
>> 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
>


More information about the Soot-list mailing list