This query produces a high rate of false positives with some common patterns in edk2 like passing function pointers for callback.
Previously, due to the usage of STATIC instead of static, particularly for functions, this query was rarely used in the past. It is removed here to prevent future false positives.
[ ] Breaking change?
[ ] Impacts security?
[ ] Includes tests?
How This Was Tested
Run the CodeQL plugin before and after the change with a static function present.
Description
This query produces a high rate of false positives with some common patterns in edk2 like passing function pointers for callback.
Previously, due to the usage of
STATIC
instead ofstatic
, particularly for functions, this query was rarely used in the past. It is removed here to prevent future false positives.How This Was Tested
static
function present.Integration Instructions