Commit 26fb550
Remi Delmas
CONTRACTS: disable checks on
Prevents a 5-10x blowup in the number of generated checks for
DFCC instrumented programs.
Functions in `cprover_contracts.c` contain assertions that
check for possible overflows of null pointers where needed,
so we guard against automatic checks instantiation by adding
"checked" pragmas to all instructions of the library.cprover_contracts.c
1 parent 20535ad commit 26fb550
File tree
4 files changed
+30
-33
lines changed- src
- ansi-c/library
- goto-instrument/contracts/dynamic-frames
4 files changed
+30
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 112 | | |
120 | 113 | | |
121 | 114 | | |
| |||
129 | 122 | | |
130 | 123 | | |
131 | 124 | | |
132 | | - | |
133 | 125 | | |
134 | 126 | | |
135 | 127 | | |
| |||
163 | 155 | | |
164 | 156 | | |
165 | 157 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | 158 | | |
175 | 159 | | |
176 | 160 | | |
| |||
188 | 172 | | |
189 | 173 | | |
190 | 174 | | |
191 | | - | |
192 | 175 | | |
193 | 176 | | |
194 | 177 | | |
| |||
1062 | 1045 | | |
1063 | 1046 | | |
1064 | 1047 | | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | 1048 | | |
1073 | 1049 | | |
1074 | 1050 | | |
1075 | 1051 | | |
1076 | | - | |
1077 | 1052 | | |
1078 | 1053 | | |
1079 | 1054 | | |
| |||
1204 | 1179 | | |
1205 | 1180 | | |
1206 | 1181 | | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
1214 | 1182 | | |
1215 | 1183 | | |
1216 | 1184 | | |
| |||
1311 | 1279 | | |
1312 | 1280 | | |
1313 | 1281 | | |
1314 | | - | |
1315 | 1282 | | |
1316 | 1283 | | |
1317 | 1284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
212 | 235 | | |
213 | 236 | | |
214 | 237 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
247 | 251 | | |
248 | 252 | | |
249 | 253 | | |
| |||
0 commit comments