Create 2024-04-09-reduce-FP.md

This commit is contained in:
codeqlhelper
2024-04-09 02:00:52 +08:00
committed by GitHub
parent af2a7eadc3
commit fc26e148fd

View File

@@ -0,0 +1,6 @@
---
category: majorAnalysis
---
* Reduce false positives of `GlobalUseBeforeInit.ql` and `InconsistentNullnessTesting.ql`.
Many global variables that are initialized at declaration will be reported by `GlobalUseBeforeInit.ql`.
When `checked` is in a macro expansion for handling exceptions, it is very likely for `InconsistentNullnessTesting.ql` to report false positives.