Commit 5f33908
committed
unwindset: Also warn about loops in functions without body
f14cd09 demoted some failures to warnings. This commit does so for
another case: if no body for the function is available, issue a warning
rather than failing an exception.
This situation will typically arise when using an unwindset
specification originally meant for CBMC with goto-instrument, where
library functions might not yet be present.1 parent 198fd86 commit 5f33908
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
| |||
0 commit comments