summaryrefslogtreecommitdiff
path: root/tests/fuzz
Commit message (Collapse)AuthorAgeFilesLines
* Fix build with boost ASIO 0.87. Support boost 1.66+Lee *!* Clagett2025-02-141-5/+5
|
* allow exporting outputs in chunksmoneromooo-monero2022-09-071-1/+1
| | | | | this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
* Copyright: Update to 2022mj-xmr2022-03-0417-17/+18
|
* Improve cryptonote (block and tx) binary read performanceLee Clagett2021-01-233-11/+3
|
* Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-191-2/+2
|
* Revert "Merge pull request #7136"luigi11112021-04-161-2/+2
| | | | | This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f.
* Merge pull request #7136luigi11112021-04-161-2/+2
|\ | | | | | | 23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
| * Remove payload copy in all outgoing p2p messagesLee Clagett2021-01-161-2/+2
| |
* | fix serialization being different on macmoneromooo-monero2021-03-051-1/+1
|/ | | | | | | | | | | | On Mac, size_t is a distinct type from uint64_t, and some types (in wallet cache as well as cold/hot wallet transfer data) use pairs/containers with size_t as fields. Mac would save those as full size, while other platforms would save them as varints. Might apply to other platforms where the types are distinct. There's a nasty hack for backward compatibility, which can go after a couple forks.
* Merge pull request #7149luigi11112021-01-152-0/+49
|\ | | | | | | 0660db3 fuzz_tests: add a test for utf8canonical (moneromooo-monero)
| * fuzz_tests: add a test for utf8canonicalmoneromooo-monero2020-12-142-0/+49
| |
* | add a max levin packet size by command typemoneromooo-monero2021-01-031-0/+1
| |
* | Add aggressive restrictions to pre-handshake p2p buffer limitLee Clagett2020-12-171-0/+2
|/
* Change epee binary output from std::stringstream to byte_streamLee Clagett2020-10-102-6/+6
|
* Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr2020-10-281-13/+13
| | | | | | | | monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests This is done in order not to have to relink targets, when just an .so changed, but not its interface.
* fuzz_tests: fix build error in signature fuzz testmoneromooo-monero2020-09-241-1/+1
|
* wallet: allow signing a message with spend or view keymoneromooo-monero2020-08-281-2/+2
|
* replace most boost serialization with existing monero serializationmoneromooo-monero2020-08-172-8/+8
| | | | | | | | | | | | | | | | | | | | | | 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.
* wallet2_api: implement runtime proxy configurationxiphon2020-07-203-3/+3
|
* Merge pull request #6512Alexander Blair2020-07-1915-15/+15
|\ | | | | | | 5ef0607da Update copyright year to 2020 (SomaticFanatic)
| * Update copyright year to 2020SomaticFanatic2020-05-0615-15/+15
| | | | | | | | Update copyright year to 2020
* | fuzz_tests: fix init check in oss-fuzz modemoneromooo-monero2020-06-141-1/+1
| |
* | fix leaks in fuzz testsmoneromooo-monero2020-06-144-17/+34
| |
* | fuzz_tests: add a tx extra fuzz testmoneromooo-monero2020-06-142-0/+58
| |
* | fuzz_tests: refactor and add OSS-Fuzz compatibilitymoneromooo-monero2020-05-1515-538/+226
|/
* Allow wallet2.h to run in WebAssemblywoodser2020-04-151-0/+5
| | | | | | | - Add abstract_http_client.h which http_client.h extends. - Replace simple_http_client with abstract_http_client in wallet2, message_store, message_transporter, and node_rpc_proxy. - Import and export wallet data in wallet2. - Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
* Add ref-counted buffer byte_slice. Currently used for sending TCP data.Lee Clagett2019-07-161-2/+2
|
* Added socks proxy (tor/i2pd/kovri) support to walletLee Clagett2019-03-253-3/+3
|
* Merge pull request #5274Riccardo Spagni2019-03-243-3/+3
|\ | | | | | | dc0c0c91 tests: disable wallet SSL init for tests involving wallet2 (moneromooo-monero)
| * tests: disable wallet SSL init for tests involving wallet2moneromooo-monero2019-03-123-3/+3
| |
* | Update 2019 copyrightbinaryFate2019-03-0515-15/+15
|/
* epee: better network buffer data structuremoneromooo-monero2018-12-231-4/+4
| | | | avoids pointless allocs and memcpy
* wallet2: only export necessary outputs and key imagesmoneromooo-monero2018-11-041-1/+1
| | | | | and disable annoying test that requires ridiculous amounts of skullduggery every time some format changes
* Catch more exceptions in dtorsmoneromooo-monero2018-10-0212-0/+24
| | | | Misc coverity reports
* Merge pull request #4459Riccardo Spagni2018-09-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero) 3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero) a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero) 1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero) fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero) 2e2139ff epee: do not propagate exception through dtor (moneromooo-monero) 0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero) 1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero) 418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero) ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero) 6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero) 53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero) e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero) 661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero) 5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero) 7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero) a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero) d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero) 02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero) c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
* Merge pull request #4254Riccardo Spagni2018-09-141-0/+4
|\ | | | | | | de905d4b fuzz_tests: use __AFL_INIT when available (moneromooo-monero)
| * fuzz_tests: use __AFL_INIT when availablemoneromooo-monero2018-08-131-0/+4
| | | | | | | | alleged to speed things up
* | fuzz_tests: add a bulletproof fuzz testmoneromooo-monero2018-09-112-0/+85
| |
* | fuzz: set address properlystoffu2018-08-141-0/+1
|/
* epee: adaptive connection timeout systemmoneromooo-monero2018-06-101-0/+1
| | | | | | | | | | | a connection's timeout is halved for every extra connection from the same host. Also keep track of when we don't need to use a connection anymore, so we can close it and free the resource for another connection. Also use the longer timeout for non routable local addresses.
* fuzz_tests: set small subaddress lookahead for speedmoneromooo-monero2018-03-143-0/+3
|
* Stagenetstoffu2018-03-053-4/+4
|
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-041-0/+5
| | | | | | | | | | | | | | | | | | | The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
* fuzz_tests: fix an uninitialized var in setupmoneromooo-monero2018-02-021-2/+3
| | | | | | and comment it out, it's only used to generate a starting test case Coverity 182506
* Tests: Fix building of two fuzz tests on WindowsiDunk54002018-01-281-0/+2
|
* Readd copyright starting datexmr-eric2018-01-2613-13/+13
|
* Update 2018 copyrightxmr-eric2018-01-2614-14/+14
|
* Merge pull request #2963Riccardo Spagni2018-01-023-27/+3
|\ | | | | | | 0e19a394 tests: test wallets don't need a dummy temp file anymore (moneromooo-monero)
| * tests: test wallets don't need a dummy temp file anymoremoneromooo-monero2017-12-193-27/+3
| |
* | tests: add levin fuzz testmoneromooo-monero2017-12-232-0/+359
| |