shivasurya / code-pathfinder

Code Pathfinder, the open-source alternative to CodeQL. Designed for precise flow analysis and advanced structural search, it identifies vulnerabilities in source code.
https://codepathfinder.dev/
GNU Affero General Public License v3.0
32 stars 6 forks source link

Added javadoc relation to method declaration and class declaration #37

Closed shivasurya closed 1 month ago

shivasurya commented 1 month ago

Closes #34

Now that we have javadoc related to class declaration and method declaration, we're able to filter methods and class based on comments

These comment attribute based filtered queries are possible,

FIND method_declaration WHERE comment_param = 'recyclerView'

FIND class_declaration WHERE comment_author = 'shivasurya' AND comment_throws = 'ClassCastException'
shivasurya commented 1 month ago

closes #34