Commit Graph

35 Commits

Author SHA1 Message Date
kdeme ce5f6e4c1f Add two fuzzing targets for discovery v5.1 2020-10-16 21:20:47 +03:00
Kim De Mey 38bf21b4f7
Update fuzzing readme.md 2020-07-21 10:58:14 +02:00
kdeme f0638eb3f1
Add rlp_decode fuzz test + some corpus generate code 2020-07-20 17:09:15 +02:00
kdeme 4e4836a0fe
Add discv5 fuzzing test targets 2020-07-20 14:17:44 +02:00
Kim De Mey 28a8d52308
Fix enr deserialization crash + more tests + fuzz test (#274)
* Fix enr deserialization crash + more tests + fuzz test

* CI: Install depsOnly
2020-07-11 01:28:53 +02:00
Kim De Mey 2c5eeded6d
Small fuzzing readme correction [skip ci] 2020-07-09 11:01:35 +02:00
Jacek Sieka 484fbcab1b
use bearssl rng throughout (#265)
* use bearssl rng throughout

* seeder can fail

* imports and exports

* modules, sigh

* one more try

* move var

* even fewer thread vars

* remove out-of-date genrated files
2020-07-07 10:56:26 +02:00
kdeme 4d0a7a46ba Update fuzzing tests now that the helpers have moved to ntu 2020-06-12 18:58:05 +03:00
Jacek Sieka fd6caa0fdc
Rlp experimental (#227)
* rlp: remove experimental features

* avoid range library

* trie: avoid reference-unsafe bitrange type
2020-04-20 20:14:39 +02:00
Jacek Sieka 0b110f3287
Secp more refactor (#211)
* simplify some modules

* mark several modules with raises
* fix clearing of keys in auth.nim
* fix keyfile case dropping off
* fix keyfile stream storage
* uuid should be output in lowercase

* enode: simplify API
2020-04-06 18:24:15 +02:00
Jacek Sieka ac5bbe4d3d
keys: get rid of deprecated calls (#213) 2020-04-04 18:44:01 +02:00
kdeme 4976bd9fb9 Replace getCurrentException and getCurrentExceptionMsg 2019-12-02 23:35:34 +02:00
kdeme 17f90920e0 Add unittest for rlpx thunk payload tests 2019-10-23 09:35:33 +09:00
kdeme 72d6c46950
Add the rlpx fuzzing thunk test 2019-10-16 11:56:24 +02:00
kdeme 757ac1ab86
Remove standalone define and add specific afl/libFuzzer define 2019-10-11 15:25:11 +02:00
kdeme 4b154e56c7
Fix aflLoop for non afl-clang-fast 2019-10-09 21:23:22 +02:00
kdeme f1604ca929
Add readme file 2019-10-08 16:57:31 +02:00
kdeme 19930cc94d
Add aflInit and aflLoop + add comments 2019-10-08 16:23:57 +02:00
kdeme eb4aee0260 Use less verbose / operator instead of DirSep 2019-10-02 14:45:29 +03:00
kdeme 2a0793ce60 Can use ospaths apparently 2019-10-02 14:45:29 +03:00
kdeme 94dee80aeb Add whisper encode decode test and rename rlp test 2019-10-02 14:45:29 +03:00
kdeme 0874f41a53 Fix quotes 2019-10-02 14:45:29 +03:00
kdeme 2b8921690c default init when init template is not used 2019-10-02 14:45:29 +03:00
kdeme 035b7eda24 Adress review feedback 2019-10-02 14:45:29 +03:00
kdeme 91862ce65b split functionality and script 2019-10-02 14:45:29 +03:00
kdeme 1148f773d1 rename to fuzztest & change standalone define 2019-10-02 14:45:29 +03:00
kdeme e101902aa5 Add basic fuzzing build tasks config.nims file 2019-10-02 14:45:29 +03:00
kdeme a3a33170db Modify basic script to allow launching afl or libFuzzer fuzzing 2019-10-02 14:45:29 +03:00
kdeme d337435aa1 Add simple rlp fuzz test 2019-10-02 14:45:29 +03:00
kdeme c0a067178b No need for macro, templates are fine 2019-10-02 14:45:29 +03:00
kdeme 2a91a8d0cc Add convenience init and test macro to create fuzzing tests 2019-10-02 14:45:29 +03:00
kdeme 70a892fff7 Allow for fuzzing with libFuzzer 2019-10-02 14:45:29 +03:00
Jacek Sieka 022139db50
import fixes 2019-07-07 12:22:55 +02:00
Jacek Sieka 75c7c62651
std_shims -> stew 2019-07-07 11:56:01 +02:00
kdeme d535bb1ade Add very basic fuzzing setup for discovery 2019-06-18 20:10:14 +03:00