anvill icon indicating copy to clipboard operation
anvill copied to clipboard

Build fails with latest Remill

Open tetsuo-cpp opened this issue 2 years ago • 0 comments

With the latest Remill, I'm seeing compilation failures:

/Users/tetsuo/Code/anvill/lib/Lifters/FunctionLifter.cpp:161:7: error: no matching constructor for initialization of 'remill::InstructionLifter::LifterPtr' (aka 'shared_ptr<remill::InstructionLifter>')
      inst_lifter(options.arch->DefaultLifter(intrinsics)),
      ^           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/c++/v1/__memory/shared_ptr.h:441:23: note: candidate constructor not viable: no known conversion from 'OperandLifter::OpLifterPtr' (aka 'shared_ptr<remill::OperandLifter>') to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument
    _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;

I think Anvill requires some changes to work with https://github.com/lifting-bits/remill/pull/615.

tetsuo-cpp avatar Aug 15 '22 14:08 tetsuo-cpp