mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-22 05:14:46 -07:00
32 lines
550 B
C
32 lines
550 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#define FUZZ_TIME_DELAY_MIN (4)
|
|
#define FUZZ_TIME_DELAY_DEFAULT (8)
|
|
#define FUZZ_TIME_DELAY_MAX (80)
|
|
|
|
typedef enum {
|
|
DS1990,
|
|
Metakom,
|
|
Cyfral,
|
|
// Reserved
|
|
FuzzerProtoMax,
|
|
} FuzzerProtos;
|
|
|
|
struct ProtoDict {
|
|
const uint8_t* val;
|
|
const uint8_t len;
|
|
};
|
|
|
|
typedef struct ProtoDict ProtoDict;
|
|
|
|
struct FuzzerProtocol {
|
|
const char* name;
|
|
const uint8_t data_size;
|
|
const ProtoDict dict;
|
|
};
|
|
|
|
typedef struct FuzzerProtocol FuzzerProtocol;
|
|
|
|
extern const FuzzerProtocol fuzzer_proto_items[]; |