-
Notifications
You must be signed in to change notification settings - Fork 312
Description
Hi Steven,
I've been trying to create the call graph with a modified sourcesAndSinks file. I followed the below process. However, the generated call graph still contains the nodes from the original sourcesAndSinks file. Could you please let me know if I'm missing something?
InfoflowAndroidConfiguration config = new InfoflowAndroidConfiguration();
config.setIgnoreFlowsInSystemPackages(true);
AnalysisFileConfiguration fileConfig = new AnalysisFileConfiguration();
fileConfig.setAndroidPlatformDir("C:\Android\android-sdk\platforms");
fileConfig.setSourceSinkFile("D:\CMU\Capstone\SourcesAndSinks.txt");
fileConfig.setTargetAPKFile("D:\CMU\Capstone\*****.apk");
config.getAnalysisFileConfig().merge(fileConfig);
SetupApplication app = new SetupApplication(config);
app.constructCallgraph();
CallGraph appCallGraph = Scene.v().getCallGraph();
Thank you,
Sharada