From def91db3fe955168c82038ac2ee39783e81a2af0 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 15 Dec 2018 15:17:13 +0100 Subject: 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 --- tools/syz-mutate/mutate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/syz-mutate/mutate.go b/tools/syz-mutate/mutate.go index f2403f75c..63bc47ef5 100644 --- a/tools/syz-mutate/mutate.go +++ b/tools/syz-mutate/mutate.go @@ -67,7 +67,7 @@ func main() { fmt.Fprintf(os.Stderr, "failed to read prog file: %v\n", err) os.Exit(1) } - p, err = target.Deserialize(data, prog.Strict) + p, err = target.Deserialize(data, prog.NonStrict) if err != nil { fmt.Fprintf(os.Stderr, "failed to deserialize the program: %v\n", err) os.Exit(1) -- cgit mrf-deployment