mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
code format
This commit is contained in:
@ -1145,6 +1145,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
|||||||
if (!have_pic) { cc_params[cc_par_cnt++] = "-fPIC"; }
|
if (!have_pic) { cc_params[cc_par_cnt++] = "-fPIC"; }
|
||||||
|
|
||||||
if (!getenv("AFL_LLVM_NO_RPATH")) {
|
if (!getenv("AFL_LLVM_NO_RPATH")) {
|
||||||
|
|
||||||
// in case LLVM is installed not via a package manager or "make install"
|
// in case LLVM is installed not via a package manager or "make install"
|
||||||
// e.g. compiled download or compiled from github then its ./lib directory
|
// e.g. compiled download or compiled from github then its ./lib directory
|
||||||
// might not be in the search path. Add it if so.
|
// might not be in the search path. Add it if so.
|
||||||
|
@ -866,7 +866,8 @@ save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
|
|||||||
if (unlikely(fd < 0)) { PFATAL("Unable to create '%s'", fn_log); }
|
if (unlikely(fd < 0)) { PFATAL("Unable to create '%s'", fn_log); }
|
||||||
|
|
||||||
u32 nyx_aux_string_len = afl->fsrv.nyx_handlers->nyx_get_aux_string(
|
u32 nyx_aux_string_len = afl->fsrv.nyx_handlers->nyx_get_aux_string(
|
||||||
afl->fsrv.nyx_runner, afl->fsrv.nyx_aux_string, afl->fsrv.nyx_aux_string_len);
|
afl->fsrv.nyx_runner, afl->fsrv.nyx_aux_string,
|
||||||
|
afl->fsrv.nyx_aux_string_len);
|
||||||
|
|
||||||
ck_write(fd, afl->fsrv.nyx_aux_string, nyx_aux_string_len, fn_log);
|
ck_write(fd, afl->fsrv.nyx_aux_string, nyx_aux_string_len, fn_log);
|
||||||
close(fd);
|
close(fd);
|
||||||
|
Reference in New Issue
Block a user