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