23 script_mut = std::move(
s);
46 (void)
script.GetSigOpCount(
false);
47 (void)
script.GetSigOpCount(
true);
49 (void)
script.HasValidOps();
50 (void)
script.IsPayToScriptHash();
51 (void)
script.IsPayToWitnessScriptHash();
53 (void)
script.IsUnspendable();
57 (void)
script.GetOp(pc, opcode);
58 std::vector<uint8_t>
data;
60 (void)
script.IsPushOnly(pc);
64 std::vector<uint8_t> program;
65 (void)
script.IsWitnessProgram(version, program);
Serialized script, used inside transaction inputs and outputs.
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
opcodetype
Script opcodes.
CScript ConsumeScript(FuzzedDataProvider &fuzzed_data_provider, const bool maybe_p2wsh) noexcept
CScriptNum ConsumeScriptNum(FuzzedDataProvider &fuzzed_data_provider) noexcept
size_t CallOneOf(FuzzedDataProvider &fuzzed_data_provider, Callables... callables)
std::vector< B > ConsumeRandomLengthByteVector(FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept
opcodetype ConsumeOpcodeType(FuzzedDataProvider &fuzzed_data_provider) noexcept