Skip to content

Commit 85a0a8e

Browse files
Correct node ID display in Callsite column (#2137)
Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent 341d034 commit 85a0a8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fuzz_introspector/analyses/calltree_analysis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def create_calltree(self, profile: fuzzer_profile.FuzzerProfile,
120120
link = node.cov_link
121121
ct_idx_str = self.create_str_node_ctx_idx(str(node.cov_ct_idx))
122122

123-
# Only display [function] link if we have, otherwhise show no
123+
# Only display [function] link if we have, otherwise show no
124124
# [function] text.
125125
if node.dst_function_source_file.replace(" ", "") != "":
126126
func_href = f"""<a href="{link}">[function]</a>"""
@@ -391,7 +391,7 @@ def create_fuzz_blocker_table(
391391
else:
392392
cs_link = ("<span class=\"text-link\" "
393393
f"onclick=\" scrollToNodeInCT('{node_id}')\">"
394-
"call site: {node_id}</span>")
394+
f"call site: {node_id}</span>")
395395
html_table_string += html_helpers.html_table_add_row([
396396
str(node.cov_forward_reds),
397397
str(node.cov_ct_idx), node.cov_parent, cs_link,
@@ -441,7 +441,7 @@ def create_branch_blocker_table(
441441
("Function Callsite",
442442
"The blocking function callsite in the calltree"),
443443
("Blocked Branch",
444-
"The line of code correspoinding to the blocked branch"),
444+
"The line of code corresponding to the blocked branch"),
445445
]
446446
html_table_string += html_helpers.html_create_table_head(
447447
tables[-1], branch_table_rows, sort_by_column=0, sort_order="desc")

0 commit comments

Comments
 (0)