mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
AFL without globals (#220)
* moved globals to afl, shm and fsrv * moved argv to afl state, less bugs * fixed unicorn docu * lists everywhere * merged custom mutators * fixed leaks in afl-fuzz
This commit is contained in:
@ -28,16 +28,14 @@
|
||||
|
||||
#include <sys/time.h>
|
||||
#include "types.h"
|
||||
#include "stdbool.h"
|
||||
|
||||
extern u8* target_path; /* Path to target binary */
|
||||
|
||||
void detect_file_args(char** argv, u8* prog_in);
|
||||
void detect_file_args(char** argv, u8* prog_in, u8 use_stdin);
|
||||
void check_environment_vars(char** env);
|
||||
|
||||
char** get_qemu_argv(u8* own_loc, char** argv, int argc);
|
||||
char** get_wine_argv(u8* own_loc, char** argv, int argc);
|
||||
char** get_qemu_argv(u8* own_loc, u8 **target_path_p, int argc, char **argv);
|
||||
char** get_wine_argv(u8* own_loc, u8 **target_path_p, int argc, char **argv);
|
||||
char* get_afl_env(char* env);
|
||||
#endif
|
||||
|
||||
/* Get unix time in milliseconds */
|
||||
|
||||
@ -65,3 +63,4 @@ static u64 get_cur_time_us(void) {
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user