Martin Holst Swende
b9012a039b
common,crypto: move fuzzers out of core ( #22029 )
...
* common,crypto: move fuzzers out of core
* fuzzers: move vm fuzzer out from core
* fuzzing: rework cover package logic
* fuzzers: lint
4 years ago
Martin Holst Swende
0703c91fba
tests/fuzzers: improve the fuzzers ( #21829 )
...
* tests/fuzzers, common/bitutil: make fuzzers use correct returnvalues + remove output
* tests/fuzzers/stacktrie: fix duplicate-key insertion in stacktrie (false positive)
* tests/fuzzers/stacktrie: fix compilation error
* tests/fuzzers: linter nits
4 years ago
David Chase
31a1f164d9
common/bitutil: use result of TestBytes to prevent dead code elimination ( #19846 )
...
Gollvm has very aggressive dead code elimination that completely
removes one of these two benchmarks. To prevent this, use the
result of the benchmark (a boolean), and to be "fair", make the
transformation to both benchmarks.
To be reliably assured of not removing the code, "use" means
assigning to an exported global. Non-exported globals and
//go:noinline functions are possibly subject to this optimization.
5 years ago
Wenbiao Zheng
d1aa605f1e
all: remove the duplicate 'the' in annotations ( #17509 )
6 years ago
Furkan KAMACI
b8caba9709
various: remove redundant parentheses ( #15793 )
7 years ago
Egon Elbre
392151e251
common: fix megacheck warnings
7 years ago
Péter Szilágyi
82defe5c56
common/compress: internalize encoders, add length wrappers
8 years ago
Péter Szilágyi
cf19586cfb
common/bitutil: fix decompression corner cases; fuzz, test & bench
8 years ago
Zsolt Felfoldi
fd5d51c9ae
common/bitutil: added data compression algorithm
8 years ago
Péter Szilágyi
36a800a1d2
common/bitutil, consensus/ethash: reusable bitutil package
8 years ago