mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01: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