File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -961,7 +961,7 @@ mod verify {
961
961
962
962
// pub const fn as_ptr(&self) -> *const c_char
963
963
#[ kani:: proof]
964
- #[ kani:: unwind ( 33 ) ]
964
+ #[ kani:: solver ( cvc5 ) ]
965
965
fn check_as_ptr ( ) {
966
966
const MAX_SIZE : usize = 32 ;
967
967
let string: [ u8 ; MAX_SIZE ] = kani:: any ( ) ;
@@ -1002,7 +1002,7 @@ mod verify {
1002
1002
1003
1003
// pub const fn count_bytes(&self) -> usize
1004
1004
#[ kani:: proof]
1005
- #[ kani:: unwind ( 32 ) ]
1005
+ #[ kani:: solver ( cvc5 ) ]
1006
1006
fn check_count_bytes ( ) {
1007
1007
const MAX_SIZE : usize = 32 ;
1008
1008
let mut bytes: [ u8 ; MAX_SIZE ] = kani:: any ( ) ;
@@ -1043,7 +1043,7 @@ mod verify {
1043
1043
1044
1044
// pub const fn to_bytes_with_nul(&self) -> &[u8]
1045
1045
#[ kani:: proof]
1046
- #[ kani:: unwind ( 33 ) ]
1046
+ #[ kani:: solver ( cvc5 ) ]
1047
1047
fn check_to_bytes_with_nul ( ) {
1048
1048
const MAX_SIZE : usize = 32 ;
1049
1049
let string: [ u8 ; MAX_SIZE ] = kani:: any ( ) ;
@@ -1059,7 +1059,7 @@ mod verify {
1059
1059
1060
1060
// const unsafe fn strlen(ptr: *const c_char) -> usize
1061
1061
#[ kani:: proof_for_contract( super :: strlen) ]
1062
- #[ kani:: unwind ( 33 ) ]
1062
+ #[ kani:: solver ( cvc5 ) ]
1063
1063
fn check_strlen_contract ( ) {
1064
1064
const MAX_SIZE : usize = 32 ;
1065
1065
let mut string: [ u8 ; MAX_SIZE ] = kani:: any ( ) ;
You can’t perform that action at this time.
0 commit comments