aboutsummaryrefslogtreecommitdiff
path: root/tests/data (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-12-14fuzz_tests: add a test for utf8canonicalmoneromooo-monero2-0/+0
2020-08-17replace most boost serialization with existing monero serializationmoneromooo-monero5-0/+0
This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
2020-06-14fuzz_tests: add a tx extra fuzz testmoneromooo-monero2-0/+0
2018-11-04wallet2: only export necessary outputs and key imagesmoneromooo-monero1-0/+0
and disable annoying test that requires ridiculous amounts of skullduggery every time some format changes
2018-09-15tests: update test wallet keys file for encrypted keysmoneromooo-monero1-0/+0
2018-09-11fuzz_tests: add a bulletproof fuzz testmoneromooo-monero1-0/+0
2018-06-23Changed URLs to HTTPSeinsteinsfool1-1/+1
2017-12-23tests: add levin fuzz testmoneromooo-monero1-0/+0
2017-12-23tests: add http client fuzz testmoneromooo-monero1-0/+8
2017-12-23add parse_url fuzz testmoneromooo-monero2-0/+2
2017-12-23tests: add base58 fuzz testmoneromooo-monero2-0/+1
2017-12-23tests: better load-from-binary fuzz test data filemoneromooo-monero1-0/+0
Looks like there's some kind of header/signature
2017-12-23add load_from_binary/load_from_json fuzzersmoneromooo-monero2-0/+1
2017-06-24Add fuzz testing using american fuzzy lopmoneromooo-monero9-0/+1
Existing tests: block, transaction, signature, cold outputs, cold transaction. Data for these is in tests/data/fuzz. A convenience shell script is in contrib/fuzz_testing/fuzz.sh, eg: contrib/fuzz_testing/fuzz.sh signature The fuzzer will run indefinitely, ^C to stop. Fuzzing is currently supported for GCC only. I can't get CLANG to build Monero here as it dies on some system headers, so if someone wants to make it work on both, that'd be great. In particular, the __AFL_LOOP construct should be made to work so that a given run can fuzz multiple inputs, as the C++ load time is substantial.
2017-02-22fix broken test dataRiccardo Spagni1-0/+0
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-0/+0
2017-01-03portable serializer: tests addedkenshi845-0/+0
2015-01-02year updated in licenseRiccardo Spagni2-0/+0
2014-03-03moved all stuff to githubAntonio Juarez4-0/+0