Improve evm docs (#816)
* Add docstr for finalize * prune unnecessary stuff from docs * Add trace file * Revert "Add trace file" 4687810e15c2bc6cc3e729c32bdad2f617679d77
This commit is contained in:
parent
eaa0e524b4
commit
a21c8b6012
@ -48,7 +48,9 @@ Models
|
|||||||
EVM
|
EVM
|
||||||
---
|
---
|
||||||
.. automodule:: manticore.platforms.evm
|
.. automodule:: manticore.platforms.evm
|
||||||
.. automodule:: manticore.ethereum
|
.. autoclass:: manticore.ethereum.ABI
|
||||||
|
:members:
|
||||||
|
.. autoclass:: manticore.ethereum.ManticoreEVM
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
EVM Assembler
|
EVM Assembler
|
||||||
|
|||||||
@ -1273,6 +1273,11 @@ class ManticoreEVM(Manticore):
|
|||||||
statef.write(iterpickle.dumps(state, 2))
|
statef.write(iterpickle.dumps(state, 2))
|
||||||
|
|
||||||
def finalize(self):
|
def finalize(self):
|
||||||
|
"""
|
||||||
|
Terminate and generate testcases for all currently alive states (contract states that cleanly executed
|
||||||
|
to a STOP or RETURN in the last symbolic transaction).
|
||||||
|
"""
|
||||||
|
|
||||||
# move runnign states to final states list
|
# move runnign states to final states list
|
||||||
# and generate a testcase for each
|
# and generate a testcase for each
|
||||||
q = Queue()
|
q = Queue()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user