diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-15 15:17:13 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-15 15:17:13 +0100 |
| commit | def91db3fe955168c82038ac2ee39783e81a2af0 (patch) | |
| tree | b6cbf100001e7b9fe34a8e2eb4ab00438f3e0154 /sys/test/exec.txt | |
| parent | 7a944a0a666587f229291814b30644cc0859674c (diff) | |
prog, pkg/csource: more readable serialization for strings
Always serialize strings in readable format (non-hex).
Serialize binary data in readable format in more cases.
Fixes #792
Diffstat (limited to 'sys/test/exec.txt')
| -rw-r--r-- | sys/test/exec.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/test/exec.txt b/sys/test/exec.txt index 83da4708d..80180ca14 100644 --- a/sys/test/exec.txt +++ b/sys/test/exec.txt @@ -3,7 +3,7 @@ syz_mmap(addr vma, len len[addr]) syz_errno(v int32) -syz_compare(want ptr[in, string], want_len len[want], got ptr[in, compare_data], got_len len[got]) +syz_compare(want ptr[in, string], want_len bytesize[want], got ptr[in, compare_data], got_len bytesize[got]) compare_data [ align0 align0 @@ -11,6 +11,9 @@ compare_data [ bf1 syz_bf_struct1 bf2 syz_bf_struct2 bf3 syz_bf_struct3 + str string + blob array[int8] + arr16be array[int16be] ] [varlen] align0 { |
