Merge pull request #2063 from jbj/dataflow-ref-parameter

C++: Data flow through reference parameters
This commit is contained in:
Robert Marsh
2019-10-22 09:40:15 -07:00
committed by GitHub
14 changed files with 305 additions and 18 deletions

View File

@@ -32,6 +32,7 @@ The following changes in version 1.23 affect C/C++ analysis in all applications.
picture of the partial flow paths from a given source. The feature is
disabled by default and can be enabled for individual configurations by
overriding `int explorationLimit()`.
* The data-flow library now supports flow out of C++ reference parameters.
* The data-flow library now allows flow through the address-of operator (`&`).
* The `DataFlow::DefinitionByReferenceNode` class now considers `f(x)` to be a
definition of `x` when `x` is a variable of pointer type. It no longer