File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp/models/implementations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ private class MallocAllocationFunction extends AllocationFunction {
2828 "MmAllocateMappingAddress" , // MmAllocateMappingAddress(size, tag)
2929 // --- Windows COM allocation
3030 "CoTaskMemAlloc" , // CoTaskMemAlloc(size)
31- // --- Linux kernel memory allocator
31+ // --- Solaris/BSD kernel memory allocator
3232 "kmem_alloc" , // kmem_alloc(size, flags)
3333 "kmem_zalloc" , // kmem_zalloc(size, flags)
3434 // --- OpenSSL memory allocation
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private class StandardDeallocationFunction extends DeallocationFunction {
3535 "CoTaskMemFree" , "CoTaskMemRealloc" ,
3636 // --- Windows Automation
3737 "SysFreeString" ,
38- // --- Linux kernel memory allocator
38+ // --- Solaris/BSD kernel memory allocator
3939 "kmem_free"
4040 ] ) and
4141 freedArg = 0
You can’t perform that action at this time.
0 commit comments