lifting-bits / remill

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

tests: Clang complains about bitcode with typeless pointers generated by Remill #604

Closed tetsuo-cpp closed 2 years ago

tetsuo-cpp commented 2 years ago

As of #596, CI is broken. The issue is that part of our testing involves feeding some Remill-generated IR into Clang. Unfortunately, Clang 14 doesn't support opaque pointers yet (15 will use opaque pointers by default and have a -no-opaque-pointers flag) and currently errors on Remill's bitcode. I think the fix will involve using llc to convert the bitcode to assembly since there's no reason we need to use Clang.