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

Add variable declaration attributes for filtering #20

Closed shivasurya closed 4 months ago

shivasurya commented 4 months ago

Related: #18

Supported attributes,

Example:

>FIND variable_declaration WHERE variabledatatype = 'int'
Executing query: FIND variable_declaration WHERE variabledatatype = 'int'
------Query Results------
int id = item.getItemId();
int number;
int width = displaymetrics.widthPixels;