Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
fuzz_defs.h
Go to the documentation of this file.
1#pragma once
7#include <stdint.h>
8
23#define FUZZ_STRUCTURED_LANE_THRESHOLD 102
24
26#define FUZZ_CMD_HAS_DATA (1u << 0)
27
29typedef struct {
30 uint8_t cla;
31 uint8_t ins;
32 uint8_t p1_max;
33 uint8_t p2_max;
34 uint8_t flags;
Describes one APDU command the harness may synthesise and dispatch.
Definition fuzz_defs.h:29
uint8_t flags
Bitfield of FUZZ_CMD_* flags.
Definition fuzz_defs.h:34
uint8_t p2_max
Upper bound for P2 (0 = full range [0,255]).
Definition fuzz_defs.h:33
uint8_t p1_max
Upper bound for P1 (0 = full range [0,255]).
Definition fuzz_defs.h:32
uint8_t ins
APDU instruction byte.
Definition fuzz_defs.h:31
uint8_t cla
APDU class byte.
Definition fuzz_defs.h:30