mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 12:12:06 +00:00
Fix #14640 - /aa
This commit is contained in:
parent
2b82310084
commit
ff3d6ff0a5
@ -190,7 +190,7 @@ R_API RList *r_core_asm_strsearch(RCore *core, const char *input, ut64 from, ut6
|
||||
matches = strcmp (opst, "invalid") && strcmp (opst, "unaligned");
|
||||
}
|
||||
if (matches && tokens[matchcount]) {
|
||||
if (mode == 'c') { // check for case insensitivity
|
||||
if (mode == 'a') { // check for case sensitive
|
||||
matches = !r_str_ncasecmp (opst, tokens[matchcount], strlen (tokens[matchcount]));
|
||||
} else if (!regexp) {
|
||||
matches = strstr (opst, tokens[matchcount]) != NULL;
|
||||
|
@ -3211,7 +3211,7 @@ reread:
|
||||
do_asm_search (core, ¶m, input + 2, 'o', search_itv);
|
||||
} else if (input[1] == 'a') { // "/aa"
|
||||
dosearch = 0;
|
||||
do_asm_search (core, ¶m, input + 2, 'i', search_itv);
|
||||
do_asm_search (core, ¶m, input + 2, 'a', search_itv);
|
||||
} else if (input[1] == '1') {
|
||||
__core_cmd_search_asm_byteswap (core, (int)r_num_math (core->num, input + 2));
|
||||
} else if (input[1] == 'i') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user