mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-03-05 12:57:30 +00:00
Merge branch 'next' of https://github.com/aquynh/capstone into next
This commit is contained in:
commit
2951e640a4
@ -86,7 +86,7 @@ cdef class CsInsn(object):
|
||||
# return instruction's machine bytes (which should have @size bytes).
|
||||
@property
|
||||
def bytes(self):
|
||||
return bytearray(self._raw.bytes)[:self._raw.size]
|
||||
return bytearray(self._raw.bytes[:self._raw.size])
|
||||
|
||||
# return instruction's mnemonic.
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user