C++: Support '__builtin_alloca'.

This commit is contained in:
Geoffrey White
2019-12-16 14:19:33 +00:00
parent acca39bfc7
commit 25dc2ad273

View File

@@ -81,6 +81,9 @@ class MallocAllocationFunction extends AllocationFunction {
// alloca(size)
name = "alloca" and sizeArg = 0
or
// __builtin_alloca(size)
name = "__builtin_alloca" and sizeArg = 0
or
// kmem_alloc(size, flags)
name = "kmem_alloc" and sizeArg = 0
or