aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ifuzz/decode.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ifuzz/decode.go')
-rw-r--r--pkg/ifuzz/decode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ifuzz/decode.go b/pkg/ifuzz/decode.go
index 327fad82e..7fecf312c 100644
--- a/pkg/ifuzz/decode.go
+++ b/pkg/ifuzz/decode.go
@@ -10,7 +10,7 @@ import (
// Decode decodes instruction length for the given mode.
// It can have falsely decode incorrect instructions,
// but should not fail to decode correct instructions.
-// nolint: gocyclo, nestif, gocognit
+// nolint: gocyclo, nestif, gocognit, funlen
func Decode(mode int, text []byte) (int, error) {
if len(text) == 0 {
return 0, fmt.Errorf("zero-length instruction")