mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-18 12:53:03 +02:00
Fix IWYU for the script_flags fuzz target
Also, export script_error.h from interpreter.h, because there should rarely be a case where script_error.h is included without interpreter.h
This commit is contained in:
parent
fa71285b73
commit
faf1fb207f
@ -6,21 +6,23 @@
|
|||||||
#ifndef BITCOIN_SCRIPT_INTERPRETER_H
|
#ifndef BITCOIN_SCRIPT_INTERPRETER_H
|
||||||
#define BITCOIN_SCRIPT_INTERPRETER_H
|
#define BITCOIN_SCRIPT_INTERPRETER_H
|
||||||
|
|
||||||
|
#include <consensus/amount.h>
|
||||||
#include <hash.h>
|
#include <hash.h>
|
||||||
#include <script/script_error.h>
|
|
||||||
#include <span.h>
|
|
||||||
#include <primitives/transaction.h>
|
#include <primitives/transaction.h>
|
||||||
|
#include <script/script_error.h> // IWYU pragma: export
|
||||||
|
#include <span.h>
|
||||||
|
#include <uint256.h>
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
#include <cstdint>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
class CPubKey;
|
class CPubKey;
|
||||||
class XOnlyPubKey;
|
|
||||||
class CScript;
|
class CScript;
|
||||||
class CTransaction;
|
class CScriptNum;
|
||||||
class CTxOut;
|
class XOnlyPubKey;
|
||||||
class uint256;
|
struct CScriptWitness;
|
||||||
|
|
||||||
/** Signature hash types/flags */
|
/** Signature hash types/flags */
|
||||||
enum
|
enum
|
||||||
|
@ -3,12 +3,17 @@
|
|||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include <consensus/amount.h>
|
#include <consensus/amount.h>
|
||||||
#include <pubkey.h>
|
#include <primitives/transaction.h>
|
||||||
#include <script/interpreter.h>
|
#include <script/interpreter.h>
|
||||||
|
#include <serialize.h>
|
||||||
#include <streams.h>
|
#include <streams.h>
|
||||||
|
#include <test/fuzz/fuzz.h>
|
||||||
#include <test/util/script.h>
|
#include <test/util/script.h>
|
||||||
|
|
||||||
#include <test/fuzz/fuzz.h>
|
#include <cassert>
|
||||||
|
#include <ios>
|
||||||
|
#include <utility>
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
FUZZ_TARGET(script_flags)
|
FUZZ_TARGET(script_flags)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user