Fraunhofer-AISEC / cpg

A library to extract Code Property Graphs from C/C++, Java, Go, Python, Ruby and every other language through LLVM-IR.
https://fraunhofer-aisec.github.io/cpg/
Apache License 2.0
248 stars 60 forks source link

Adds pass dependencies for `EdgeCachePass` #1469

Closed fwendland closed 2 months ago

fwendland commented 2 months ago

The EdgeCachePass acts as a cache for AST, DFG and EOG edges.

Currently, the EdgeCachePass does not depend on any other passes. This can cause incomplete edge caches, if passes, excecuted later, add new edges.

This change adds pass dependencies for all current passes that add AST, DFG or EOG edges.

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud