Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
  • Loading branch information
arthurscchan committed Jan 12, 2024
1 parent ce43d1c commit b9b1aa3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/fuzz_introspector/analyses/sinks_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ def _retrieve_content_rows(
callpath_name_list)

if len(fd.reached_by_fuzzers) == 0:
fuzzer_callpath = self._handle_callpath_dict(callpath_dict, proj_profile, fd)
fuzzer_callpath = self._handle_callpath_dict(
callpath_dict, proj_profile, fd)
blocker = "N/A"
else:
fuzzer_callpath = "N/A"
Expand All @@ -469,7 +470,8 @@ def _retrieve_content_rows(
if self._retrieve_fuzzer_hitcount(fd, coverage) == 0:
blocker_list = self._determine_branch_blocker(
callpath_list, proj_profile)
blocker = self._print_blocker_list(blocker_list, proj_profile)
blocker = self._print_blocker_list(blocker_list,
proj_profile)
else:
blocker = "N/A"

Expand All @@ -482,7 +484,8 @@ def _retrieve_content_rows(
if blocker != "N/A":
row_split = row.rsplit('<td><table>', 1)
row = f'{row_split[0]}<td style="max-width: 600px"><table>{row_split[1]}'
html_string += row

html_string += row

json_dict['func_name'] = fd.function_name
json_dict['fuzzer_reach'] = fd.reached_by_fuzzers
Expand Down

0 comments on commit b9b1aa3

Please sign in to comment.