source:
CIVL/examples/mem/mem_tests/mem_havoc_array-bad2.cvl
| Last change on this file was 5257f98, checked in by , 2 months ago | |
|---|---|
|
|
| File size: 151 bytes | |
| Line | |
|---|---|
| 1 | #include<mem.cvh> |
| 2 | #include<stdlib.h> |
| 3 | #include<pointer.cvh> |
| 4 | |
| 5 | int a[100]; |
| 6 | |
| 7 | int main() { |
| 8 | $mem m; |
| 9 | |
| 10 | m = &a[(0 .. 99) + (-9 .. 0)]; |
| 11 | $mem_havoc(m); |
| 12 | } |
Note:
See TracBrowser
for help on using the repository browser.
