mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-24 14:54:54 +00:00
Fix #6144 - asm.capitalize do not uppercase locals
This commit is contained in:
parent
1d2859b8be
commit
33f7ef8ede
@ -251,6 +251,9 @@ static bool varsub (RParse *p, RAnalFunction *f, ut64 addr, int oplen, char *dat
|
||||
spargs = p->varlist (p->anal, f, 's');
|
||||
/*iterate over stack pointer arguments/variables*/
|
||||
bool ucase = *tstr >= 'A' && *tstr <= 'Z';
|
||||
if (ucase && tstr[1]) {
|
||||
ucase = tstr[1] >= 'A' && tstr[1] <= 'Z';
|
||||
}
|
||||
r_list_foreach (spargs, spiter, sparg) {
|
||||
if (sparg->delta < 10) {
|
||||
snprintf (oldstr, sizeof (oldstr)-1, "[%s + %d]",
|
||||
|
Loading…
x
Reference in New Issue
Block a user