libLISA's automatically-inferred semantics can be used to verify the correctness of other implementations. In our 2024 paper, we verified the correctness of Dasgupta et al.'s semantics implemented in the K framework. In the table below, you will find an overview of all bugs that we have found.
| Tool | Bug description | ||
| Dasgupta et al. | Incorrect bit offset for BT/BTS/BTR/BTC with memory operand Incorrect bit offset for | ||
| Dasgupta et al. | CMPS performs comparison incorrectly
| ||
| Dasgupta et al. | OF incorrect for RCLB/RCRB OF incorrect for RCLB/RCRBThe overflow flag (OF) of RCLB/RCRB is undefined when the masked rotate count is not 0 or 1. However, Dasgupta et al. specifies the OF as undefined when the masked rotate count modulo the operand size + 1 is not 0 or 1. | ||
| Dasgupta et al. | vmpsadbw_xmm_xmm_m128_imm8 writes to wrong destination vmpsadbw_xmm_xmm_m128_imm8 writes to wrong destinationThe | ||
| Dasgupta et al. | Crash when MULX is executed with identical destination registers Crash when MULX is executed with identical destination registersThe | ||
| Dasgupta et al. | XCHGL is disassembled incorrectly
|