mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 03:18:07 +00:00
no more (?) statics
This commit is contained in:
@ -465,6 +465,8 @@ static void write_crash_readme(afl_state_t *afl) {
|
||||
s32 fd;
|
||||
FILE *f;
|
||||
|
||||
u8 int_buf[16];
|
||||
|
||||
fd = open(fn, O_WRONLY | O_CREAT | O_EXCL, 0600);
|
||||
ck_free(fn);
|
||||
|
||||
@ -501,7 +503,9 @@ static void write_crash_readme(afl_state_t *afl) {
|
||||
|
||||
" https://github.com/AFLplusplus/AFLplusplus\n\n",
|
||||
|
||||
afl->orig_cmdline, DMS(afl->fsrv.mem_limit << 20)); /* ignore errors */
|
||||
afl->orig_cmdline,
|
||||
DMS(int_buf, sizeof(int_buf),
|
||||
afl->fsrv.mem_limit << 20)); /* ignore errors */
|
||||
|
||||
fclose(f);
|
||||
|
||||
|
Reference in New Issue
Block a user