Mercurial > dropbear
comparison runopts.h @ 1348:5c2899e35b63 fuzz
fuzz harness
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 13 May 2017 22:50:54 +0800 |
parents | b28624698130 |
children | 3fdd8c5a0195 |
comparison
equal
deleted
inserted
replaced
1347:b28624698130 | 1348:5c2899e35b63 |
---|---|
54 #endif | 54 #endif |
55 | 55 |
56 #ifdef ENABLE_USER_ALGO_LIST | 56 #ifdef ENABLE_USER_ALGO_LIST |
57 char *cipher_list; | 57 char *cipher_list; |
58 char *mac_list; | 58 char *mac_list; |
59 #endif | |
60 | |
61 #ifdef DROPBEAR_FUZZ | |
62 struct { | |
63 int fuzzing; | |
64 | |
65 // to record an unencrypted stream | |
66 FILE* recordf; | |
67 | |
68 // fuzzing input | |
69 buffer *input; | |
70 | |
71 // dropbear_exit() jumps back | |
72 sigjmp_buf jmp; | |
73 | |
74 uid_t pw_uid; | |
75 gid_t pw_gid; | |
76 char* pw_name; | |
77 char* pw_dir; | |
78 char* pw_shell; | |
79 char* pw_passwd; | |
80 | |
81 } fuzz; | |
82 #endif | 59 #endif |
83 | 60 |
84 } runopts; | 61 } runopts; |
85 | 62 |
86 extern runopts opts; | 63 extern runopts opts; |