Skip to content
Snippets Groups Projects
Commit 97b561cb authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Initialize vars to random values

parent 694b71b4
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,8 @@ typedef int32_t s32;
// externally visible so that Zipr transformations can access directly
u8* zafl_trace_map = NULL;
unsigned short zafl_prev_id = 0;
unsigned short zafl_context = 0;
unsigned int zafl_prev_id = 123;
unsigned int zafl_context = 45678;
static s32 shm_id;
static int __afl_temp_data;
......@@ -182,7 +182,8 @@ void zafl_dumpTracemap()
if (!debug) return;
if (!zafl_trace_map) return;
printf("\nDEBUG output -- trace map\n");
printf("\n=== DEBUG output -- trace map\n");
printf("\n=== zafl_context: %d\n", zafl_context);
for (i = 0; i < MAP_SIZE; ++i)
{
if (zafl_trace_map[i]!=0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment