Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[move-prover] Report error for unsupported bit operators
This bug fix responds to issue #166 "MVP proves arbitrary postconditions when unsupported operators exist." I STILL DO NOT UNDERSTAND SOME OF THE BEHAVIOR. The fix simply reports the unsupported operator as an error when it is encountered. This is a one line change in bytecode_translator.rs. I added a test case tests/sources/functional/unsupported.move for this problem. NOTE: The previous behavior was that, when the bytecode was encountered, the bytecode_translater emitted a comment saying the operator was not supported, and then an "assert false". When Boogie is run stand-alone, it generates and output.bpl.log file with an error trace. However, the prover doesn't seem to notice this and report it with an error trace. The failure is worse than that because (according to the reported bug), the prover doesn't report errors on incorrect postconditions. So, I think we should understand what's going on here and try to make sure there are not other related bugs that could result in false negatives from unreported errors. Closes: #201
- Loading branch information