This commit is contained in:
pancake 2019-07-25 01:55:34 +02:00
parent 2b82310084
commit ff3d6ff0a5
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -3211,7 +3211,7 @@ reread:
do_asm_search (core, &param, input + 2, 'o', search_itv);
} else if (input[1] == 'a') { // "/aa"
dosearch = 0;
do_asm_search (core, &param, input + 2, 'i', search_itv);
do_asm_search (core, &param, 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') {