sab24

Results 28 comments of sab24

I choose option 1 and will report back in some time.

Some compilation issues with llvm 10.0, is it not supported yet? ``` (6): note: previous definition is here In file included from :368: (10): warning : '_CRT_SECURE_NO_DEPRECATE' macro redefined [-Wmacro-redefined]...

changed the code to: ``` alloc_size = llvm::TypeSize(std::max(alloc_size, addr_size), true); ``` Where true stands for scalable. Seems to compile.

same error when recompiling with llvm 10.0 ``` (READ_OP (DWORD_PTR (ADD (REG_32 SS_BASE) (REG_32 EBP) (SIGNED_IMM_32 -0x8))))) E0417 11:25:21.563992 4364 Instruction.cpp:130] (X86 b05a6e 4 (BYTES 0f 6f 14 0f) MOVQ_MMXq_MEMq_0F6F...

It works now. Only still having problems with compiling. I have ``` remill-clang-10.0: error: linker command failed with exit code 1561 (use -v to see invocation) ```

Somehow the mcsema_rt64-5.0.lib and mcsema_rt32-5.0.lib 's are not built. remill/tools/mcsema/CMakeLists.txt:184 has ``` if("${CMAKE_HOST_SYSTEM_PROCESSOR}" STREQUAL "x86_64" AND MCSEMA_ENABLE_RUNTIME) ``` but the system on windows has AMD64. Uncommenting this and enabling building...

I get ``` error LNK2001: unresolved external symbol ___mcsema_attach_call ``` but the mcsema libraries don't compile on windows? Also this file has not been changed for three years, is there...

Also do I need to link to remill? It is compiled to 64 bit but this application I am trying to recompile uses 32bit ``` Creating library f.lib and object...

Recompiled everything to 32 bit, makes no difference. It turns out that in the remill.lib there are no definitions to the symbols: ``` | |||| || 0x00001ca6 .string "__remill_atomic_begin" ;...

@pgoodman I tried to add the code to remill/remill/BC/IntrinsicTable.cpp: ``` namespace remill { namespace { // Find a specific function. static llvm::Function *FindIntrinsic(llvm::Module *module, const char *name) { auto function...