From 90ca342bb9605b4a13d5d52b5618041a1d813fb2 Mon Sep 17 00:00:00 2001 From: 2over12 Date: Tue, 26 Sep 2023 12:30:39 -0400 Subject: [PATCH] fix remill lift --- bin/lift/Lift.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lift/Lift.cpp b/bin/lift/Lift.cpp index 967f51a1b..3cc0afbca 100644 --- a/bin/lift/Lift.cpp +++ b/bin/lift/Lift.cpp @@ -352,7 +352,7 @@ int main(int argc, char *argv[]) { arg_types.push_back(llvm::PointerType::get(context, 0)); } - const auto state_type = llvm::PointerType::get(context, 0); + const auto state_type = arch->StateStructType(); const auto func_type = llvm::FunctionType::get(mem_ptr_type, arg_types, false); const auto func = llvm::Function::Create(