Skip to content

Commit

Permalink
removed code which deletes indicator characters for certain asm synta…
Browse files Browse the repository at this point in the history
…xes, indicator characters should always show up
  • Loading branch information
moste00 committed May 29, 2024
1 parent 7b91fb6 commit a7b9bcf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions librz/arch/p/asm/asm_msp430.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ static int disassemble(RzAsm *a, RzAsmOp *op, const ut8 *buf, int len) {
} else {
rz_asm_op_set_asm(op, cmd.instr);
}
char *buf_asm = rz_strbuf_get(&op->buf_asm);
if (a->syntax != RZ_ASM_SYNTAX_ATT) {
rz_str_replace_ch(buf_asm, '#', 0, 1);
// rz_str_replace_ch (buf_asm, "$", "$$", 1);
rz_str_replace_ch(buf_asm, '&', 0, 1);
rz_str_replace_ch(buf_asm, '%', 0, 1);
}

fail:
return op->size = ret;
}
Expand Down

0 comments on commit a7b9bcf

Please sign in to comment.