mirror of https://github.com/ConsenSys/mythril
parent
aaf0b81091
commit
262461549d
@ -0,0 +1,36 @@ |
||||
# 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 }} |
||||
|
||||
{% 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 -%} |
Loading…
Reference in new issue