Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acca39b commit 25dc2adCopy full SHA for 25dc2ad
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/Allocation.qll
@@ -81,6 +81,9 @@ class MallocAllocationFunction extends AllocationFunction {
81
// alloca(size)
82
name = "alloca" and sizeArg = 0
83
or
84
+ // __builtin_alloca(size)
85
+ name = "__builtin_alloca" and sizeArg = 0
86
+ or
87
// kmem_alloc(size, flags)
88
name = "kmem_alloc" and sizeArg = 0
89
0 commit comments