lifting-bits / remill

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

Cryptic log error message from Util::MoveConstantIntoModule #464

Open DCNick3 opened 3 years ago

DCNick3 commented 3 years ago

Util::MoveConstantIntoModule outputs a lot of errors like these:

E1210 19:20:25.765763 1447040 Util.cpp:818] Not moving: i8 1
E1210 19:20:25.765771 1447040 Util.cpp:818] Not moving: i8 0
E1210 19:20:25.765779 1447040 Util.cpp:818] Not moving: i8 0
E1210 19:20:25.765787 1447040 Util.cpp:818] Not moving: i8 0
E1210 19:20:25.765796 1447040 Util.cpp:818] Not moving: i32 4
E1210 19:20:25.765806 1447040 Util.cpp:818] Not moving: i32 8

It seems that the log code was added here. I'm not sure why is it there, but it seems to warn about the case where the move does not actually happen. Is there some danger in ignoring that?