From df7e433600f5f761cd4000060fdceb16e38fee69 Mon Sep 17 00:00:00 2001 From: Lukas Korencik Date: Thu, 14 Apr 2022 17:49:25 +0200 Subject: [PATCH] bin:lift: Reflect change in IntrinsicTable ctors. --- bin/lift/Lift.cpp | 2 +- include/remill/BC/IntrinsicTable.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/lift/Lift.cpp b/bin/lift/Lift.cpp index b2f8fc5f..335d5d6e 100644 --- a/bin/lift/Lift.cpp +++ b/bin/lift/Lift.cpp @@ -264,7 +264,7 @@ int main(int argc, char *argv[]) { Memory memory = UnhexlifyInputBytes(addr_mask); SimpleTraceManager manager(memory); - remill::IntrinsicTable intrinsics(module); + remill::IntrinsicTable intrinsics(module.get()); remill::InstructionLifter inst_lifter(arch, intrinsics); remill::TraceLifter trace_lifter(inst_lifter, manager); diff --git a/include/remill/BC/IntrinsicTable.h b/include/remill/BC/IntrinsicTable.h index 6ffbd2e3..d31fd777 100644 --- a/include/remill/BC/IntrinsicTable.h +++ b/include/remill/BC/IntrinsicTable.h @@ -31,9 +31,6 @@ namespace remill { class IntrinsicTable { public: - inline explicit IntrinsicTable(const std::unique_ptr &module) - : IntrinsicTable(module.get()) {} - explicit IntrinsicTable(llvm::Module *module); llvm::Function *const error;