37#include "exceptions.h"
73#define FUZZ_CTRL_LEN 4
89#define FUZZ_STRUCTURED_LANE_THRESHOLD 102
92#define FUZZ_CMD_HAS_DATA (1u << 0)
104#define FUZZ_COMMAND_COUNT() \
105 const size_t fuzz_n_commands = sizeof(fuzz_commands) / sizeof(fuzz_commands[0])
size_t fuzz_tail_len
Length of fuzz_tail_ptr in bytes.
const uint8_t * fuzz_tail_ptr
The APDU payload for the current iteration (NULL when empty).
try_context_t fuzz_exit_jump_ctx
longjmp landing pad the harness unwinds os_exit() through.
const size_t fuzz_absolution_prefix_size
Size in bytes of Absolution's sampled state prefix.
Describes one APDU command the harness may synthesise and dispatch.
uint8_t flags
Bitfield of FUZZ_CMD_* flags.
uint8_t p2_max
Upper bound for P2 (0 = full range [0,255]).
uint8_t p1_max
Upper bound for P1 (0 = full range [0,255]).
uint8_t ins
APDU instruction byte.
uint8_t cla
APDU class byte.