@@ -891,7 +891,7 @@ mod verify {
891
891
892
892
// pub const fn from_bytes_until_nul(bytes: &[u8]) -> Result<&CStr, FromBytesUntilNulError>
893
893
#[ kani:: proof]
894
- #[ kani:: solver ( cvc5 ) ]
894
+ #[ kani:: unwind ( 32 ) ]
895
895
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
896
896
fn check_from_bytes_until_nul ( ) {
897
897
const MAX_SIZE : usize = 32 ;
@@ -908,7 +908,7 @@ mod verify {
908
908
909
909
// pub const unsafe fn from_bytes_with_nul_unchecked(bytes: &[u8]) -> &CStr
910
910
#[ kani:: proof_for_contract( CStr :: from_bytes_with_nul_unchecked) ]
911
- #[ kani:: solver ( cvc5 ) ]
911
+ #[ kani:: unwind ( 32 ) ]
912
912
fn check_from_bytes_with_nul_unchecked ( ) {
913
913
const MAX_SIZE : usize = 32 ;
914
914
let string: [ u8 ; MAX_SIZE ] = kani:: any ( ) ;
@@ -927,7 +927,7 @@ mod verify {
927
927
928
928
// pub fn bytes(&self) -> Bytes<'_>
929
929
#[ kani:: proof]
930
- #[ kani:: solver ( cvc5 ) ]
930
+ #[ kani:: unwind ( 32 ) ]
931
931
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
932
932
fn check_bytes ( ) {
933
933
const MAX_SIZE : usize = 32 ;
@@ -946,7 +946,7 @@ mod verify {
946
946
947
947
// pub const fn to_str(&self) -> Result<&str, str::Utf8Error>
948
948
#[ kani:: proof]
949
- #[ kani:: solver ( cvc5 ) ]
949
+ #[ kani:: unwind ( 32 ) ]
950
950
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
951
951
fn check_to_str ( ) {
952
952
const MAX_SIZE : usize = 32 ;
@@ -964,7 +964,7 @@ mod verify {
964
964
965
965
// pub const fn as_ptr(&self) -> *const c_char
966
966
#[ kani:: proof]
967
- #[ kani:: solver ( cvc5 ) ]
967
+ #[ kani:: unwind ( 32 ) ]
968
968
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
969
969
fn check_as_ptr ( ) {
970
970
const MAX_SIZE : usize = 32 ;
@@ -992,7 +992,7 @@ mod verify {
992
992
993
993
// pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, FromBytesWithNulError>
994
994
#[ kani:: proof]
995
- #[ kani:: solver ( cvc5 ) ]
995
+ #[ kani:: unwind ( 32 ) ]
996
996
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
997
997
fn check_from_bytes_with_nul ( ) {
998
998
const MAX_SIZE : usize = 16 ;
@@ -1007,7 +1007,7 @@ mod verify {
1007
1007
1008
1008
// pub const fn count_bytes(&self) -> usize
1009
1009
#[ kani:: proof]
1010
- #[ kani:: solver ( cvc5 ) ]
1010
+ #[ kani:: unwind ( 32 ) ]
1011
1011
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
1012
1012
fn check_count_bytes ( ) {
1013
1013
const MAX_SIZE : usize = 32 ;
@@ -1033,7 +1033,7 @@ mod verify {
1033
1033
1034
1034
// pub const fn to_bytes(&self) -> &[u8]
1035
1035
#[ kani:: proof]
1036
- #[ kani:: solver ( cvc5 ) ]
1036
+ #[ kani:: unwind ( 32 ) ]
1037
1037
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
1038
1038
fn check_to_bytes ( ) {
1039
1039
const MAX_SIZE : usize = 32 ;
@@ -1050,7 +1050,7 @@ mod verify {
1050
1050
1051
1051
// pub const fn to_bytes_with_nul(&self) -> &[u8]
1052
1052
#[ kani:: proof]
1053
- #[ kani:: solver ( cvc5 ) ]
1053
+ #[ kani:: unwind ( 32 ) ]
1054
1054
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
1055
1055
fn check_to_bytes_with_nul ( ) {
1056
1056
const MAX_SIZE : usize = 32 ;
@@ -1067,7 +1067,7 @@ mod verify {
1067
1067
1068
1068
// const unsafe fn strlen(ptr: *const c_char) -> usize
1069
1069
#[ kani:: proof_for_contract( super :: strlen) ]
1070
- #[ kani:: solver ( cvc5 ) ]
1070
+ #[ kani:: unwind ( 32 ) ]
1071
1071
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
1072
1072
fn check_strlen_contract ( ) {
1073
1073
const MAX_SIZE : usize = 32 ;
@@ -1081,7 +1081,7 @@ mod verify {
1081
1081
1082
1082
// pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr
1083
1083
#[ kani:: proof_for_contract( CStr :: from_ptr) ]
1084
- #[ kani:: solver ( cvc5 ) ]
1084
+ #[ kani:: unwind ( 32 ) ]
1085
1085
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
1086
1086
fn check_from_ptr_contract ( ) {
1087
1087
const MAX_SIZE : usize = 32 ;
@@ -1095,7 +1095,7 @@ mod verify {
1095
1095
1096
1096
// pub const fn is_empty(&self) -> bool
1097
1097
#[ kani:: proof]
1098
- #[ kani:: solver ( cvc5 ) ]
1098
+ #[ kani:: unwind ( 32 ) ]
1099
1099
#[ cfg( not( all( target_arch = "x86_64" , target_feature = "sse2" ) ) ) ]
1100
1100
fn check_is_empty ( ) {
1101
1101
const MAX_SIZE : usize = 32 ;
0 commit comments