@@ -110,6 +110,24 @@ def create_all_function_table(
110110 else :
111111 reached_by_fuzzers_row = "0"
112112
113+ collapsible_id = demangled_func_name + random_suffix
114+ if fd .hitcount_runtime > 0 :
115+ reached_by_fuzzers_runtime_row = html_helpers .create_collapsible_element (
116+ str (fd .hitcount_runtime ),
117+ str (fd .reached_by_fuzzers_runtime ),
118+ collapsible_id )
119+ else :
120+ reached_by_fuzzers_runtime_row = "0"
121+
122+ collapsible_id = demangled_func_name + random_suffix
123+ if fd .hitcount_combined > 0 :
124+ reached_by_fuzzers_combined_row = html_helpers .create_collapsible_element (
125+ str (fd .hitcount_combined ),
126+ str (fd .reached_by_fuzzers_combined ),
127+ collapsible_id )
128+ else :
129+ reached_by_fuzzers_combined_row = "0"
130+
113131 if fd .arg_count > 0 :
114132 args_row = html_helpers .create_collapsible_element (
115133 str (fd .arg_count ), str (fd .arg_types ), collapsible_id + "2" )
@@ -123,6 +141,9 @@ def create_all_function_table(
123141 "Args" : args_row ,
124142 "Function call depth" : fd .function_depth ,
125143 "Reached by Fuzzers" : reached_by_fuzzers_row ,
144+ "Reached by Fuzzers (Runtime)" : reached_by_fuzzers_runtime_row ,
145+ "Reached by Fuzzers (Statically and Runtime)" :
146+ reached_by_fuzzers_combined_row ,
126147 "collapsible_id" : collapsible_id ,
127148 "Fuzzers runtime hit" : func_hit_at_runtime_row ,
128149 "Func lines hit %" : "%.5s" % (str (hit_percentage )) + "%" ,
@@ -150,6 +171,8 @@ def create_all_function_table(
150171 json_copy ['Args' ] = fd .arg_types
151172 json_copy ['ArgNames' ] = fd .arg_names
152173 json_copy ['Reached by Fuzzers' ] = fd .reached_by_fuzzers
174+ json_copy ['Runtime reached by Fuzzers' ] = fd .reached_by_fuzzers_runtime
175+ json_copy ['Combined reached by Fuzzers' ] = fd .reached_by_fuzzers_combined
153176 json_copy ['return_type' ] = fd .return_type
154177 json_copy ['raw-function-name' ] = fd .raw_function_name
155178 json_copy ['callsites' ] = fd .callsite
@@ -863,6 +886,8 @@ def create_html_report(introspection_proj: analysis.IntrospectionProject,
863886 json_copy ['ArgNames' ] = fd .arg_names
864887 json_copy ['Function call depth' ] = fd .function_depth
865888 json_copy ['Reached by Fuzzers' ] = fd .reached_by_fuzzers
889+ json_copy ['Runtime reached by Fuzzers' ] = fd .reached_by_fuzzers_runtime
890+ json_copy ['Combined reached by Fuzzers' ] = fd .reached_by_fuzzers_combined
866891 json_copy ['collapsible_id' ] = fd .function_name
867892 json_copy ['return_type' ] = fd .return_type
868893 json_copy ['raw-function-name' ] = fd .raw_function_name
0 commit comments