Changeset View
Changeset View
Standalone View
Standalone View
src/test/fuzz/fuzz.h
// Copyright (c) 2009-2019 The Bitcoin Core developers | // Copyright (c) 2009-2019 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_TEST_FUZZ_FUZZ_H | #ifndef BITCOIN_TEST_FUZZ_FUZZ_H | ||||
#define BITCOIN_TEST_FUZZ_FUZZ_H | #define BITCOIN_TEST_FUZZ_FUZZ_H | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <vector> | #include <vector> | ||||
void test_one_input(std::vector<uint8_t> buffer); | void test_one_input(const std::vector<uint8_t> &buffer); | ||||
#endif // BITCOIN_TEST_FUZZ_FUZZ_H | #endif // BITCOIN_TEST_FUZZ_FUZZ_H |