Fix capstone MOV issue (#365)
* add temporary workaround for capstone bug * rename cs to rest
This commit is contained in:
parent
7c00b44675
commit
fcf0024d5d
@ -2463,7 +2463,7 @@ class X86Cpu(Cpu):
|
|||||||
|
|
||||||
|
|
||||||
@instruction
|
@instruction
|
||||||
def MOV(cpu, dest, src):
|
def MOV(cpu, dest, src, *rest): # Fake argument to work around capstone issue # 950
|
||||||
'''
|
'''
|
||||||
Move.
|
Move.
|
||||||
|
|
||||||
@ -2477,6 +2477,7 @@ class X86Cpu(Cpu):
|
|||||||
:param cpu: current CPU.
|
:param cpu: current CPU.
|
||||||
:param dest: destination operand.
|
:param dest: destination operand.
|
||||||
:param src: source operand.
|
:param src: source operand.
|
||||||
|
:param rest: workaround for a capstone bug, should never be provided
|
||||||
'''
|
'''
|
||||||
dest.write(src.read())
|
dest.write(src.read())
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user