mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-19 04:12:46 +00:00
Improve rabin2 help message and manpage
This commit is contained in:
parent
6c186b5029
commit
120f43583a
@ -1,4 +1,4 @@
|
||||
/* radare - LGPL - Copyright 2009-2020 - pancake */
|
||||
/* radare - LGPL - Copyright 2009-2021 - pancake */
|
||||
|
||||
#include <r_main.h>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
static int rabin_show_help(int v) {
|
||||
printf ("Usage: rabin2 [-AcdeEghHiIjlLMqrRsSUvVxzZ] [-@ at] [-a arch] [-b bits] [-B addr]\n"
|
||||
" [-C F:C:D] [-f str] [-m addr] [-n str] [-N m:M] [-P[-P] pdb]\n"
|
||||
" [-o str] [-O str] [-k query] [-D lang symname] file\n");
|
||||
" [-o str] [-O str] [-k query] [-D lang mangledsymbol] file\n");
|
||||
if (v) {
|
||||
printf (
|
||||
" -@ [addr] show section, symbol or import at addr\n"
|
||||
@ -24,7 +24,7 @@ static int rabin_show_help(int v) {
|
||||
" -C [fmt:C:D] create [elf,mach0,pe] with Code and Data hexpairs (see -a)\n"
|
||||
" -d show debug/dwarf information\n"
|
||||
" -D lang name demangle symbol name (-D all for bin.demangle=true)\n"
|
||||
" -e entrypoint\n"
|
||||
" -e program entrypoint\n"
|
||||
" -ee constructor/destructor entrypoints\n"
|
||||
" -E globally exportable symbols\n"
|
||||
" -f [str] select sub-bin named str\n"
|
||||
@ -46,7 +46,7 @@ static int rabin_show_help(int v) {
|
||||
" -N [min:max] force min:max number of chars per string (see -z and -zz)\n"
|
||||
" -o [str] output file/folder for write operations (out by default)\n"
|
||||
" -O [str] write/extract operations (-O help)\n"
|
||||
" -p show physical addresses\n"
|
||||
" -p show always physical addresses\n"
|
||||
" -P show debug/pdb information\n"
|
||||
" -PP download pdb file for binary\n"
|
||||
" -q be quiet, just show fewer data\n"
|
||||
|
@ -1,4 +1,4 @@
|
||||
.Dd May 25, 2021
|
||||
.Dd Nov 22, 2021
|
||||
.Dt RABIN2 1
|
||||
.Sh NAME
|
||||
.Nm RABIN2
|
||||
@ -89,7 +89,7 @@ Output file/folder for write operations (out by default)
|
||||
.It Fl O Ar binop
|
||||
Perform binary operation on target binary (dump, resize, change sections, ...) see '-O help' for more information
|
||||
.It Fl p
|
||||
Disable VA. Show physical addresses
|
||||
Disable VA. Show always physical addresses (not the same as -B0)
|
||||
.It Fl P
|
||||
Show debug/pdb information
|
||||
.It Fl PP
|
||||
|
Loading…
x
Reference in New Issue
Block a user