Bug fix for incorrect operand type in certain load/store instructions on AArch64. (#952)

This commit is contained in:
Andrew Calvano
2017-08-03 09:00:53 -06:00
committed by Nguyen Anh Quynh
parent 088340d2c3
commit 7925323569

View File

@ -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;