about summary refs log tree commit diff homepage
path: root/runtime/klee-libc/strtoul.c
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2019-09-05 17:01:47 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2019-11-05 14:51:18 +0000
commit0dee67bf09a16c51f951bb6d659eb0baaae94126 (patch)
treebed4c55d7a6fe789843810d2cdbc7eacdcd3f56b /runtime/klee-libc/strtoul.c
parent7fa96f70cf52b0f3112046962487e95eab0d88fe (diff)
downloadklee-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