afl-fuzz.c
static void update_top_explore_interesting(void){
  for(u32 i_lh = 0; i_lh < TOP_NUM; i_lh++){
    all_explore_interesting[i_lh] = 0;
    struct top_mem* top_cur = top_queue[i_lh];
    while(top_cur){
      all_explore_interesting[i_lh] += top_cur->testcase->interesting;
      top_cur = top_cur->next;
    }
  }
}
/* Update top_queue to determine the reward of each top. Created by LH. */
Update top_queue to determine the reward of each top. Created by LH.
Update top_queue to determine the reward of each top . Created by LH .
static void update_top_explore_interesting(void){
  for(u32 i_lh = 0; i_lh < TOP_NUM; i_lh++){
    all_explore_interesting[i_lh] = 0;
    struct top_mem* top_cur = top_queue[i_lh];
    while(top_cur){
      all_explore_interesting[i_lh] += top_cur->testcase->interesting;
      top_cur = top_cur->next;
    }
  }
}
static void update_top_explore_interesting ( void ) { for ( u32 i_lh = 0 ; i_lh < TOP_NUM ; i_lh ++ ) { all_explore_interesting [ i_lh ] = 0 ; struct top_mem * top_cur = top_queue [ i_lh ] ; while ( top_cur ) { all_explore_interesting [ i_lh ] += top_cur -> testcase -> interesting ; top_cur = top_cur -> next ; } } }
Update top_queue to determine the reward of each top.
Update top_queue to determine the reward of each top .