Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
GNU General Public License v2.0
2.3k
stars
458
forks
source link
under intel style, Invalid operand (KS_ERR_ASM_INVALIDOPERAND) when same Label is accessed second time. #570
Open
bbqz007 opened 11 months ago
code generated by gcc
the first time,
mov ecx, OFFSET FLAT:LC0
is okthen the second time accession to
LC0
,mov edx, OFFSET FLAT:LC0
is not fine. it throws Invalid operand (KS_ERR_ASM_INVALIDOPERAND)i try assemble the partial codes by increasing one line every time. and address wrong spot where it accesses to
LC0
second time.my using keystone is 0.92 from pypi.