Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crux-mir: Support nightly-2023-01-23 #1096

Merged
merged 114 commits into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
73df4f6
Normalize naming and organization of rust crates
m10f Mar 2, 2023
b121efe
WIP mir-json
m10f Mar 11, 2023
b4f6235
[WIP] more bugfixes
m10f Mar 16, 2023
82c3cd0
Update `mir-json` submodule
m10f Mar 16, 2023
26d1dc5
re-add missing libs to linker and libs dir
m10f Mar 22, 2023
e4e3a65
build.sh: Set STD_ENV_ARCH
RyanGlScott Mar 22, 2023
1cc32ba
Add `test_output.log`
m10f Mar 22, 2023
e208e98
Remove unneeded RustcRenderedConst newtype
RyanGlScott Apr 3, 2023
b3e74d1
initFnState: Remove unused argument
RyanGlScott Apr 3, 2023
0df0660
genFn/transDefine: Replace unused patterns with wildcards
RyanGlScott Apr 4, 2023
14ce2da
Replace currentFn with a more general FnTransContext
RyanGlScott Apr 4, 2023
6f97467
Translate statics with constant initializers properly
RyanGlScott Apr 4, 2023
cc8d3f2
Add custom op for ctpop
RyanGlScott Apr 5, 2023
0eacf40
lib: Replace RawVec's allocator
RyanGlScott Apr 14, 2023
fa7292a
Translate more types of ConstArrays
RyanGlScott May 2, 2023
370cacc
Update mir-json submodule
RyanGlScott May 2, 2023
6b4370f
patch `core::fmt`
m10f May 2, 2023
8c590e4
crux-mir: Note fmt reimplementation in lib/Patches.md
RyanGlScott May 2, 2023
8a680c4
Mir.TransCustom: Use {impl} consistently
RyanGlScott May 2, 2023
0653a31
lib/crucible: Don't loop infinitely in zeroed()
RyanGlScott May 2, 2023
592b2a1
crux-mir: Regenerate test_output.log
RyanGlScott May 2, 2023
c1f8060
crucible-mir: Translate all ConstTuples, not just unit tuples
RyanGlScott May 2, 2023
0bba133
crucible-mir: Translate constant tuples
RyanGlScott May 3, 2023
b639790
crucible-mir: Add seqcst variants of some atomic intrinsics
RyanGlScott May 3, 2023
07add62
crucible-mir: Add some more {extern}s to custom ops
RyanGlScott May 3, 2023
b57531c
Regenerate test_output.log
RyanGlScott May 4, 2023
6aebf2d
Reapply "implement HashMap in terms of Vec"
RyanGlScott May 4, 2023
70e1387
Implement ptr::invalid/invalid_mut in terms of casts
RyanGlScott May 9, 2023
93c8031
Reapply "Avoid pointer arithmetic in slice iterators"
RyanGlScott May 9, 2023
e7415d0
Stub out ThreadLocalRef
RyanGlScott May 4, 2023
c5b8f25
Permit non-isize-typed enum discriminants
RyanGlScott May 9, 2023
a84dc47
crucible-mir: Infer zero-sized fields in enum variants
RyanGlScott May 10, 2023
2995603
update `mir-json` submodule
m10f May 10, 2023
0f293cf
Add missing pretty-printer case for ThreadLocalRef
RyanGlScott May 11, 2023
621ffc6
Translate slice constants
RyanGlScott May 16, 2023
0f52c5d
Reapply implement str::as_bytes via crucible_identity_transmute
RyanGlScott May 16, 2023
54f7db6
Compute lengths of &str constants properly
RyanGlScott May 17, 2023
0b5105b
Tighten up treatment of atomic intrinsics
RyanGlScott May 17, 2023
b54a15e
boxed.rs: Use crucible's allocator
RyanGlScott May 17, 2023
26de044
lib/Patches.md: Document "boxed.rs: Use crucible's allocator"
RyanGlScott May 17, 2023
7274762
Don't deallocate in box_free and drop
RyanGlScott May 17, 2023
e59402c
Make {sub,mul}_with_overflow use {extern}
RyanGlScott May 18, 2023
b9fec04
Reapply "reimplement from_{le,be}_bytes"
RyanGlScott May 18, 2023
7db42e7
Reapply "reimplement to_{le,be}_bytes"
RyanGlScott May 18, 2023
7b2f924
Use {extern} in transmute custom op
RyanGlScott May 18, 2023
c2aa083
raw_vec.rs: Make sure to always set capacity
RyanGlScott May 18, 2023
0043537
Expunge uses of `rustc_box` and the `box` keyword
RyanGlScott May 18, 2023
a7988e8
Update test_output.log
RyanGlScott May 18, 2023
76c5d19
crux-mir: Repair some test cases with &dyn
RyanGlScott May 18, 2023
098d341
fn_dyn.rs: Use &dyn
RyanGlScott May 18, 2023
ea56c95
crux-mir: Repair checked_* test cases
RyanGlScott May 18, 2023
ea9066b
conditional.rs: Modernize crux::test usage
RyanGlScott May 18, 2023
643ce40
Remove normDefId, compare against ExplodedDefIds
RyanGlScott May 22, 2023
5d35c27
crux-mir: Accept new golden output for some symbolic tests
RyanGlScott May 23, 2023
a29b2ff
crux-mir: Update test_output.log
RyanGlScott May 23, 2023
d7a4776
crux-mir: Override ctlz properly
RyanGlScott May 23, 2023
0be2b4a
build.sh: Use --remap-path-prefix
RyanGlScott May 24, 2023
b7a30ef
crux-mir: Update test_output.log
RyanGlScott May 24, 2023
917fb76
Handle closure constants properly
RyanGlScott May 24, 2023
141803b
Reapply "implement allocate_zeroed to fix vec![0; len]"
RyanGlScott May 24, 2023
b153e90
crucible-mir: Handle constant function pointers
RyanGlScott May 25, 2023
5df73b3
Reapply "reenable old override for slice::len"
RyanGlScott May 25, 2023
8d99d39
crucible-mir: Add sub_ptr custom ops
RyanGlScott May 25, 2023
6308cc8
Remove invalid inline pragmas
RyanGlScott May 25, 2023
22e1e07
crux-mir: Override const and mut slice len as well
RyanGlScott May 26, 2023
2272bc3
Reapply "update &[T] -> &[T; N] TryFrom impl"
RyanGlScott May 26, 2023
e629734
Disable `IsRawEqComparable`-based `SpecArrayEq` instances
RyanGlScott May 26, 2023
6dde646
Reapply "disable bytewise equality comparisons for [T]"
RyanGlScott May 26, 2023
8db861e
crucible-mir: Compute discriminant for initial enum values properly
RyanGlScott May 26, 2023
087ec43
crux-mir-test: Update symbolic golden test output
RyanGlScott May 26, 2023
e9dac28
Update test_output.log
RyanGlScott May 26, 2023
faef7f1
Use crucible_null_hook to implement null/null_mut
RyanGlScott May 30, 2023
8a599bc
crux-mir-test: Accept new coverage output
RyanGlScott May 31, 2023
d6ab13a
crucible-mir: Override clone/clone_from properly
RyanGlScott May 31, 2023
29f737d
Implement Demand using PhantomData instead of a DST
RyanGlScott Jun 1, 2023
b703544
crux-mir: Re-implement timing
RyanGlScott Jun 1, 2023
9e34725
crucible-mir: Translate ThreadLocalRefs properly
RyanGlScott Jun 1, 2023
550bb9c
Replace sys::{condvar,mutex,rwlock} with Crux-specific implementations
RyanGlScott Jun 1, 2023
76784e1
crux-mir-test: Update golden output for symbolic tests
RyanGlScott Jun 1, 2023
74c7e1b
Update test_output.log
RyanGlScott Jun 1, 2023
519f321
crux-mir-test: Sanitize disambiguators in golden test output
RyanGlScott Jun 2, 2023
afbf939
crux-mir-test: Update golden test output
RyanGlScott Jun 2, 2023
65e75fe
Regenerate test_output.log
RyanGlScott Jun 2, 2023
d29bb61
Upgrade to byteorder v1.4.3
RyanGlScott Jun 2, 2023
2236a8e
Use Crucible-friendly implementations of byteorder functions
RyanGlScott Jun 2, 2023
e526e9a
Bump mir-json submodule
RyanGlScott Jun 2, 2023
d8853f0
Accept new golden output for byteorder tests
RyanGlScott Jun 2, 2023
2302923
Hackily support `&dyn Trait` references
RyanGlScott Jun 21, 2023
5a11535
Track crate names and their hashes, use it to look up wired-in names
RyanGlScott Jun 21, 2023
2740aac
Update test_output.log
RyanGlScott Jun 21, 2023
370cb61
crux-mir: Include test crate
RyanGlScott Jun 29, 2023
537dfbe
build.sh: Produce a proper sysroot
RyanGlScott Jun 29, 2023
d4f5074
CI: Re-enable macOS build for crux-mir
RyanGlScott Jul 3, 2023
044ad3d
Remove temporary test_output.log file
RyanGlScott Jul 3, 2023
5d4453f
build.sh: Make rlibs a symlink to rlibs_real/.../lib
RyanGlScott Jul 3, 2023
85e59a9
Remove translate_libs.sh
RyanGlScott Jul 3, 2023
a7c2f6d
Make build.sh the new translate_libs.sh
RyanGlScott Jul 3, 2023
4658042
Document inferElidedVariantFields
RyanGlScott Jul 5, 2023
a1c0bbc
report-coverage: Avoid triggering rust-lang/rust#79813 warning
RyanGlScott Jul 5, 2023
352fed4
crux-mir: Add Box stress test
RyanGlScott Jul 5, 2023
ed718aa
CI: Use up-to-date Rust nightly
RyanGlScott Jul 5, 2023
42a3606
crux-mir/lib/Patches.md: Fill in some TODOs
RyanGlScott Jul 5, 2023
ef8fc37
crucible-mir: Parenthesize some equality constraints
RyanGlScott Jul 5, 2023
9ae78ed
crucible-mir: Avoid some failable do-block matches on ST
RyanGlScott Jul 5, 2023
ee39bf0
crucible-mir: More parentheses
RyanGlScott Jul 6, 2023
e0d77af
Use crux::test instead of crux_test
RyanGlScott Jul 7, 2023
c8eb7b6
crucible-mir: Remove some commented-out old code
RyanGlScott Jul 13, 2023
b794aca
crucible-mir: Document reasoning for some evalRval cases
RyanGlScott Jul 13, 2023
8c11bca
crux-mir: Add test case for ConstKind::Unevaluated
RyanGlScott Jul 13, 2023
0afbb96
Properly implement transStatement case for StmtIntrinsic
RyanGlScott Jul 13, 2023
d2ff2cc
crucible-mir: Expunge defaultDisambiguator and anything that uses it
RyanGlScott Jul 13, 2023
331de03
crucible-mir: ShallowInitBox is unsupported for now
RyanGlScott Jul 13, 2023
e8ac077
Bump mir-json submodule
RyanGlScott Jul 13, 2023
0515e64
crux-mir: Use simpler #[crux::test] attribute for symbolic tests
RyanGlScott Jul 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build.sh: Use --remap-path-prefix
This ensures that full paths do not leak into MIR output.
  • Loading branch information
RyanGlScott committed Jul 3, 2023
commit 0be2b4a724eeea52ccc5f2c40a92bd1d57dda6c4
54 changes: 29 additions & 25 deletions crux-mir/build.sh

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions crux-mir/test/symb_eval/alloc/out_of_bounds.good
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
test out_of_bounds/b521303c::crux_test[0]: FAILED
test out_of_bounds/ca0644b7::crux_test[0]: FAILED

failures:

---- out_of_bounds/b521303c::crux_test[0] counterexamples ----
---- out_of_bounds/ca0644b7::crux_test[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/alloc/out_of_bounds.rs:12:9: 12:24: error: in out_of_bounds/b521303c::crux_test[0]
[Crux] test/symb_eval/alloc/out_of_bounds.rs:12:9: 12:24: error: in out_of_bounds/ca0644b7::crux_test[0]
[Crux] vector index out of range: the length is 10 but the index is BV 12
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/alloc/out_of_bounds.rs:12:9: 12:24: error: in out_of_bounds/b521303c::crux_test[0]
[Crux] test/symb_eval/alloc/out_of_bounds.rs:12:9: 12:24: error: in out_of_bounds/ca0644b7::crux_test[0]
[Crux] attempted to read empty mux tree

[Crux] Overall status: Invalid.
8 changes: 4 additions & 4 deletions crux-mir/test/symb_eval/alloc/uninit_read.good
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
test uninit_read/e86da728::crux_test[0]: FAILED
test uninit_read/851ea4ad::crux_test[0]: FAILED

failures:

---- uninit_read/e86da728::crux_test[0] counterexamples ----
---- uninit_read/851ea4ad::crux_test[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/alloc/uninit_read.rs:9:9: 9:23: error: in uninit_read/e86da728::crux_test[0]
[Crux] test/symb_eval/alloc/uninit_read.rs:9:9: 9:23: error: in uninit_read/851ea4ad::crux_test[0]
[Crux] Attempted to read uninitialized vector index
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/alloc/uninit_read.rs:9:9: 9:23: error: in uninit_read/e86da728::crux_test[0]
[Crux] test/symb_eval/alloc/uninit_read.rs:9:9: 9:23: error: in uninit_read/851ea4ad::crux_test[0]
[Crux] attempted to read empty mux tree

[Crux] Overall status: Invalid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/alloc/valid_read.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test valid_read/f9c1ade1::crux_test[0]: returned 45, ok
test valid_read/c82bffb5::crux_test[0]: returned 45, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/alloc/zero_length.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test zero_length/94b92a2d::crux_test[0]: ok
test zero_length/d9fb4927::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/any/conditional.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test conditional/84afefc9::crux_test[0]: ok
test conditional/e22ae149::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/any/downcast.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test downcast/870d31b0::crux_test[0]: returned 1, ok
test downcast/c8ce9e8e::crux_test[0]: returned 1, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/array/basic.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test basic/bfb477c2::crux_test[0]: returned 3, ok
test basic/a10c5e44::crux_test[0]: returned 3, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/array/mux_slice.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test mux_slice/fe5e891b::crux_test[0]: returned Symbolic BV, ok
test mux_slice/df68b584::crux_test[0]: returned Symbolic BV, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/array/slice.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test slice/ea2efd47::crux_test[0]: returned 5, ok
test slice/ab67a8fd::crux_test[0]: returned 5, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/array/slice_mut.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test slice_mut/1361be29::crux_test[0]: returned 5, ok
test slice_mut/cf0e1c49::crux_test[0]: returned 5, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bitvector/arith.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test arith/382b0162::crux_test[0]: ok
test arith/909ad774::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bitvector/cmp.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test cmp/a77f9ebc::crux_test[0]: ok
test cmp/79f545fc::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bitvector/from_to.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test from_to/cecfc226::crux_test[0]: ok
test from_to/81d915d3::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bitvector/leading_zeros.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test leading_zeros/85b8f496::crux_test[0]: ok
test leading_zeros/a181beeb::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bitvector/literals.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test literals/06825ef9::crux_test[0]: ok
test literals/9d6d8593::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bitvector/overflowing_sub.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test overflowing_sub/30a11e11::crux_test[0]: ok
test overflowing_sub/d297e8c6::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bitvector/symbolic.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test symbolic/d4690595::crux_test[0]: ok
test symbolic/8802d91d::crux_test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bytes/extend_bytes.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test extend_bytes/fe7bcbf0::f[0]: ok
test extend_bytes/724ff396::f[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/bytes/new.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test new/dec1e542::f[0]: ok
test new/7e2f4495::f[0]: ok

[Crux] Overall status: Valid.
8 changes: 4 additions & 4 deletions crux-mir/test/symb_eval/bytes/put_overflow.good
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
test put_overflow/3a1fbbbh::f[0]: FAILED
test put_overflow/57f18178::f[0]: FAILED

failures:

---- put_overflow/3a1fbbbh::f[0] counterexamples ----
---- put_overflow/57f18178::f[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] internal: error: in bytes/3a1fbbbh::{{impl}}[4]::put_slice[0]
[Crux] panicking::begin_panic, called from bytes/3a1fbbbh::{{impl}}[4]::put_slice[0]
[Crux] internal: error: in bytes/c14f6c84::{impl#4}[0]::put_slice[0]
[Crux] panicking::panic_fmt, called from bytes/c14f6c84::{impl#4}[0]::put_slice[0]

[Crux] Overall status: Invalid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/concretize/array.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test array/aa48835b::crux_test[0]: returned (1, 2, 3), ok
test array/191383c3::crux_test[0]: returned (1, 2, 3), ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/concretize/assert_ok.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test assert_ok/e60ec1ab::crux_test[0]: returned 1, ok
test assert_ok/e20e387d::crux_test[0]: returned 1, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/concretize/conc.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test conc/58237648::crux_test[0]: returned (1, 0), ok
test conc/86e91a75::crux_test[0]: returned (1, 0), ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/concretize/no_conc.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test no_conc/46b8f4c7::crux_test[0]: returned (Symbolic BV, Symbolic BV), ok
test no_conc/27ee0b55::crux_test[0]: returned (Symbolic BV, Symbolic BV), ok

[Crux] Overall status: Valid.
14 changes: 7 additions & 7 deletions crux-mir/test/symb_eval/crux/early_fail.good
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
test early_fail/3a1fbbbh::fail1[0]: FAILED
test early_fail/3a1fbbbh::fail2[0]: FAILED
test early_fail/233440b0::fail1[0]: FAILED
test early_fail/233440b0::fail2[0]: FAILED

failures:

---- early_fail/3a1fbbbh::fail1[0] counterexamples ----
---- early_fail/233440b0::fail1[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] internal: error: in early_fail/3a1fbbbh::fail1[0]
[Crux] panicking::begin_panic, called from early_fail/3a1fbbbh::fail1[0]
[Crux] internal: error: in early_fail/233440b0::fail1[0]
[Crux] panicking::panic_fmt, called from early_fail/233440b0::fail1[0]

---- early_fail/3a1fbbbh::fail2[0] counterexamples ----
---- early_fail/233440b0::fail2[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crux/early_fail.rs:17:5: 17:30: error: in early_fail/3a1fbbbh::fail2[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crux/early_fail.rs:17:5: 17:29: error: in early_fail/233440b0::fail2[0]
[Crux] MIR assertion at test/symb_eval/crux/early_fail.rs:17:5:
[Crux] x == 0

Expand Down
20 changes: 10 additions & 10 deletions crux-mir/test/symb_eval/crux/fail_return.good
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
test fail_return/3a1fbbbh::fail1[0]: returned Symbolic BV, FAILED
test fail_return/3a1fbbbh::fail2[0]: returned 123, FAILED
test fail_return/10c6efbb::fail1[0]: returned Symbolic BV, FAILED
test fail_return/10c6efbb::fail2[0]: returned 123, FAILED

failures:

---- fail_return/3a1fbbbh::fail1[0] counterexamples ----
---- fail_return/10c6efbb::fail1[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/crux/fail_return.rs:8:22: 8:27: error: in fail_return/3a1fbbbh::fail1[0]
[Crux] attempt to add with overflow
[Crux] test/symb_eval/crux/fail_return.rs:8:22: 8:27: error: in fail_return/10c6efbb::fail1[0]
[Crux] attempt to compute `move _4 + const 1_u8`, which would overflow
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crux/fail_return.rs:8:5: 8:33: error: in fail_return/3a1fbbbh::fail1[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crux/fail_return.rs:8:5: 8:32: error: in fail_return/10c6efbb::fail1[0]
[Crux] MIR assertion at test/symb_eval/crux/fail_return.rs:8:5:
[Crux] x + 1 > x

---- fail_return/3a1fbbbh::fail2[0] counterexamples ----
---- fail_return/10c6efbb::fail2[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/crux/fail_return.rs:15:22: 15:27: error: in fail_return/3a1fbbbh::fail2[0]
[Crux] attempt to add with overflow
[Crux] test/symb_eval/crux/fail_return.rs:15:22: 15:27: error: in fail_return/10c6efbb::fail2[0]
[Crux] attempt to compute `move _5 + const 1_u8`, which would overflow
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crux/fail_return.rs:15:5: 15:33: error: in fail_return/3a1fbbbh::fail2[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crux/fail_return.rs:15:5: 15:32: error: in fail_return/10c6efbb::fail2[0]
[Crux] MIR assertion at test/symb_eval/crux/fail_return.rs:15:5:
[Crux] x + 1 > x

Expand Down
24 changes: 12 additions & 12 deletions crux-mir/test/symb_eval/crux/mixed_fail.good
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
test mixed_fail/3a1fbbbh::fail1[0]: FAILED
test mixed_fail/3a1fbbbh::fail2[0]: FAILED
test mixed_fail/3a1fbbbh::pass1[0]: ok
test mixed_fail/3a1fbbbh::pass2[0]: ok
test mixed_fail/0b094ced::fail1[0]: FAILED
test mixed_fail/0b094ced::fail2[0]: FAILED
test mixed_fail/0b094ced::pass1[0]: ok
test mixed_fail/0b094ced::pass2[0]: ok

failures:

---- mixed_fail/3a1fbbbh::fail1[0] counterexamples ----
---- mixed_fail/0b094ced::fail1[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/crux/mixed_fail.rs:8:22: 8:27: error: in mixed_fail/3a1fbbbh::fail1[0]
[Crux] attempt to add with overflow
[Crux] test/symb_eval/crux/mixed_fail.rs:8:22: 8:27: error: in mixed_fail/0b094ced::fail1[0]
[Crux] attempt to compute `move _5 + const 1_u8`, which would overflow
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crux/mixed_fail.rs:8:5: 8:33: error: in mixed_fail/3a1fbbbh::fail1[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crux/mixed_fail.rs:8:5: 8:32: error: in mixed_fail/0b094ced::fail1[0]
[Crux] MIR assertion at test/symb_eval/crux/mixed_fail.rs:8:5:
[Crux] x + 1 > x

---- mixed_fail/3a1fbbbh::fail2[0] counterexamples ----
---- mixed_fail/0b094ced::fail2[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/crux/mixed_fail.rs:14:22: 14:27: error: in mixed_fail/3a1fbbbh::fail2[0]
[Crux] attempt to add with overflow
[Crux] test/symb_eval/crux/mixed_fail.rs:14:22: 14:27: error: in mixed_fail/0b094ced::fail2[0]
[Crux] attempt to compute `move _5 + const 2_u8`, which would overflow
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crux/mixed_fail.rs:14:5: 14:33: error: in mixed_fail/3a1fbbbh::fail2[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crux/mixed_fail.rs:14:5: 14:32: error: in mixed_fail/0b094ced::fail2[0]
[Crux] MIR assertion at test/symb_eval/crux/mixed_fail.rs:14:5:
[Crux] x + 2 > x

Expand Down
24 changes: 12 additions & 12 deletions crux-mir/test/symb_eval/crux/multi.good
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
test multi/3a1fbbbh::fail1[0]: FAILED
test multi/3a1fbbbh::fail2[0]: FAILED
test multi/3a1fbbbh::fail3[0]: FAILED
test multi/017eda4c::fail1[0]: FAILED
test multi/017eda4c::fail2[0]: FAILED
test multi/017eda4c::fail3[0]: FAILED

failures:

---- multi/3a1fbbbh::fail1[0] counterexamples ----
---- multi/017eda4c::fail1[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/crux/multi.rs:8:22: 8:27: error: in multi/3a1fbbbh::fail1[0]
[Crux] attempt to add with overflow
[Crux] test/symb_eval/crux/multi.rs:8:22: 8:27: error: in multi/017eda4c::fail1[0]
[Crux] attempt to compute `move _5 + const 1_u8`, which would overflow
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crux/multi.rs:8:5: 8:33: error: in multi/3a1fbbbh::fail1[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crux/multi.rs:8:5: 8:32: error: in multi/017eda4c::fail1[0]
[Crux] MIR assertion at test/symb_eval/crux/multi.rs:8:5:
[Crux] x + 1 > x

---- multi/3a1fbbbh::fail2[0] counterexamples ----
---- multi/017eda4c::fail2[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] internal: error: in multi/3a1fbbbh::fail2[0]
[Crux] panicking::begin_panic, called from multi/3a1fbbbh::fail2[0]
[Crux] internal: error: in multi/017eda4c::fail2[0]
[Crux] panicking::panic_fmt, called from multi/017eda4c::fail2[0]

---- multi/3a1fbbbh::fail3[0] counterexamples ----
---- multi/017eda4c::fail3[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crux/multi.rs:20:5: 20:30: error: in multi/3a1fbbbh::assert_zero[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crux/multi.rs:20:5: 20:29: error: in multi/017eda4c::assert_zero[0]
[Crux] MIR assertion at test/symb_eval/crux/multi.rs:20:5:
[Crux] x == 0

Expand Down
14 changes: 7 additions & 7 deletions crux-mir/test/symb_eval/crypto/bytes.good
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
test bytes/3a1fbbbh::f[0]: FAILED
test bytes/0910acd4::f[0]: FAILED

failures:

---- bytes/3a1fbbbh::f[0] counterexamples ----
---- bytes/0910acd4::f[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:38: error: in bytes/3a1fbbbh::f[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:37: error: in bytes/0910acd4::f[0]
[Crux] MIR assertion at test/symb_eval/crypto/bytes.rs:85:7:
[Crux] a[i] == b[i]
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:38: error: in bytes/3a1fbbbh::f[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:37: error: in bytes/0910acd4::f[0]
[Crux] MIR assertion at test/symb_eval/crypto/bytes.rs:85:7:
[Crux] a[i] == b[i]
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:38: error: in bytes/3a1fbbbh::f[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:37: error: in bytes/0910acd4::f[0]
[Crux] MIR assertion at test/symb_eval/crypto/bytes.rs:85:7:
[Crux] a[i] == b[i]
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:38: error: in bytes/3a1fbbbh::f[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:37: error: in bytes/0910acd4::f[0]
[Crux] MIR assertion at test/symb_eval/crypto/bytes.rs:85:7:
[Crux] a[i] == b[i]
[Crux] Found counterexample for verification goal
[Crux] ./lib/crucible/lib.rs:37:41: 37:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:38: error: in bytes/3a1fbbbh::f[0]
[Crux] ./lib/crucible/lib.rs:38:41: 38:58 !test/symb_eval/crypto/bytes.rs:85:7: 85:37: error: in bytes/0910acd4::f[0]
[Crux] MIR assertion at test/symb_eval/crypto/bytes.rs:85:7:
[Crux] a[i] == b[i]

Expand Down
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/crypto/bytes2.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test bytes2/c529255b::f[0]: ok
test bytes2/4bb09208::f[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/crypto/double.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test double/e6e26f62::f[0]: ok
test double/872a3d11::f[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/crypto/ffs.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test ffs/12bb9465::f[0]: ok
test ffs/fd27844b::f[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/enum/mux.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test mux/e3e33eba::test[0]: ok
test mux/48499f53::test[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/fnptr/mux.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test mux/97bbb42d::crux_test[0]: returned 2, ok
test mux/08dfe1f8::crux_test[0]: returned 2, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/io/vec_write.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test vec_write/b46f4310::f[0]: ok
test vec_write/ee788fed::f[0]: ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/mux/array.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test array/8d6b099f::crux_test[0]: returned Symbolic BV, ok
test array/283f281e::crux_test[0]: returned Symbolic BV, ok

[Crux] Overall status: Valid.
2 changes: 1 addition & 1 deletion crux-mir/test/symb_eval/mux/array_mut.good
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test array_mut/706b4322::crux_test[0]: returned Symbolic BV, ok
test array_mut/78781ed1::crux_test[0]: returned Symbolic BV, ok

[Crux] Overall status: Valid.
6 changes: 3 additions & 3 deletions crux-mir/test/symb_eval/num/checked_add.good
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
test checked_add/b10d29cb::crux_test[0]: returned 44, FAILED
test checked_add/00902a32::crux_test[0]: returned 44, FAILED

failures:

---- checked_add/b10d29cb::crux_test[0] counterexamples ----
---- checked_add/00902a32::crux_test[0] counterexamples ----
[Crux] Found counterexample for verification goal
[Crux] test/symb_eval/num/checked_add.rs:6:5: 6:12: error: in checked_add/b10d29cb::crux_test[0]
[Crux] test/symb_eval/num/checked_add.rs:6:5: 6:12: error: in checked_add/00902a32::crux_test[0]
[Crux] attempt to compute `const 100_u8 + move _2`, which would overflow

[Crux] Overall status: Invalid.
Loading