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:
@ -196,6 +196,8 @@ u8 trim_case_custom(afl_state_t *afl, struct queue_entry *q, u8 *in_buf) {
|
||||
u32 trim_exec = 0;
|
||||
u32 orig_len = q->len;
|
||||
|
||||
u8 int_buf[16];
|
||||
|
||||
if (afl->stage_name != afl->stage_name_buf)
|
||||
afl->stage_name = afl->stage_name_buf;
|
||||
afl->bytes_trim_in += q->len;
|
||||
@ -210,7 +212,8 @@ u8 trim_case_custom(afl_state_t *afl, struct queue_entry *q, u8 *in_buf) {
|
||||
|
||||
while (afl->stage_cur < afl->stage_max) {
|
||||
|
||||
snprintf(afl->stage_name_buf, STAGE_BUF_SIZE, "ptrim %s", DI(trim_exec));
|
||||
snprintf(afl->stage_name_buf, STAGE_BUF_SIZE, "ptrim %s",
|
||||
DI(int_buf, sizeof(int_buf), trim_exec));
|
||||
|
||||
u32 cksum;
|
||||
|
||||
|
Reference in New Issue
Block a user