Skip to content

Creating call graph with different SourceAndSinks.txt #58

@sharboda

Description

@sharboda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions