mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
code-format - and afl-cmin/afl-showmap was fixed in the bugfix for afl-tmin
This commit is contained in:
@ -58,6 +58,7 @@ void detect_file_args(char** argv, u8* prog_in, u8 *use_stdin) {
|
||||
PFATAL("getcwd() failed");
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (!cwd) PFATAL("getcwd() failed");
|
||||
@ -135,12 +136,15 @@ void argv_cpy_free(char **argv) {
|
||||
|
||||
u32 i = 0;
|
||||
while (argv[i]) {
|
||||
|
||||
ck_free(argv[i]);
|
||||
i++;
|
||||
}
|
||||
ck_free(argv);
|
||||
|
||||
}
|
||||
|
||||
ck_free(argv);
|
||||
|
||||
}
|
||||
|
||||
/* Rewrite argv for QEMU. */
|
||||
|
||||
@ -360,7 +364,7 @@ char* get_afl_env(char* env) {
|
||||
|
||||
if ((val = getenv(env)) != NULL)
|
||||
if (!be_quiet)
|
||||
OKF("Loaded environment variable %s with value %s\n", env, val);
|
||||
OKF("Loaded environment variable %s with value %s", env, val);
|
||||
|
||||
return val;
|
||||
|
||||
|
@ -135,7 +135,8 @@ void handle_timeout(int sig) {
|
||||
|
||||
void afl_fsrv_init(afl_forkserver_t *fsrv) {
|
||||
|
||||
// this structure needs default so we initialize it if this was not done already
|
||||
// this structure needs default so we initialize it if this was not done
|
||||
// already
|
||||
|
||||
if (!fsrv->use_stdin) {
|
||||
|
||||
|
Reference in New Issue
Block a user