Cc: Soot-list <
soot...@cs.mcgill.ca>
Subject: Re: [Soot-list] Missing callgraph edges with Spark
Hi Prof. Dr. Arzt, Prof. Dr. Bodden,
I followed your recommendations of using Flowdroid and preprocessors, instead of Soot, for which I thank you once again.
While it did provide me with a much more precise callgraph on the example I showed before, some of the edges that were found previously by Soot are now missing, and from a first look, it seems those are all within fragment lifecycles (e.g onViewCreated). Is there anything regarding how fragment classes are handled by Flowdroid which you believe could explain this behavior?
Best regards,
Faridah Akinotcho
Le lundi 9 mai 2022, 19:27:11 UTC−7, Faridah Akinotcho <
faridath....@yahoo.fr> a écrit :
Thank you for clarifying this! I'll try setting up my analysis within this Flowdroid callback instead.
Best regards,
Faridah Akinotcho
Le lundi 9 mai 2022, 12:12:00 UTC−7, Arzt, Steven <
steve...@sit.fraunhofer.de> a écrit :
Dear Faridah,
You can call SetupApplication.addPreprocessor() to add a callback that gets invoked once the callgraph construction is done in FlowDroid. The interface has two methods, one before and one after callgraph construction. You just need to use the FlowDroid API, i.e., the SetupApplication class. That should be fairly simple.
Best regards,
Steven
-----Original Message-----
From: Soot-list <
soot-lis...@CS.McGill.CA <mailto:
soot-lis...@CS.McGill.CA> > On Behalf Of Faridah Akinotcho
Sent: Montag, 9. Mai 2022 21:11