TSDuck v3.38-3707
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::TSFuzzing Class Reference

Transport stream packets fuzzing. More...

#include <tsTSFuzzing.h>

Public Member Functions

 TSFuzzing (DuckContext &duck)
 Constructor.
 
bool processPacket (TSPacket &pkt)
 Process one packet from the stream.
 
bool start (const TSFuzzingArgs &options)
 Initialize the fuzzing operations.
 

Detailed Description

Transport stream packets fuzzing.

This class performs random corruptions on transport streams packets.

Constructor & Destructor Documentation

◆ TSFuzzing()

ts::TSFuzzing::TSFuzzing ( DuckContext duck)
inline

Constructor.

Parameters
[in,out]duckTSDuck execution context. The reference is kept inside this object.

Member Function Documentation

◆ start()

bool ts::TSFuzzing::start ( const TSFuzzingArgs options)

Initialize the fuzzing operations.

Parameters
[in]optionsFuzzing options.
Returns
True on success, false on error.

◆ processPacket()

bool ts::TSFuzzing::processPacket ( TSPacket pkt)

Process one packet from the stream.

Parameters
[in,out]pktA TS packet from the stream. It may be corrupted on output, based on fuzzing options.
Returns
True on success, false on error.

The documentation for this class was generated from the following file: