Documentation
¶
Index ¶
- func BeaconFuzzAttestation(b []byte) ([]byte, bool)
- func BeaconFuzzAttesterSlashing(b []byte) ([]byte, bool)
- func BeaconFuzzBlock(b []byte) ([]byte, bool)
- func BeaconFuzzBlockHeader(b []byte) ([]byte, bool)
- func BeaconFuzzDeposit(b []byte) ([]byte, bool)
- func BeaconFuzzP2PRPCStatus(b []byte)
- func BeaconFuzzSSZCache(input []byte)
- func BeaconFuzzVoluntaryExit(b []byte) ([]byte, bool)
- type InputAttestationWrapper
- type InputAttesterSlashingWrapper
- type InputBlockHeader
- type InputDepositWrapper
- type InputProposerSlashingWrapper
- type InputVoluntaryExitWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeaconFuzzAttestation ¶
BeaconFuzzAttestation implements libfuzzer and beacon fuzz interface.
func BeaconFuzzAttesterSlashing ¶
BeaconFuzzAttesterSlashing implements libfuzzer and beacon fuzz interface.
func BeaconFuzzBlock ¶
BeaconFuzzBlock using the corpora from sigp/beacon-fuzz.
func BeaconFuzzBlockHeader ¶
BeaconFuzzBlockHeader using the corpora from sigp/beacon-fuzz.
func BeaconFuzzDeposit ¶
BeaconFuzzDeposit implements libfuzzer and beacon fuzz interface.
func BeaconFuzzP2PRPCStatus ¶
func BeaconFuzzP2PRPCStatus(b []byte)
BeaconFuzzP2PRPCStatus implements libfuzzer and beacon fuzz interface.
func BeaconFuzzSSZCache ¶
func BeaconFuzzSSZCache(input []byte)
BeaconFuzzSSZCache for testing critical paths along the ssz cache for beacon state HTR.
func BeaconFuzzVoluntaryExit ¶
BeaconFuzzVoluntaryExit implements libfuzzer and beacon fuzz interface.
Types ¶
type InputAttestationWrapper ¶
type InputAttestationWrapper struct {
StateID uint16
Attestation *ethpb.Attestation
}
InputAttestationWrapper for fuzz testing attestations.
type InputAttesterSlashingWrapper ¶
type InputAttesterSlashingWrapper struct {
StateID uint16
AttesterSlashing *ethpb.AttesterSlashing
}
InputAttesterSlashingWrapper for fuzz testing attester slashing.
type InputBlockHeader ¶
type InputBlockHeader struct {
StateID uint16
Block *ethpb.BeaconBlock
}
InputBlockHeader for fuzz testing beacon block headers.
type InputDepositWrapper ¶
InputDepositWrapper for fuzz testing deposits.
type InputProposerSlashingWrapper ¶
type InputProposerSlashingWrapper struct {
StateID uint16
ProposerSlashing *ethpb.ProposerSlashing
}
InputProposerSlashingWrapper for fuzz testing proposer slashings.
type InputVoluntaryExitWrapper ¶
type InputVoluntaryExitWrapper struct {
StateID uint16
VoluntaryExit *ethpb.VoluntaryExit
}
InputVoluntaryExitWrapper for fuzz testing voluntary exits.