mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Update data-flow note to match that for C/C++
This commit is contained in:
@@ -22,7 +22,7 @@ The following changes in version 1.23 affect Java analysis in all applications.
|
||||
## Changes to libraries
|
||||
|
||||
The data-flow library has been extended with a new feature to aid debugging.
|
||||
If you want to explore the possible flow from a source, replace
|
||||
`isSink(Node n) { any() }` with the new `Configuration::hasPartialFlow` predicate.
|
||||
This gives a more complete picture of the partial flow paths from a given source.
|
||||
Previously, to explore the possible flow from all sources you could specify `isSink(Node n) { any() }` on a configuration.
|
||||
Now you can use the new `Configuration::hasPartialFlow` predicate,
|
||||
which gives a more complete picture of the partial flow paths from a given source, including flow that doesn't reach any sink.
|
||||
The feature is disabled by default and can be enabled for individual configurations by overriding `int explorationLimit()`.
|
||||
|
||||
Reference in New Issue
Block a user