detect
function used to detect vulnerabilities TBD
detect
Definition:
https://github.com/Cyfrin/aderyn/blob/dev/aderyn_core/src/detect/detector.rs#L195
Evaluate the AST provided WorkspaceContext
to determine if a particular code issue is present.
Parameters:
_context
: A reference to theWorkspaceContext
containing the AST nodes to be analyzed.
Returns:
Result<bool, Box<dyn Error>>
:Ok(true)
if an issue is detected; otherwiseOk(false)
.Err(Box<dyn Error>)
if an error occurs during issue detection.
Example:
Last updated