CodeShield-Security / SPDS

Efficient and Precise Pointer-Tracking Data-Flow Framework
Eclipse Public License 2.0
66 stars 12 forks source link

WIP: Issue/#9 #12

Closed johspaeth closed 3 years ago

johspaeth commented 3 years ago

This PR adds the functionality to guide Boomerang by specify/annotate SootMethod signature's parameters in order to tell Boomerang how to propagate at certain method calls. The test cases in boomerang.guided.DemandDrivenGuidedAnalysisTest give an example on how to guide Boomerang in order to extract String constants from the code.

The propagation is done fully context-sensitive: Forward and Backward analysis take each other's context into account.