Skip to content

Commit f0edb74

Browse files
authored
Fix typo in codebase: lables (ev-flow#414)
1 parent a6276cd commit f0edb74

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ See our demo [here](https://pulorsok.github.io/ruleviewer/web-report-demo).
8484
quark -a sample.apk -s -w quark_report.html
8585
```
8686

87-
![](https://i.imgur.com/hG3Ag8t.png)
87+
![](https://i.imgur.com/uizHQan.jpg)
8888

8989
## Navigate the Rules
9090

quark/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def entry_point(
272272

273273
show_comparison_graph(
274274
title=f"Malicious Actions Comparison Between {len(apk)} Malwares",
275-
lables=selected_label,
275+
labels=selected_label,
276276
malware_confidences=malware_confidences,
277277
font_size=22,
278278
)

quark/utils/graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def call_graph(call_graph_analysis, output_format="png"):
217217
)
218218

219219

220-
def show_comparison_graph(title, lables, malware_confidences, font_size=22):
220+
def show_comparison_graph(title, labels, malware_confidences, font_size=22):
221221
"""
222222
show radar chart based on max label confidence of several malwares
223223
:param title: title of the graph to be displayed
@@ -246,7 +246,7 @@ def show_comparison_graph(title, lables, malware_confidences, font_size=22):
246246
fig.add_trace(
247247
go.Scatterpolar(
248248
r=malware_confidences[malware_name],
249-
theta=lables,
249+
theta=labels,
250250
fill="toself",
251251
name=malware_name,
252252
line=dict(

quark/webreport/analysis_report_layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ <h4>Sample Information</h4>
423423
<div class="row radar-chart">
424424
<div class="col-md-6"><canvas id="myChart" width="400" height="400"></canvas></div>
425425
<div class="col-md-6">
426-
<h3>Select lables to see max confidence in radare chart</h3>
426+
<h3>Select labels to see max confidence in radare chart</h3>
427427
<div class="label-group">
428428
$all_labels_html$
429429
</div>

0 commit comments

Comments
 (0)