1+ [
2+ {
3+ "hash" : " 173901617224167753396123006979376078418" ,
4+ "def_id" : " DefId { id: 13, name: \" verify::proof1\" }" ,
5+ "attrs" : [
6+ " #[kanitool::proof_for_contract = \" contract1\" ]"
7+ ],
8+ "func" : {
9+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
10+ "src" : " fn $proof() {\n $contract_name(kani::any::<u8>());\n }" ,
11+ "before_expansion" : " gen! { proof1: contract1(arg), arg > 0}"
12+ },
13+ "callees" : [
14+ {
15+ "def_id" : " DefId { id: 1, name: \" verify::contract1::kani_register_contract\" }" ,
16+ "func" : {
17+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
18+ "src" : " #[kani::requires($e)]" ,
19+ "before_expansion" : " #[kani::requires($e)]"
20+ }
21+ },
22+ {
23+ "def_id" : " DefId { id: 1, name: \" verify::contract1::kani_register_contract\" }" ,
24+ "func" : {
25+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
26+ "src" : " #[kani::requires($e)]" ,
27+ "before_expansion" : " #[kani::requires($e)]"
28+ }
29+ },
30+ {
31+ "def_id" : " DefId { id: 2, name: \" verify::contract1::kani_contract_mode\" }" ,
32+ "func" : {
33+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
34+ "src" : " #[kani::requires($e)]" ,
35+ "before_expansion" : " #[kani::requires($e)]"
36+ }
37+ },
38+ {
39+ "def_id" : " DefId { id: 1, name: \" verify::contract1::kani_register_contract\" }" ,
40+ "func" : {
41+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
42+ "src" : " #[kani::requires($e)]" ,
43+ "before_expansion" : " #[kani::requires($e)]"
44+ }
45+ },
46+ {
47+ "def_id" : " DefId { id: 1, name: \" verify::contract1::kani_register_contract\" }" ,
48+ "func" : {
49+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
50+ "src" : " #[kani::requires($e)]" ,
51+ "before_expansion" : " #[kani::requires($e)]"
52+ }
53+ },
54+ {
55+ "def_id" : " DefId { id: 0, name: \" verify::contract1\" }" ,
56+ "func" : {
57+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
58+ "src" : " fn" ,
59+ "before_expansion" : " gen! { proof1: contract1(arg), arg > 0}"
60+ }
61+ }
62+ ]
63+ },
64+ {
65+ "hash" : " 123976172475411212985328458414396205982" ,
66+ "def_id" : " DefId { id: 27, name: \" verify::proof2\" }" ,
67+ "attrs" : [
68+ " #[kanitool::proof_for_contract = \" contract2\" ]"
69+ ],
70+ "func" : {
71+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
72+ "src" : " fn $proof() {\n $contract_name(kani::any::<u8>());\n }" ,
73+ "before_expansion" : " gen! { proof2: contract2(arg), arg != 0}"
74+ },
75+ "callees" : [
76+ {
77+ "def_id" : " DefId { id: 15, name: \" verify::contract2::kani_register_contract\" }" ,
78+ "func" : {
79+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
80+ "src" : " #[kani::requires($e)]" ,
81+ "before_expansion" : " #[kani::requires($e)]"
82+ }
83+ },
84+ {
85+ "def_id" : " DefId { id: 15, name: \" verify::contract2::kani_register_contract\" }" ,
86+ "func" : {
87+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
88+ "src" : " #[kani::requires($e)]" ,
89+ "before_expansion" : " #[kani::requires($e)]"
90+ }
91+ },
92+ {
93+ "def_id" : " DefId { id: 15, name: \" verify::contract2::kani_register_contract\" }" ,
94+ "func" : {
95+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
96+ "src" : " #[kani::requires($e)]" ,
97+ "before_expansion" : " #[kani::requires($e)]"
98+ }
99+ },
100+ {
101+ "def_id" : " DefId { id: 15, name: \" verify::contract2::kani_register_contract\" }" ,
102+ "func" : {
103+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
104+ "src" : " #[kani::requires($e)]" ,
105+ "before_expansion" : " #[kani::requires($e)]"
106+ }
107+ },
108+ {
109+ "def_id" : " DefId { id: 16, name: \" verify::contract2::kani_contract_mode\" }" ,
110+ "func" : {
111+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
112+ "src" : " #[kani::requires($e)]" ,
113+ "before_expansion" : " #[kani::requires($e)]"
114+ }
115+ },
116+ {
117+ "def_id" : " DefId { id: 14, name: \" verify::contract2\" }" ,
118+ "func" : {
119+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
120+ "src" : " fn" ,
121+ "before_expansion" : " gen! { proof2: contract2(arg), arg != 0}"
122+ }
123+ }
124+ ]
125+ },
126+ {
127+ "hash" : " 65100024384283587041305320168463434750" ,
128+ "def_id" : " DefId { id: 41, name: \" verify::proof3\" }" ,
129+ "attrs" : [
130+ " #[kanitool::proof_for_contract = \" contract3\" ]"
131+ ],
132+ "func" : {
133+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
134+ "src" : " fn $proof() {\n $contract_name(kani::any::<u8>());\n }" ,
135+ "before_expansion" : " gen! { proof3: contract3(arg), arg < 10}"
136+ },
137+ "callees" : [
138+ {
139+ "def_id" : " DefId { id: 29, name: \" verify::contract3::kani_register_contract\" }" ,
140+ "func" : {
141+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
142+ "src" : " #[kani::requires($e)]" ,
143+ "before_expansion" : " #[kani::requires($e)]"
144+ }
145+ },
146+ {
147+ "def_id" : " DefId { id: 30, name: \" verify::contract3::kani_contract_mode\" }" ,
148+ "func" : {
149+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
150+ "src" : " #[kani::requires($e)]" ,
151+ "before_expansion" : " #[kani::requires($e)]"
152+ }
153+ },
154+ {
155+ "def_id" : " DefId { id: 29, name: \" verify::contract3::kani_register_contract\" }" ,
156+ "func" : {
157+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
158+ "src" : " #[kani::requires($e)]" ,
159+ "before_expansion" : " #[kani::requires($e)]"
160+ }
161+ },
162+ {
163+ "def_id" : " DefId { id: 29, name: \" verify::contract3::kani_register_contract\" }" ,
164+ "func" : {
165+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
166+ "src" : " #[kani::requires($e)]" ,
167+ "before_expansion" : " #[kani::requires($e)]"
168+ }
169+ },
170+ {
171+ "def_id" : " DefId { id: 29, name: \" verify::contract3::kani_register_contract\" }" ,
172+ "func" : {
173+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
174+ "src" : " #[kani::requires($e)]" ,
175+ "before_expansion" : " #[kani::requires($e)]"
176+ }
177+ },
178+ {
179+ "def_id" : " DefId { id: 28, name: \" verify::contract3\" }" ,
180+ "func" : {
181+ "file" : " tests/proofs/gen_contracts_by_macros.rs" ,
182+ "src" : " fn" ,
183+ "before_expansion" : " gen! { proof3: contract3(arg), arg < 10}"
184+ }
185+ }
186+ ]
187+ }
188+ ]
0 commit comments