mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
CPP: Model 'alloca'.
This commit is contained in:
@@ -77,6 +77,9 @@ class MallocAllocationFunction extends AllocationFunction {
|
||||
or
|
||||
// CoTaskMemAlloc(size)
|
||||
name = "CoTaskMemAlloc" and sizeArg = 0
|
||||
or
|
||||
// alloca(size)
|
||||
name = "alloca" and sizeArg = 0
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user