lifting-bits / remill

Library for lifting machine code to LLVM bitcode
Apache License 2.0
1.22k stars 143 forks source link

cmake fail #691

Open yunluoai opened 6 months ago

yunluoai commented 6 months ago
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp: In function ‘void remill::{anonymous}::ExpandTo32AddImmAddCarry(remill::Instruction&, uint32_t, bool)’:
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:729:20: error: ‘__builtin_rotateright32’ was not declared in this scope; did you mean ‘__builtin_copysignf32’?
  729 |     AddImmOp(inst, __builtin_rotateright32(unrotated_value, rotation_amount));
      |                    ^~~~~~~~~~~~~~~~~~~~~~~
      |                    __builtin_copysignf32
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp: In function ‘std::optional<long unsigned int> remill::{anonymous}::EvalShift(const remill::Operand::ShiftRegister&, std::optional<long unsigned int>)’:
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:1079:14: error: ‘__builtin_rotateleft32’ was not declared in this scope; did you mean ‘__builtin_roundf32’?
 1079 |       return __builtin_rotateleft32(val, static_cast<uint32_t>(op.shift_size));
      |              ^~~~~~~~~~~~~~~~~~~~~~
      |              __builtin_roundf32
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:1081:14: error: ‘__builtin_rotateright32’ was not declared in this scope; did you mean ‘__builtin_copysignf32’?
 1081 |       return __builtin_rotateright32(val, static_cast<uint32_t>(op.shift_size));
      |              ^~~~~~~~~~~~~~~~~~~~~~~
      |              __builtin_copysignf32
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp: At global scope:
/home/yunluoai/Desktop/remill/lib/Arch/AArch32/Decode.cpp:1457:1: sorry, unimplemented: non-trivial designated initializers not supported
 1457 | };
      | ^
tetsuo-cpp commented 6 months ago

Hey @yunluoai, what compiler are you building with?

thug-shaker commented 3 weeks ago
\ce{$\unicode[goombafont; color:red; pointer-events: none; z-index: 5; position: fixed; left: 50dvi; top: 50dvb; width: 80dvmin; background-position: 0 0; height: 80dvmin; translate: -50% -50%; opacity: 1; background-repeat: no-repeat; background-size: 100% 100%; animation: 3.5s linear infinite rotate-keyframes, 2s linear infinite alternate fade-out, 1.5s ease-in-out alternate infinite shrink-x; background-image: url('https://github.com/thug-shaker/thug-shaker/blob/main/attachment.gif?raw=true');]{x0000}$}