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 9f6b28cc0b
commit eeceed2cbe
1 changed files with 9 additions and 1 deletions

View File

@ -12582,7 +12582,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;