Python: Allow path from non-sourceNodes

This is against the philosophy, but we
have still restricted attributes.
We use this PR to test performance.
This commit is contained in:
Rasmus Lerchedahl Petersen
2020-12-15 15:35:16 +01:00
parent e64af59667
commit 638fcab12d

View File

@@ -51,7 +51,7 @@ module StepSummary {
* heap and/or inter-procedural step from `nodeFrom` to `nodeTo`.
*/
cached
predicate step(LocalSourceNode nodeFrom, Node nodeTo, StepSummary summary) {
predicate step(Node nodeFrom, Node nodeTo, StepSummary summary) {
exists(Node mid | typePreservingStep*(nodeFrom, mid) and smallstep(mid, nodeTo, summary))
}