From 01af1ca33400a075a953050ce80985eea47ee2b2 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 30 Oct 2023 14:54:46 +0000 Subject: Add support to `aligned_alloc` generated by LLVM Handle like `memalign` for now. --- lib/Core/SpecialFunctionHandler.cpp | 1 + 1 file changed, 1 insertion(+) 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), -- cgit 1.4.1