MCPcopy Create free account

hub / github.com/Inversive-Labs/eloizer / functions

Functions158 in github.com/Inversive-Labs/eloizer

Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/analyzer/dsl/query.rs:28
Methodformat_location
(&self)
src/analyzer/span_utils.rs:204
Methodfrom_file
Create a new node from a file
src/analyzer/dsl/query.rs:75
Methodfrom_function
Create a new node from a function
src/analyzer/dsl/query.rs:84
Methodfrom_impl_function
Create a new node from an impl function
src/analyzer/dsl/query.rs:93
Methodfrom_node
Create a new query from a node
src/analyzer/dsl/query.rs:172
Methodfrom_nodes
Create a new query from a list of nodes
src/analyzer/dsl/query.rs:165
Methodfrom_struct
Create a new node from a struct
src/analyzer/dsl/query.rs:102
Methodhas_function_call
Helper function to check if a function call exists
src/analyzer/dsl/query.rs:349
Functionmain
()
cli/src/main.rs:93
Functionmain
()
src/main.rs:43
Methodmessage
Sets the message formatter (now integrated into the query)
src/analyzer/dsl/builders.rs:146
Methodname
Get the node name (if exists)
src/analyzer/dsl/query.rs:116
Methodnew
Creates a new analyzer with default options
src/analyzer/mod.rs:129
Methodnew
Creates a new rule engine with the given configuration
src/analyzer/engine.rs:92
Methodnew
(source_code: String, file_path: String)
src/analyzer/span_utils.rs:12
Methodnew
(findings: Vec<Finding>, project_path: String)
src/analyzer/reporting.rs:12
Methodnew
Creates a new rule builder with default values
src/analyzer/dsl/builders.rs:38
Methodnew
Create a new query from a file
src/analyzer/dsl/query.rs:158
Methodnew_precise
(file: String, line: usize, column: Option<usize>, end_line: Option<usize>, end_column: Option<usize>)
src/analyzer/span_utils.rs:194
Methodnode_type
Get the node type
src/analyzer/dsl/query.rs:111
Methodnodes
Returns the nodes found by the query (alias for results)
src/analyzer/dsl/query.rs:189
Methodnot
Negate the query (NOT operator)
src/analyzer/dsl/query.rs:403
Methodor
Combine with another query (OR operator)
src/analyzer/dsl/query.rs:379
Functionprocess_rust_file
(path: &Path)
src/ast/mod.rs:10
Methodpublic_functions
Filter for public functions only
src/analyzer/dsl/query.rs:288
Methodquery
Sets the query builder (function that analyzes the AST and returns findings)
src/analyzer/dsl/builders.rs:106
Methodrecommendation
Adds a recommendation for fixing the issue
src/analyzer/dsl/builders.rs:187
Methodrecommendations
Returns the recommendations for fixing the issue
src/analyzer/engine.rs:39
Methodrecommendations
(&self)
src/analyzer/engine.rs:262
Methodreferences
Adds multiple references to documentation or additional resources
src/analyzer/dsl/builders.rs:179
Methodresults_mut
Returns a mutable reference to the results for internal use
src/analyzer/dsl/query.rs:179
Methodrule_count
Returns the number of rules loaded
src/analyzer/engine.rs:161
Functionrun
(config_path: PathBuf, cli_verbose: bool, cli_quiet: bool)
cli/src/commands/config.rs:48
Functionrun
( path: PathBuf, templates: Option<PathBuf>, output: Option<PathBuf>, generate_ast: bool,
cli/src/commands/analyze.rs:11
Functionrun
(rule_id: String)
cli/src/commands/rule_info.rs:5
Functionrun
(severity_filter: Option<String>, detailed: bool)
cli/src/commands/list_rules.rs:5
Methodtags
Adds multiple tags to classify the rule
src/analyzer/dsl/builders.rs:207
Functiontest_account_loader_safe
()
src/analyzer/rules/solana/high/missing_signer_check/test.rs:78
Functiontest_empty_struct
()
src/analyzer/rules/solana/high/missing_signer_check/test.rs:91
Functiontest_mixed_fields
()
src/analyzer/rules/solana/high/missing_signer_check/test.rs:62
Functiontest_proper_signer_type
()
src/analyzer/rules/solana/high/missing_signer_check/test.rs:49
Functiontest_safe_signer_field
()
src/analyzer/rules/solana/high/missing_signer_check/test.rs:22
Functiontest_vulnerable_account_info
()
src/analyzer/rules/solana/high/missing_signer_check/test.rs:9
Functiontest_vulnerable_unchecked_account
()
src/analyzer/rules/solana/high/missing_signer_check/test.rs:36
Methodtitle
(&self)
src/analyzer/engine.rs:246
Methodto_findings
Convert the results to findings
src/analyzer/dsl/query.rs:428
Methodtransform
Sets a transformer to modify findings before returning them (now integrated into the query)
src/analyzer/dsl/builders.rs:164
Methodvisit_expr_binary
(&mut self, expr: &'ast syn::ExprBinary)
src/analyzer/rules/solana/medium/division_by_zero/filters.rs:87
Methodvisit_expr_binary
(&mut self, binary: &'ast ExprBinary)
src/analyzer/rules/solana/medium/owner_check/filters.rs:53
Methodvisit_expr_call
(&mut self, call: &'ast syn::ExprCall)
src/analyzer/dsl/query.rs:548
Methodvisit_expr_macro
(&mut self, mac: &'ast ExprMacro)
src/analyzer/rules/solana/medium/owner_check/filters.rs:66
Methodvisit_expr_method_call
(&mut self, method_call: &'ast syn::ExprMethodCall)
src/analyzer/dsl/query.rs:563
Methodvisit_expr_unsafe
(&mut self, _node: &'ast syn::ExprUnsafe)
src/analyzer/rules/solana/high/unsafe_code/filters.rs:46
Methodvisit_local
(&mut self, local: &'ast syn::Local)
src/analyzer/rules/solana/medium/division_by_zero/filters.rs:59
Methodvisitor_rule
Sets a visitor-based rule implementation
src/analyzer/dsl/builders.rs:84
Methodwith_name
Filter by name
src/analyzer/dsl/query.rs:241
Methodwith_options
Creates a new analyzer with the given options
src/analyzer/mod.rs:144
← previous101–158 of 158, ranked by callers