Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-24 | net: change CNetAddr::ip to have flexible size | Vasil Dimov | |
Before this change `CNetAddr::ip` was a fixed-size array of 16 bytes, not being able to store larger addresses (e.g. TORv3) and encoded smaller ones as 16-byte IPv6 addresses. Change its type to `prevector`, so that it can hold larger addresses and do not disguise non-IPv6 addresses as IPv6. So the IPv4 address `1.2.3.4` is now encoded as `01020304` instead of `00000000000000000000FFFF01020304`. Rename `CNetAddr::ip` to `CNetAddr::m_addr` because it is not an "IP" or "IP address" (TOR addresses are not IP addresses). In order to preserve backward compatibility with serialization (where e.g. `1.2.3.4` is serialized as `00000000000000000000FFFF01020304`) introduce `CNetAddr` dedicated legacy serialize/unserialize methods. Adjust `CSubNet` accordingly. Still use `CSubNet::netmask[]` of fixed 16 bytes, but use the first 4 for IPv4 (not the last 4). Only allow subnetting for IPv4 and IPv6. Co-authored-by: Carl Dong <contact@carldong.me> | |||
2020-07-21 | test: Fix fuzzer compilation on macOS | freenancial | |
fixes #19557 | |||
2020-07-15 | tests: Add serialization/deserialization fuzzing helpers ↵ | practicalswift | |
WriteToStream(…)/ReadFromStream(…) | |||
2020-07-15 | tests: Add FuzzedAutoFileProvider which provides a CAutoFile interface to ↵ | practicalswift | |
FuzzedDataProvider | |||
2020-07-15 | tests: Add FuzzedFileProvider which provides a FILE* interface to ↵ | practicalswift | |
FuzzedDataProvider using fopencookie | |||
2020-07-08 | tests: Add fuzzing harness for BanMan | practicalswift | |
2020-07-08 | tests: Add ConsumeSubNet(...). Move and increase coverage in ↵ | practicalswift | |
ConsumeNetAddr(...). | |||
2020-06-11 | tests: Add std::vector<uint8_t> ↵ | practicalswift | |
ConsumeFixedLengthByteVector(FuzzedDataProvider& fuzzed_data_provider, const size_t length) | |||
2020-05-29 | tests: Add fuzzing helper functions ConsumeDataStream, ConsumeTxDestination ↵ | practicalswift | |
and ConsumeUInt160 | |||
2020-05-25 | tests: Add fuzzing harness for CCoinsViewCache | practicalswift | |
2020-05-14 | Switch from Optional<T> to std::optional<T> (C++17). Run clang-format. | practicalswift | |
2020-04-30 | tests: Clarify how we avoid hitting the signed integer overflow in ↵ | practicalswift | |
CFeeRate::GetFeePerK() when fuzzing | |||
2020-04-30 | tests: Add fuzzing harness for CBlockPolicyEstimator | practicalswift | |
2020-04-16 | scripted-diff: Bump copyright headers | MarcoFalke | |
-BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- | |||
2020-04-08 | tests: Add fuzzing harness for AdditionOverflow(...) | practicalswift | |
2020-04-05 | Merge #18407: tests: Add proof-of-work fuzzing harness | MarcoFalke | |
acf269e1463c84d51f2eef695089cbf9d03b547f tests: Add proof-of-work fuzzing harness (practicalswift) Pull request description: Add proof-of-work fuzzing harness. Top commit has no ACKs. Tree-SHA512: dcdfa211cf1ec3018b61f378bb0f95793bbbe5d00e2f4d17f9db2c7263fe8ce919760c56cae7122c62c82e05c90e7056eb1778871674bdb3c42869e5fe4c2b60 | |||
2020-04-04 | tests: Add proof-of-work fuzzing harness | practicalswift | |
2020-03-29 | tests: Add fuzzing harness for functions/classes in random.h | practicalswift | |
2020-03-24 | tests: Add fuzzing harness for classes/functions in blockfilter.h | practicalswift | |
2020-03-15 | tests: Add fuzzing harness for various functions taking std::string as input | practicalswift | |
2020-03-15 | tests: Add fuzzing harness for CFeeRate | practicalswift | |
2020-03-09 | Make lifetime correctness easier to see (avoid reference lifetime extension) | practicalswift | |
2020-03-09 | tests: Add common Consume* fuzzing functions | practicalswift | |
2020-02-25 | tests: Add fuzzing harness for bloom filter class CBloomFilter | practicalswift | |