TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
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. | |
Transport stream packets fuzzing.
This class performs random corruptions on transport streams packets.
|
inline |
Constructor.
[in,out] | duck | TSDuck execution context. The reference is kept inside this object. |
bool ts::TSFuzzing::start | ( | const TSFuzzingArgs & | options | ) |
Initialize the fuzzing operations.
[in] | options | Fuzzing options. |
bool ts::TSFuzzing::processPacket | ( | TSPacket & | pkt | ) |
Process one packet from the stream.
[in,out] | pkt | A TS packet from the stream. It may be corrupted on output, based on fuzzing options. |