Skip to content

Commit

Permalink
fi
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jul 10, 2024
1 parent 097b96f commit 08faf77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libr/arch/p/arm/pseudo.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ static int replace(int argc, const char *argv[], char *newstr) {
const char *str;
int args[MAXPSEUDOOPS];
} ops[] = {
{ 2, "uxtb", "# = #", { 1, 2 } },
{ 0, "abs", "# = abs(#)", { 1, 1 } },
{ 0, "adc", "# = # + #", { 1, 2, 3 } },
{ 3, "add", "# = # + #", { 1, 2, 3 } },
Expand Down Expand Up @@ -79,8 +80,10 @@ static int replace(int argc, const char *argv[], char *newstr) {
{ 2, "sxth", "# = (short) #", { 1, 2 } },
{ 0, "fdv", "# = # / #", { 1, 2, 3 } },
{ 0, "fml", "# = # * #", { 1, 2, 3 } },
{ 3, "ldurb", "# = (byte) # #", { 1, 2, 3 } },
{ 3, "ldur", "# = # #", { 1, 2, 3 } },
{ 3, "ldursw", "# = # #", { 1, 2, 3 } },
{ 2, "ldr", "# = #", { 1, 2 } },
{ 0, "ldur", "# = # #", { 1, 2, 3 } },
{ 2, "ldrh", "# = (word) #", { 1, 2 } },
{ 3, "ldrh", "# = (word) # + #", { 1, 2, 3 } },
{ 3, "ldruh", "# = (uword) # + #", { 1, 2, 3 } },
Expand Down Expand Up @@ -351,7 +354,7 @@ static char *mount_oldstr(RParse* p, const char *reg, st64 delta, bool ucase) {
}

static bool subvar(RParse *p, RAnalFunction *f, ut64 addr, int oplen, char *data, char *str, int len) {
r_return_val_if_fail (p, false);
R_RETURN_VAL_IF_FAIL (p, false);
RList *spargs = NULL;
RList *bpargs = NULL;
RListIter *iter;
Expand Down

0 comments on commit 08faf77

Please sign in to comment.