Expand description
Tree-sitter based code parser and security pattern matcher.
This crate provides:
- Code parsing using tree-sitter grammars
- Security pattern matching for vulnerability detection
Structs§
- Code
Parser - Tree-sitter based code parser.
- Context
- Context containing definitions and references from parsed code.
- Definition
- A code definition (function, class, method, etc.)
- Language
Patterns - Language-specific patterns configuration.
- Pattern
Config - Configuration for a security pattern.
- Pattern
Match - A matched security pattern.
- Query
- A set of patterns that match nodes in a syntax tree.
- Query
Cursor - A stateful object for executing a
Queryon a syntaxTree. - Security
Risk Patterns - Security risk pattern matcher.
Enums§
- Pattern
Query - Query type for pattern matching.
Traits§
- Streaming
Iterator - An interface for dealing with streaming iterators.