mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Minor text updates
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
# Improvements to Java analysis
|
# Improvements to Java analysis
|
||||||
|
|
||||||
## New queries
|
|
||||||
|
|
||||||
| **Query** | **Tags** | **Purpose** |
|
|
||||||
|-----------------------------|-----------|--------------------------------------------------------------------|
|
|
||||||
|
|
||||||
## Changes to existing queries
|
## Changes to existing queries
|
||||||
|
|
||||||
| **Query** | **Expected impact** | **Change** |
|
| **Query** | **Expected impact** | **Change** |
|
||||||
@@ -19,14 +14,13 @@
|
|||||||
`checkArgument` and `checkState` methods in
|
`checkArgument` and `checkState` methods in
|
||||||
`com.google.common.base.Preconditions`, the `isTrue` and `validState` methods
|
`com.google.common.base.Preconditions`, the `isTrue` and `validState` methods
|
||||||
in `org.apache.commons.lang3.Validate`, as well as any similar custom
|
in `org.apache.commons.lang3.Validate`, as well as any similar custom
|
||||||
methods. This means that more guards are recognized yielding precision
|
methods. This means that more guards are recognized which improves the precision of a number of queries including `java/index-out-of-bounds`,
|
||||||
improvements in a number of queries including `java/index-out-of-bounds`,
|
|
||||||
`java/dereferenced-value-may-be-null`, and `java/useless-null-check`.
|
`java/dereferenced-value-may-be-null`, and `java/useless-null-check`.
|
||||||
* The default sanitizer in taint tracking has been made more precise. The
|
* The default sanitizer in taint tracking has been made more precise. The
|
||||||
sanitizer works by looking for guards that inspect tainted strings, and it
|
sanitizer works by looking for guards that inspect tainted strings. It
|
||||||
used to work at the level of individual variables. This has been changed to
|
previously worked at the level of individual variables. Now it
|
||||||
use the `Guards` library, such that only guarded variable accesses are
|
uses the `Guards` library, such that only guarded variable accesses are
|
||||||
sanitized. This may give additional results in the security queries.
|
sanitized. This may give additional results for security queries.
|
||||||
* Spring framework support is enhanced by taking into account additional
|
* Spring framework support now takes into account additional
|
||||||
annotations that indicate remote user input. This affects all security
|
annotations that indicate remote user input. This affects all security
|
||||||
queries, which may yield additional results.
|
queries, which may give additional results.
|
||||||
|
|||||||
Reference in New Issue
Block a user