mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
docs: rename ql-training-rst > ql-training
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import cpp
|
||||
|
||||
from FunctionCall alloc, FunctionCall free, LocalScopeVariable v
|
||||
where allocationCall(alloc)
|
||||
and alloc = v.getAnAssignedValue()
|
||||
and freeCall(free, v.getAnAccess())
|
||||
and alloc.getASuccessor+() = free
|
||||
select alloc, free
|
||||
Reference in New Issue
Block a user