mirror of
https://github.com/github/codeql.git
synced 2026-01-03 17:50:19 +01:00
Add a step from that `CfgNode` to the corresponding `EssaNode`. The intended effect is seen in `ImpliesDataflow.expected`. The efeect seen in other `.expected`-files is that parameter nodes change type, that the extra steps are seen, and that flow from `EssaVar`s is mirrored in flow from `CfgNode`s. There is one surprise, which is the `.0` node in `coverage/localFlow.expected`.
Dataflow, points-to, call-graph and type-inference tests.
Since dataflow, points-to, call-graph and type-inference are all interlinked it makes sense to test them together.
The test code.
The test code is all under the code/ subdirectory and all test files are named \w_name, supporting
files do have an underscore as their second character.
This allows tests to be applied to a subset of the test data and test/data combinations to be turned on/off easily for debugging.
Be aware that here are two __init__.py, so the results are interleaved.