semgrep / pfff

pfff is mainly an OCaml API to write static analysis, dynamic analysis, code visualizations, code navigations, or style-preserving source-to-source transformations such as refactorings on source code.
https://semgrep.dev
Other
186 stars 29 forks source link

fix(deep-semgrep): change ast to support parsing multiple vardefs #572

Closed emjin closed 1 year ago

emjin commented 1 year ago

Support parsing int a = 1, b = 2 into two DefStmts. Changes the ast to make the translation easier to java_to_generic

Test plan: see semgrep-proprietary PR

Security

linear[bot] commented 1 year ago
PA-2125 Fix bug tracking taint when it comes from `String a = v1, b = taint`

(see [https://github.com/returntocorp/semgrep-proprietary/issues/281](https://github.com/returntocorp/semgrep-proprietary/issues/281))