Add r2 -u flag to set bin.filter=false

This commit is contained in:
pancake 2015-07-06 00:57:55 +02:00
parent ff88d4c473
commit e20a1c0ce4
2 changed files with 10 additions and 2 deletions

View File

@ -132,6 +132,7 @@ static int main_help(int line) {
#if USE_THREADS
" -t load rabin2 info in thread\n"
#endif
" -u set bin.filter=false to get raw sym/sec/cls names\n"
" -v, -V show radare2 version (-V show lib versions)\n"
" -w open file in write mode\n"
" -z, -zz do not load strings or load them even in raw\n");
@ -276,7 +277,7 @@ int main(int argc, char **argv, char **envp) {
argv++;
} else prefile = 0;
while ((c = getopt (argc, argv, "0ACwfF:hm:e:nk:o:Ndqs:p:b:B:a:Lui:l:P:c:D:vVSz"
while ((c = getopt (argc, argv, "0ACwfF:hm:e:nk:o:Ndqs:p:b:B:a:Lui:l:P:c:D:vVSzu"
#if USE_THREADS
"t"
#endif
@ -291,6 +292,9 @@ int main(int argc, char **argv, char **envp) {
r_config_set (r.config, "scr.color", "false");
quiet = R_TRUE;
break;
case 'u':
r_config_set (r.config, "bin.filter", "false");
break;
case 'a': asmarch = optarg; break;
case 'z': zflag++; break;
case 'A':

View File

@ -16,7 +16,7 @@
.Op Fl p Ar project
.Op Fl P Ar patch
.Op Fl s Ar addr
.Op Fl 0AdDwntLqv
.Op Fl 0AdDwntLquvV
.Ar -|--|=|file
.Sh DESCRIPTION
radare2 is a commandline hexadecimal editor.
@ -79,8 +79,12 @@ Start seeking at this address
Enable sandboxed mode (same as \-e cfg.sandbox=true)
.It Fl t
Get binary information using a thread
.It Fl u
Set bin.filter=false to load rbin info without filtering names.
.It Fl v
Show version information and exit.
.It Fl V
Show radare2 library versions
.It Fl w
Open in write mode
.It Fl h