File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ int main(int argc, char *argv[]) {
240240 // Make sure `--address` and `--entry_address` are in-bounds for the target
241241 // architecture's address size.
242242 llvm::LLVMContext context;
243+ context.enableOpaquePointers ();
243244 auto arch = remill::Arch::Get (context, FLAGS_os, FLAGS_arch);
244245 const uint64_t addr_mask = ~0ULL >> (64UL - arch->address_size );
245246 if (FLAGS_address != (FLAGS_address & addr_mask)) {
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ extern "C" int main(int argc, char *argv[]) {
123123 }
124124
125125 llvm::LLVMContext context;
126+ context.enableOpaquePointers ();
126127 auto os_name = remill::GetOSName (REMILL_OS);
127128 auto arch_name = remill::GetArchName (FLAGS_arch);
128129 auto arch = remill::Arch::Build (&context, os_name, arch_name);
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ extern "C" int main(int argc, char *argv[]) {
123123 }
124124
125125 llvm::LLVMContext context;
126+ context.enableOpaquePointers ();
126127 auto os_name = remill::GetOSName (REMILL_OS);
127128 auto arch_name = remill::GetArchName (FLAGS_arch);
128129 auto arch = remill::Arch::Build (&context, os_name, arch_name);
You can’t perform that action at this time.
0 commit comments