Commit 15c7af1
committed
Skip phi assignment if neither merged state has an initialised object
With non-deterministic initialisation performed on declaration and allocation,
the only remaining sources are pointer dereferencing, where uninitialised
objects necessarily refer to invalid objects.
This is a cleaner implementation of 369f077 as well as removing the dubious
init_l1 from "Explicitly initialise non-static objects with non-deterministic
values".1 parent b24ccd0 commit 15c7af1
File tree
4 files changed
+14
-31
lines changed- src/goto-symex
4 files changed
+14
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | 274 | | |
277 | 275 | | |
278 | 276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | 202 | | |
223 | 203 | | |
224 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
455 | 453 | | |
456 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
457 | 458 | | |
458 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
459 | 462 | | |
460 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
461 | 467 | | |
462 | 468 | | |
463 | 469 | | |
| |||
0 commit comments