Function cwe_checker_lib::checkers::cwe_467::check_cwe
source · pub fn check_cwe(
analysis_results: &AnalysisResults<'_>,
cwe_params: &Value
) -> (Vec<LogMessage>, Vec<CweWarning>)
Expand description
Execute the CWE check.
For each call to an extern symbol from the symbol list configured in the configuration file
we check whether a parameter has value sizeof(void*)
,
which may indicate an instance of CWE 467.