mirror of
https://gitlab.com/qemu-project/capstone.git
synced 2025-09-17 02:01:15 +08:00
Bug fix for incorrect operand type in certain load/store instructions on AArch64. (#952)
This commit is contained in:

committed by
Nguyen Anh Quynh

parent
088340d2c3
commit
7925323569
@ -12578,7 +12578,15 @@ static char *printAliasInstr(MCInst *MI, SStream *OS, void *info)
|
||||
if (*AsmOps) {
|
||||
SStream_concat0(OS, "\t");
|
||||
for (c = AsmOps; *c; c++) {
|
||||
if (*c == '$') {
|
||||
if (*c == '[') {
|
||||
SStream_concat0(OS, "[");
|
||||
set_mem_access(MI, true);
|
||||
}
|
||||
else if (*c == ']') {
|
||||
SStream_concat0(OS, "]");
|
||||
set_mem_access(MI, false);
|
||||
}
|
||||
else if (*c == '$') {
|
||||
c += 1;
|
||||
if (*c == (char)0xff) {
|
||||
c += 1;
|
||||
|
Reference in New Issue
Block a user