mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
Fix regression in feat_grep
This commit is contained in:
parent
7b673f6f0e
commit
1db0c10f8e
@ -243,7 +243,7 @@ while_end:
|
||||
|
||||
ptr2 = strchr_ns (ptr, ':'); // line number
|
||||
cons->grep.range_line = 2; // there is not :
|
||||
if (ptr2 && ptr2[1] != ':' && isalnum(ptr2[1])) {
|
||||
if (ptr2 && ptr2[1] != ':' && ptr2[1]) {
|
||||
*ptr2 = '\0';
|
||||
char *p, *token = ptr + 1;
|
||||
p = strstr (token, "..");
|
||||
|
@ -2205,7 +2205,7 @@ R_API int r_core_config_init(RCore *core) {
|
||||
SETPREF ("asm.slow", "true", "Perform slow analysis operations in disasm");
|
||||
SETPREF ("asm.decode", "false", "Use code analysis as a disassembler");
|
||||
SETPREF ("asm.flgoff", "false", "Show offset in flags");
|
||||
SETPREF ("asm.immstr", "true", "Show immediates values as strings");
|
||||
SETPREF ("asm.immstr", "false", "Show immediates values as strings");
|
||||
SETPREF ("asm.offless", "false", "Remove all offsets and constants from disassembly");
|
||||
SETPREF ("asm.indent", "false", "Indent disassembly based on reflines depth");
|
||||
SETI ("asm.indentspace", 2, "How many spaces to indent the code");
|
||||
|
Loading…
Reference in New Issue
Block a user