Rizin
unix-like reverse engineering framework and cli tools
evm.py
Go to the documentation of this file.
1
# Capstone Python bindings, by Nguyen Anh Quynnh <aquynh@gmail.com>
2
3
import
ctypes
4
from
.
import
copy_ctypes_list
5
from
.evm_const
import
*
6
7
# define the API
8
class
CsEvm
(ctypes.Structure):
9
_fields_ = (
10
(
'pop'
, ctypes.c_byte),
11
(
'push'
, ctypes.c_byte),
12
(
'fee'
, ctypes.c_uint),
13
)
14
15
def
get_arch_info
(a):
16
return
(a.pop, a.push, a.fee)
17
capstone.evm.CsEvm
Definition:
evm.py:8
capstone.evm.get_arch_info
def get_arch_info(a)
Definition:
evm.py:15
subprojects
capstone-bundled
bindings
python
capstone
evm.py
Generated by
1.9.1