From 02c936f397c7bb9e1e7ca4e71b548f4deaaa32a1 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Thu, 2 May 2024 17:13:08 +0300 Subject: [PATCH] [#216] netmap: Add policy decode fuzz test Signed-off-by: Dmitrii Stepanov --- go.mod | 1 + go.sum | Bin 73644 -> 73573 bytes netmap/policy_decode_test.go | 26 +++++++++++++------------- netmap/policy_fuzz.go | 14 ++++++++++++++ netmap/policy_fuzz_test.go | 17 +++++++++++++++++ 5 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 netmap/policy_fuzz.go create mode 100644 netmap/policy_fuzz_test.go diff --git a/go.mod b/go.mod index d600ded..88eaaf0 100644 --- a/go.mod +++ b/go.mod @@ -34,6 +34,7 @@ require ( github.com/nspcc-dev/neo-go/pkg/interop v0.0.0-20230615193820-9185820289ce // indirect github.com/nspcc-dev/rfc6979 v0.2.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/rogpeppe/go-internal v1.8.1 // indirect github.com/twmb/murmur3 v1.1.8 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/goleak v1.2.1 // indirect diff --git a/go.sum b/go.sum index 754d2d7c0241317530350bf784c61723d6ef35f7..f9212b23d73e37420a0a64b4954932902c34c22f 100644 GIT binary patch delta 247 zcmZ3ppXKR3mJQRmC+qWyY~IULkrA7cnU@h6YAPW`<_Q1_qWuZfa7J zL7Gvbfn}MR`iGx36olUs8o(n0s=NTY*nunz6Z| zsc%VgSy@$*zCql`LeCInMtZ7mfKP!-L7;znSfz8iX_cva zeo(oOM{0pzN|L#uUqq6bd4yYbfVOM;