You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RESULTS:
Check 1: ceilf.assertion.1
- Status: FAILURE
- Description: "assertion false"
- Location: <builtin-library-ceilf> in function ceilf
Check 2: <T as kani::Arbitrary>::any.assertion.1
- Status: SUCCESS
- Description: "resume instruction"
- Location: ~/kani/library/kani/src/arbitrary.rs:17:5 in function <T as kani::Arbitrary>::any
SUMMARY:
** 1 of 2 failed
Failed Checks: assertion false
VERIFICATION:- FAILED
It's still not clear what intrinsics are affected, but at least rounding intrinsics (ceil, floor, round) are not working. This is probably due because the irep expressions we generate for them are not exposed in CBMC, or because they are not the right ones.
The problem appears to be in how goto-instrument invokes the C parser vs cbmc as I'm seeing the following error when running the individual steps:
Reading GOTO program from 'ceil.out.for-main'
Adding CPROVER library (x86_64)
file /usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h line 21: syntax error before '__value'
Writing GOTO program to 'ceil.out.for-main.with-library'
@tautschnig can you check the "fixme" test case in #1248 ? fmaxf continues to behave as if it was missing, but fmax and fminf for example aren't. I've checked and we don't do anything different for fmaxf, so my guess is that CBMC is failing to pick it up for some reason.
Activity
tautschnig commentedon Apr 8, 2022
The problem appears to be in how
goto-instrumentinvokes the C parser vscbmcas I'm seeing the following error when running the individual steps:I'll try to figure out what is going on here.
tautschnig commentedon Apr 8, 2022
diffblue/cbmc#6789 fixes the problem.
tautschnig commentedon May 17, 2022
The CBMC PR is now merged, and will be part of the next release (due 2022-05-26).
adpaco commentedon Jun 2, 2022
@tautschnig can you check the "fixme" test case in #1248 ?
fmaxfcontinues to behave as if it was missing, butfmaxandfminffor example aren't. I've checked and we don't do anything different forfmaxf, so my guess is that CBMC is failing to pick it up for some reason.tautschnig commentedon Jun 3, 2022
@adpaco-aws With apologies for this weird bug: diffblue/cbmc#6904 now fixes the issue.
adpaco commentedon Jun 3, 2022
Thanks, @tautschnig !