detect
function used to detect vulnerabilities TBD
Last updated
Was this helpful?
function used to detect vulnerabilities TBD
Last updated
Was this helpful?
detect
Definition:
Evaluate the AST provided WorkspaceContext
to determine if a particular code issue is present.
Parameters:
_context
: A reference to the containing the AST nodes to be analyzed.
Returns:
Result<bool, Box<dyn Error>>
:
Ok(true)
if an issue is detected; otherwise Ok(false)
.
Err(Box<dyn Error>)
if an error occurs during issue detection.
Example: