mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Update CompilerRemovalOfCodeToClearBuffers.ql
This commit is contained in:
@@ -29,7 +29,7 @@ class CompilerRemovaMemset extends FunctionCall {
|
||||
}
|
||||
|
||||
predicate isExistsAllocForThisVariable() {
|
||||
exists(FunctionCall alloc, Variable v |
|
||||
exists(AllocationExpr alloc, Variable v |
|
||||
alloc = v.getAnAssignedValue() and
|
||||
this.getArgument(0) = v.getAnAccess() and
|
||||
alloc.getASuccessor+() = this
|
||||
|
||||
Reference in New Issue
Block a user