mirror of https://github.com/ConsenSys/mythril
commit
6165c83e1b
@ -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 %} |
@ -1 +1 @@ |
||||
606060405260043610610078576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806312065fe01461008257806327e235e3146100ab57806356885cd8146100f85780636c343ffe1461010d5780638da5cb5b14610122578063e8b5e51f14610177575b610080610181565b005b341561008d57600080fd5b6100956101ec565b6040518082815260200191505060405180910390f35b34156100b657600080fd5b6100e2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610232565b6040518082815260200191505060405180910390f35b341561010357600080fd5b61010b61024a565b005b341561011857600080fd5b61012061028d565b005b341561012d57600080fd5b610135610342565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61017f610181565b005b60025434118015610193575060035434105b151561019e57600080fd5b346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60006020528060005260406000206000915090505481565b33600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156102e957600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561034057600080fd5b565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16815600a165627a7a72305820bbf8d45345e3ef7004b6445155bc5f20c8a6dc61dec2637ed9f5eb80f5b2ab0a0029 |
||||
608060405260043610610078576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806312065fe01461007d57806327e235e3146100a857806356885cd8146100ff5780636c343ffe146101165780638da5cb5b1461012d578063e8b5e51f14610184575b600080fd5b34801561008957600080fd5b5061009261018e565b6040518082815260200191505060405180910390f35b3480156100b457600080fd5b506100e9600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506101d4565b6040518082815260200191505060405180910390f35b34801561010b57600080fd5b506101146101ec565b005b34801561012257600080fd5b5061012b61022f565b005b34801561013957600080fd5b506101426102eb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61018c610311565b005b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60006020528060005260406000206000915090505481565b33600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561028b57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501580156102e8573d6000803e3d6000fd5b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025434118015610323575060035434105b151561032e57600080fd5b346000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505600a165627a7a72305820402df619c16e4325eb7830ed063880a283ac25dff982b6a5be67138df0c209550029 |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue