Commit Graph

965 Commits

Author SHA1 Message Date
kdeme 77834d1df0 Beginning of bzz protocol + simple handshake tester 2019-10-17 21:59:32 +09:00
kdeme f8d506dcb1 Use unittest and no longer possible crash on unhandled exception 2019-10-17 21:55:58 +09:00
kdeme dc9f7351a1 Make json test actually fail when individual test fails 2019-10-17 21:55:58 +09:00
kdeme 88563b8494
Merge pull request #101 from status-im/fuzz-updates
Fuzzing updates + error fixes
2019-10-16 12:43:45 +02:00
kdeme 72d6c46950
Add the rlpx fuzzing thunk test 2019-10-16 11:56:24 +02:00
kdeme 02a6906c01
Remove the p2p disconnect handling from dispatchMessages 2019-10-14 12:01:01 +02:00
kdeme 757ac1ab86
Remove standalone define and add specific afl/libFuzzer define 2019-10-11 15:25:11 +02:00
kdeme 9ee208876d
Fix possible AssertionError in ByteRange due to invalid access 2019-10-10 14:40:40 +02:00
kdeme 903b72a5c8
Fix AssertionError on ByteRange slice with nonexistent position 2019-10-10 13:14:24 +02:00
kdeme 9b69910570
Fix AssertionError that should be RlpTypeMismatch 2019-10-10 13:07:20 +02:00
kdeme 87f2a51a1b
Fix segfault + fix IndexError (causes also segfault in release) 2019-10-09 22:19:41 +02:00
kdeme 4cf3262902
Fix possible AssertionError in typedranges on rlp reading invalid list 2019-10-09 22:06:00 +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 c64a370fe7 Whisper documentation updates 2019-10-03 17:08:39 +03:00
kdeme 18225f93a5 Clean-up test_shh_connect 2019-10-03 16:38:14 +03:00
kdeme 5bc7612e2f Add bloom size check and no longer raise on sendMsg failures 2019-10-03 16:38:14 +03:00
kdeme 9dccfe27f4 Use stew/endians2 for endianness conversion 2019-10-03 16:38:14 +03: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 0f020d5df8
compat with latest chronos 2019-09-10 17:28:38 -04:00
Zahary Karadjov 44adb2a70a
Don't use http dependencies in Nimble 2019-09-05 22:55:30 -04:00
Ștefan Talpalaru bef28a18e5
CI: update script path 2019-08-24 03:02:30 +02:00
Bruno Škvorc f3aad8f925 Small clarification to protocol name length doc
As per conversation in PR
2019-08-20 21:33:16 +03:00
kdeme 843f9c3916
Update p2p.md
Add explanation on async proc
2019-08-20 17:33:43 +02:00
kdeme ece0d7fdbb
Update p2p.md
some fixes and updating the handshake mechanism.
2019-08-20 17:00:25 +02:00
kdeme 8451ce6c3b Add necessary re-exports, fixes #91 2019-08-20 13:59:34 +03:00
nolash 5dc8117a07 Allow longer rlpx protocol names (for compatability with swarm) 2019-08-19 20:33:38 +03:00
kdeme 9fb79d0d88 Refactor bootnodes and whispernodes 2019-08-16 08:50:58 +02:00
Zahary Karadjov f0315b0988
RLP serialization routines for types used in the ETH2 spec 2019-08-15 17:45:25 +02:00
Zahary Karadjov f8da72ca96 Fix the build when json logging is enabled 2019-08-14 17:19:55 +02:00
Bruno Škvorc c9f1b30c9d
Update p2p.md 2019-08-14 13:48:18 +02:00
Bruno Škvorc 2bb01a787f
Update rlp.md 2019-08-14 13:47:40 +02:00
Bruno Škvorc a69d6bafa9
Update README.md 2019-08-14 12:36:56 +02:00
Yuriy Glukhov 7130a378d6
Merge pull request #89 from status-im/export-constant
Export EIP155_CHAIN_ID_OFFSET
2019-08-13 19:39:35 +02:00
Yuriy Glukhov 4552e0333d
Export EIP155_CHAIN_ID_OFFSET 2019-08-13 10:42:50 +02:00
Zahary Karadjov 1fe3de6c39
Changes required for the latest ETH2 spec 2019-08-07 06:13:45 +03:00