Fix CHC cex order

This commit is contained in:
Leonardo Alt
2021-03-11 10:36:40 +01:00
parent ec1c89d798
commit 6fd76e830d
19 changed files with 64 additions and 38 deletions
@@ -19,17 +19,17 @@ contract C {
function e(bytes32 h0, uint8 v0, bytes32 r0, bytes32 s0, bytes32 h1, uint8 v1, bytes32 r1, bytes32 s1) public pure {
address a0 = ecrecover(h0, v0, r0, s0);
address a1 = ecrecover(h1, v1, r1, s1);
assert(a0 == a1);
// Disabled because of Spacer nondeterminism.
//assert(a0 == a1);
}
}
// ====
// SMTIgnoreCex: yes
// ----
// Warning 2072: (589-599): Unused local variable.
// Warning 2072: (631-641): Unused local variable.
// Warning 1218: (168-184): CHC: Error trying to invoke SMT solver.
// Warning 6328: (168-184): CHC: Assertion violation might happen here.
// Warning 6328: (305-321): CHC: Assertion violation happens here.
// Warning 1218: (448-464): CHC: Error trying to invoke SMT solver.
// Warning 6328: (448-464): CHC: Assertion violation might happen here.
// Warning 6328: (673-689): CHC: Assertion violation happens here.
// Warning 6328: (448-464): CHC: Assertion violation happens here.
// Warning 4661: (168-184): BMC: Assertion violation happens here.
// Warning 4661: (448-464): BMC: Assertion violation happens here.
@@ -11,4 +11,4 @@ contract C {
}
}
// ----
// Warning 6328: (229-243): CHC: Assertion violation happens here.\nCounterexample:\n\n\nTransaction trace:\nC.constructor()\nC.f(data)\n C.fi(data, 7719) -- internal call
// Warning 6328: (229-243): CHC: Assertion violation happens here.\nCounterexample:\n\n\nTransaction trace:\nC.constructor()\nC.f(data)\n C.fi(data, 39) -- internal call