CPP: getAChild() -> getAChild*().

This commit is contained in:
Geoffrey White
2018-11-19 11:46:34 +00:00
parent 01611d4d96
commit 6cdfaeea3c
3 changed files with 11 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ import cpp
from Variable v, LogicalAndExpr andexpr, ArrayExpr access, LTExpr rangecheck
where access.getArrayOffset() = v.getAnAccess()
and andexpr.getLeftOperand().getAChild() = access
and andexpr.getLeftOperand().getAChild*() = access
and andexpr.getRightOperand() = rangecheck
and rangecheck.getLeftOperand() = v.getAnAccess()
and not access.isInMacroExpansion()