mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
adjusted int_bufs
This commit is contained in:
@ -323,7 +323,7 @@ void read_testcases(afl_state_t *afl) {
|
||||
u32 i;
|
||||
u8 * fn1;
|
||||
|
||||
u8 int_buf[12][16];
|
||||
u8 int_buf[2][16];
|
||||
|
||||
/* Auto-detect non-in-place resumption attempts. */
|
||||
|
||||
@ -556,7 +556,7 @@ void perform_dry_run(afl_state_t *afl) {
|
||||
|
||||
if (afl->fsrv.mem_limit) {
|
||||
|
||||
u8 int_tmp[16];
|
||||
u8 int_buf[16];
|
||||
|
||||
SAYF("\n" cLRD "[-] " cRST
|
||||
"Oops, the program crashed with one of the test cases provided. "
|
||||
@ -598,7 +598,7 @@ void perform_dry_run(afl_state_t *afl) {
|
||||
"other options\n"
|
||||
" fail, poke <afl-users@googlegroups.com> for "
|
||||
"troubleshooting tips.\n",
|
||||
DMS(int_tmp, sizeof(int_tmp), afl->fsrv.mem_limit << 20),
|
||||
DMS(int_buf, sizeof(int_buf), afl->fsrv.mem_limit << 20),
|
||||
afl->fsrv.mem_limit - 1, doc_path);
|
||||
|
||||
} else {
|
||||
|
@ -205,7 +205,7 @@ void show_stats(afl_state_t *afl) {
|
||||
u8 tmp[256];
|
||||
u8 time_tmp[64];
|
||||
|
||||
u8 int_buf[16][16];
|
||||
u8 int_buf[8][16];
|
||||
#define IB(i) int_buf[(i)], sizeof(int_buf[(i)])
|
||||
|
||||
cur_ms = get_cur_time();
|
||||
@ -789,8 +789,8 @@ void show_init_stats(afl_state_t *afl) {
|
||||
u64 avg_us = 0;
|
||||
u32 max_len = 0;
|
||||
|
||||
u8 int_buf[12][16];
|
||||
#define IB(i) int_buf[(i)], sizeof(int_buf[(i)])
|
||||
u8 int_bufs[4][16];
|
||||
#define IB(i) int_bufs[(i)], sizeof(int_bufs[(i)])
|
||||
|
||||
if (afl->total_cal_cycles) avg_us = afl->total_cal_us / afl->total_cal_cycles;
|
||||
|
||||
|
Reference in New Issue
Block a user