mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 01:03:22 +00:00
32 lines
No EOL
550 B
C
32 lines
No EOL
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[]; |