diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2019-09-05 17:01:47 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2019-11-05 14:51:18 +0000 |
commit | 0dee67bf09a16c51f951bb6d659eb0baaae94126 (patch) | |
tree | bed4c55d7a6fe789843810d2cdbc7eacdcd3f56b /runtime/klee-libc/strtoul.c | |
parent | 7fa96f70cf52b0f3112046962487e95eab0d88fe (diff) | |
download | klee-0dee67bf09a16c51f951bb6d659eb0baaae94126.tar.gz |
Do not modify strings if they are read-only.
Hoist increment of `sc` into the loop header. Memory locations can only be written to if they are writeable. Avoid concretising a value by writing it. If the location is not symbolic in the first place. This avoids writing read-only memory locations.
Diffstat (limited to 'runtime/klee-libc/strtoul.c')
0 files changed, 0 insertions, 0 deletions