From a4d38b39a8e23244bea7a53e9d7a759474f85dae Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 4 May 2020 08:58:32 +0200 Subject: prog: support disabled attribute Update #477 Update #502 --- tools/syz-mutate/mutate.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/syz-mutate') diff --git a/tools/syz-mutate/mutate.go b/tools/syz-mutate/mutate.go index 3dcc446c6..af92e14a1 100644 --- a/tools/syz-mutate/mutate.go +++ b/tools/syz-mutate/mutate.go @@ -64,8 +64,7 @@ func main() { os.Exit(1) } rs := rand.NewSource(seed) - prios := target.CalculatePriorities(corpus) - ct := target.BuildChoiceTable(prios, syscalls) + ct := target.BuildChoiceTable(corpus, syscalls) var p *prog.Prog if flag.NArg() == 0 { p = target.Generate(rs, *flagLen, ct) -- cgit mrf-deployment