fix mistake in argumentPassing. The type-tracking was not required to be in an end state

This commit is contained in:
Erik Krogh Kristensen
2022-03-04 09:49:42 +01:00
parent 5130929358
commit 934e06ca3b

View File

@@ -658,7 +658,7 @@ module API {
*/
private predicate argumentPassing(TApiNode base, Label::ApiLabel lbl, DataFlow::Node arg) {
exists(DataFlow::Node use, DataFlow::LocalSourceNode pred |
use(base, use) and pred = trackUseNode(use, _)
use(base, use) and pred = trackUseNode(use)
|
exists(int i |
lbl = Label::parameter(i) and