Function cwe_checker_lib::checkers::cwe_426::check_cwe
source · pub fn check_cwe(
analysis_results: &AnalysisResults<'_>,
cwe_params: &Value
) -> (Vec<LogMessage>, Vec<CweWarning>)
Expand description
Run the CWE check.
We check whether a function calls both system(..)
and a privilege changing function.
For each such function a CWE warning is generated.