From c84501fe70ad8b8ca637daebb75eed7fcc707f6a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 28 Mar 2019 19:01:25 +0100 Subject: prog: fix a bunch of bugs in parsing Add fuzzer for Deserialize and fix 5 or so bugs it found. Fixes #1086 --- fuzz.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'fuzz.yaml') diff --git a/fuzz.yaml b/fuzz.yaml index 16d02b2c3..de65bbae8 100644 --- a/fuzz.yaml +++ b/fuzz.yaml @@ -18,3 +18,13 @@ targets: function: Fuzz package: github.com/google/syzkaller/tools/syz-trace2syz/proggen build_tags: syz_target syz_os_linux syz_arch_amd64 + - name: prog.Deserialize + harness: + function: Deserialize + package: github.com/google/syzkaller/prog/fuzz + build_tags: syz_target,syz_os_test,syz_arch_64 + - name: prog.ParseLog + harness: + function: ParseLog + package: github.com/google/syzkaller/prog/fuzz + build_tags: syz_target,syz_os_test,syz_arch_64 -- cgit mrf-deployment