Update data-flow note to match that for C/C++

This commit is contained in:
Felicity Chapman
2019-11-26 18:07:51 +00:00
parent 95bceae915
commit 403565bb06

View File

@@ -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()`.