Skip to content

Commit 3073c1c

Browse files
authored
Merge pull request #21725 from github/jeongsoolee09/add-aligned-alloc-model
Add models of various `aligned_alloc`s
2 parents 5342cc7 + abec00c commit 3073c1c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

cpp/ql/lib/ext/allocation/Std.allocation.model.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ extensions:
1212
- ["", "", False, "_malloca", "0", "", "", False]
1313
- ["", "", False, "calloc", "1", "0", "", True]
1414
- ["std", "", False, "calloc", "1", "0", "", True]
15-
- ["bsl", "", False, "calloc", "1", "0", "", True]
15+
- ["bsl", "", False, "calloc", "1", "0", "", True]
16+
- ["", "", False, "aligned_alloc", "1", "", "", True]
17+
- ["std", "", False, "aligned_alloc", "1", "", "", True]
18+
- ["bsl", "", False, "aligned_alloc", "1", "", "", True]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* Added `AllocationFunction` models for `aligned_alloc`, `std::aligned_alloc`, and `bsl::aligned_alloc`.

0 commit comments

Comments
 (0)