diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2023-10-30 14:54:46 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2024-02-08 13:17:19 +0000 |
commit | 01af1ca33400a075a953050ce80985eea47ee2b2 (patch) | |
tree | 1fc3e80894170838dad39572263f9435bd797eb8 /lib/Core | |
parent | 157a0c5502134c34e4edc2320566065e67115a35 (diff) | |
download | klee-01af1ca33400a075a953050ce80985eea47ee2b2.tar.gz |
Add support to `aligned_alloc` generated by LLVM
Handle like `memalign` for now.
Diffstat (limited to 'lib/Core')
-rw-r--r-- | lib/Core/SpecialFunctionHandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/SpecialFunctionHandler.cpp b/lib/Core/SpecialFunctionHandler.cpp index 4589471c..b0c28fbc 100644 --- a/lib/Core/SpecialFunctionHandler.cpp +++ b/lib/Core/SpecialFunctionHandler.cpp @@ -87,6 +87,7 @@ static constexpr std::array handlerInfo = { addDNR("klee_abort", handleAbort), addDNR("klee_silent_exit", handleSilentExit), addDNR("klee_report_error", handleReportError), + add("aligned_alloc", handleMemalign, true), add("calloc", handleCalloc, true), add("free", handleFree, false), add("klee_assume", handleAssume, false), |