pub fn check_cwe(
    analysis_results: &AnalysisResults<'_>,
    cwe_params: &Value
) -> (Vec<LogMessage>, Vec<CweWarning>)
Expand description

Run the CWE check.

We check whether the return values of symbols configurable in the config file are being checked for NULL pointers before any memory access (and thus potential NULL pointer dereferences) through these values can happen.