Bug #2705
openBLAST knows something about huge integer numbers?
0%
Description
It turns out that BLAST incorrectly processes very huge integer number in comparison with CPAchecker. An example is in attachment. As usual there is also a real driver where the given error was encountered (it causes false positive).
Files
Updated by Evgeny Novikov over 12 years ago
Pavel Shved wrote:
Did you try using -sv-comp flag?
It didn't help.
Updated by Pavel Shved over 12 years ago
- Status changed from New to Open
- Priority changed from Normal to Low
OCaml doesn't support unsigned 64-bit integers. The maximum value of an integer constant is 2⁶³. See the documentation. In this case, the number is greater than 2⁶³, so BLAST represented it as a signed integer (-4095).
CIL, however, supports such values via its own custom arbitrarily long integers. If the code is processed bu CIL, it prints if (a > 0xfffffffffffff001UL)
(maybe it's because it doesn't try to convert it to the OCaml's native integers).