We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94457cc commit a25dd80Copy full SHA for a25dd80
tests/fuzzers/rlp/rlp_fuzzer.go
@@ -19,9 +19,11 @@ package rlp
19
import (
20
"bytes"
21
"fmt"
22
+ "math/big"
23
24
"github.com/ethereum/go-ethereum/core/types"
25
"github.com/ethereum/go-ethereum/rlp"
26
+ "github.com/holiman/uint256"
27
)
28
29
func decodeEncode(input []byte, val interface{}, i int) {
@@ -126,5 +128,16 @@ func Fuzz(input []byte) int {
126
128
var rs types.Receipts
127
129
decodeEncode(input, &rs, i)
130
}
131
+ {
132
+ i++
133
+ var v struct {
134
+ AnIntPtr *big.Int
135
+ AnInt big.Int
136
+ AnU256Ptr *uint256.Int
137
+ AnU256 uint256.Int
138
+ NotAnU256 [4]uint64
139
+ }
140
+ decodeEncode(input, &v, i)
141
142
return 1
143
0 commit comments