Skip to content

Commit 4f66608

Browse files
author
Felicity Chapman
committed
Update shared data-flow note for feedback
1 parent 87fca1f commit 4f66608

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

change-notes/1.23/analysis-cpp.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ The following changes in version 1.23 affect C/C++ analysis in all applications.
3232
`semmle.code.cpp.dataflow.TaintTracking` have had extensive changes:
3333
* Data flow through fields is now more complete and reliable.
3434
* The data-flow library has been extended with a new feature to aid debugging.
35-
If you want to explore the possible flow from a source, replace
36-
`isSink(Node n) { any() }` with the new `Configuration::hasPartialFlow` predicate.
37-
This gives a more complete picture of the partial flow paths from a given source.
35+
Previously, to explore the possible flow from all sources you could specify `isSink(Node n) { any() }` on a configuration.
36+
Now you can use the new `Configuration::hasPartialFlow` predicate,
37+
which gives a more complete picture of the partial flow paths from a given source, including flow that doesn't reach any sink.
3838
The feature is disabled by default and can be enabled for individual configurations by overriding `int explorationLimit()`.
3939
* There is now flow out of C++ reference parameters.
4040
* There is now flow through the address-of operator (`&`).

0 commit comments

Comments
 (0)