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,8 +48,10 @@ Models
|
||||
EVM
|
||||
---
|
||||
.. automodule:: manticore.platforms.evm
|
||||
.. automodule:: manticore.ethereum
|
||||
:members:
|
||||
.. autoclass:: manticore.ethereum.ABI
|
||||
:members:
|
||||
.. autoclass:: manticore.ethereum.ManticoreEVM
|
||||
:members:
|
||||
|
||||
EVM Assembler
|
||||
-------------
|
||||
|
||||
@ -1273,6 +1273,11 @@ class ManticoreEVM(Manticore):
|
||||
statef.write(iterpickle.dumps(state, 2))
|
||||
|
||||
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
|
||||
# and generate a testcase for each
|
||||
q = Queue()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user