blob: e7360e33b9b9f4013a9e9650a8e7ff3c633db532 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef DROPBEAR_FUZZ_H
#define DROPBEAR_FUZZ_H
#include "includes.h"
#include "buffer.h"
#ifdef DROPBEAR_FUZZ
void svr_setup_fuzzer(void);
struct dropbear_fuzz_options {
int fuzzing;
// to record an unencrypted stream
FILE* recordf;
// fuzzing input
buffer input;
// dropbear_exit() jumps back
sigjmp_buf jmp;
uid_t pw_uid;
gid_t pw_gid;
char* pw_name;
char* pw_dir;
char* pw_shell;
char* pw_passwd;
};
extern struct dropbear_fuzz_options fuzz;
#endif
#endif /* DROPBEAR_FUZZ_H */
|