mirror of https://github.com/ConsenSys/mythril
commit
284545ea7d
@ -0,0 +1,37 @@ |
||||
# Analysis results for {{ filename }} |
||||
{% if issues %} |
||||
{% for key, issue in issues.items() %} |
||||
|
||||
## {{ issue.title }} |
||||
|
||||
- Type: {{ issue.type }} |
||||
- Contract: {{ issue.contract | default("Unknown") }} |
||||
- Function name: `{{ issue.function }}` |
||||
- PC address: {{ issue.address }} |
||||
|
||||
### Description |
||||
|
||||
{{ issue.description.rstrip() }} |
||||
{% if issue.filename and issue.lineno %} |
||||
In file: {{ issue.filename }}:{{ issue.lineno }} |
||||
{% endif %} |
||||
{% if issue.code %} |
||||
|
||||
### Code |
||||
|
||||
``` |
||||
{{ issue.code }} |
||||
``` |
||||
{% endif %} |
||||
{% if verbose and issue.debug %} |
||||
-------------------- |
||||
### Debugging Information: |
||||
|
||||
{{ issue.debug }} |
||||
|
||||
{% endif %} |
||||
{% endfor %} |
||||
{% else %} |
||||
|
||||
The analysis was completed successfully. No issues were detected. |
||||
{% endif %} |
@ -0,0 +1,29 @@ |
||||
{% if issues %} |
||||
{% for key, issue in issues.items() %} |
||||
==== {{ issue.title }} ==== |
||||
Type: {{ issue.type }} |
||||
Contract: {{ issue.contract | default("Unknown") }} |
||||
Function name: {{ issue.function }} |
||||
PC address: {{ issue.address }} |
||||
{{ issue.description }} |
||||
-------------------- |
||||
{% if issue.filename and issue.lineno %} |
||||
In file: {{ issue.filename }}:{{ issue.lineno }} |
||||
{% endif %} |
||||
{% if issue.code %} |
||||
|
||||
{{ issue.code }} |
||||
|
||||
-------------------- |
||||
{% endif %} |
||||
{% if verbose and issue.debug %} |
||||
-------------------- |
||||
DEBUGGING INFORMATION: |
||||
|
||||
{{ issue.debug }} |
||||
{% endif %} |
||||
|
||||
{% endfor %} |
||||
{% else %} |
||||
The analysis was completed successfully. No issues were detected. |
||||
{% endif %} |
Loading…
Reference in new issue