<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Code listing in SetupApplication.java in funciton calculateCallbacks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
String callbackFile = callbackConfig.getCallbacksFile();
<div>if (callbackFile != null && !callbackFile.isEmpty()) {</div>
<div>  File cbFile = new File(callbackFile);</div>
<div>  if (cbFile.exists()) {</div>
<div>    CollectedCallbacks callbacks = CollectedCallbacksSerializer.deserialize(callbackConfig);</div>
<div>    if (callbacks != null) {</div>
<div>    // Get our callback data from the file</div>
<div>    entrypoints = callbacks.getEntryPoints();</div>
<div>    fragmentClasses = callbacks.getFragmentClasses();</div>
<div>    callbackMethods = callbacks.getCallbackMethods();</div>
<div><br>
</div>
<div>    // Create the callgraph</div>
<div>    createMainMethod(entryPoint);</div>
<div>    constructCallgraphInternal();</div>
<div><br>
</div>
<div>    createSourceSinkProvider(entryPoint, lfp);</div>
<div>    return;</div>
<div>  }</div>
<div> }</div>
}<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
the code also shows that it can fragments from the callback file. I wish to know the format of the file to be given as input ans also what is the utility of the file.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Eric Bodden <eric.bodden@uni-paderborn.de><br>
<b>Sent:</b> Monday, February 1, 2021 7:25 PM<br>
<b>To:</b> ABHISHEK VIJAY UPPAR <abhisheku@iisc.ac.in><br>
<b>Cc:</b> soot-list@CS.McGill.CA <soot-list@CS.McGill.CA><br>
<b>Subject:</b> Re: [Soot-list] Call back file</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">External Email<br>
<br>
<br>
Hi Abishek,<br>
<br>
I think this should be this file?<br>
<a href="https://github.com/secure-software-engineering/FlowDroid/blob/3bffc39b59485e73c2083cefc34c6bbb8cf3b55b/soot-infoflow-android/AndroidCallbacks.txt">https://github.com/secure-software-engineering/FlowDroid/blob/3bffc39b59485e73c2083cefc34c6bbb8cf3b55b/soot-infoflow-android/AndroidCallbacks.txt</a><br>
<br>
Cheers<br>
Eric<br>
<br>
> On 1. Feb 2021, at 10:21, ABHISHEK VIJAY UPPAR <abhisheku@iisc.ac.in> wrote:<br>
><br>
> Hello!<br>
><br>
> I see that flowdroid has a way to provide callback file for analysis. The class file SetupApplication looks for callback file. I need to understand its utility and if we can given it as input please let me know the format. Can we add the callbacks that are
 not reachable from dummy main?<br>
> From: ABHISHEK VIJAY UPPAR <abhisheku@iisc.ac.in><br>
> Sent: Monday, December 21, 2020 10:40 AM<br>
> To: soot-list@CS.McGill.CA <soot-list@CS.McGill.CA><br>
> Subject: Re: Call back file<br>
><br>
> Original Message:<br>
><br>
> Hello!<br>
><br>
> I see that flowdroid has a way to provide callback file for analysis. The class file SetupApplication looks for callback file. I need to understand its utility and if we can given it as input please let me know the format. Can we add the callbacks that are
 not reachable from dummy main?<br>
><br>
><br>
><br>
> Sorry the subject got autocorrected. I would like to know if it is possible. A quick reply would help me expedite my work.<br>
><br>
> thank you.<br>
> From: ABHISHEK VIJAY UPPAR<br>
> Sent: Sunday, December 13, 2020 12:14 PM<br>
> To: soot-list@CS.McGill.CA <soot-list@CS.McGill.CA><br>
> Subject: Call graph file<br>
><br>
> Hello!<br>
><br>
> I see that flowdroid has a way to provide callback file for analysis. The class file SetupApplication looks for callback file. I need to understand its utility and if we can given it as input please let me know the format. Can we add the callbacks that are
 not reachable from dummy main?<br>
><br>
> Abhishek<br>
> IISc Bangalore<br>
> _______________________________________________<br>
> Soot-list mailing list<br>
> Soot-list@CS.McGill.CA<br>
> <a href="https://mailman.CS.McGill.CA/mailman/listinfo/soot-list">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br>
<br>
</div>
</span></font></div>
</body>
</html>