mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 04:05:06 +00:00
Add more help for /A and fix other helps
This commit is contained in:
parent
704bd74011
commit
b2f1595b59
@ -53,7 +53,7 @@ static const char *help_msg_at[] = {
|
||||
"@(", "from to)", "temporary set from and to for commands supporting ranges",
|
||||
"@a:", "arch[:bits]", "temporary set arch and bits",
|
||||
"@b:", "bits", "temporary set asm.bits",
|
||||
"@B:", "nth", "temporary seek to nth instruction of current bb (negative numbers too)",
|
||||
"@B:", "nth", "temporary seek to nth instruction in current bb (negative numbers too)",
|
||||
"@e:", "k=v,k=v", "temporary change eval vars",
|
||||
"@f:", "file", "temporary replace block with file contents",
|
||||
"@F:", "flagspace", "temporary change flag space",
|
||||
@ -145,10 +145,10 @@ static const char *help_msg_p[] = {
|
||||
};
|
||||
|
||||
static const char *help_msg_p_equal[] = {
|
||||
"Usage:", "p=[=bep?][qj] [nblocks] ([len]) ([offset]) ", "show entropy/printable chars/chars bars",
|
||||
"Usage:", "p=[=bep?][qj] [N] ([len]) ([offset]) ", "show entropy/printable chars/chars bars",
|
||||
"e ", "zoom.in", "specify range for zoom",
|
||||
"p=", "", "print bytes of current block in bars",
|
||||
"p==", "[..]", "same subcommands as p=, but using flame column graph instead of rows",
|
||||
"p==", "[..]", "same subcommands as p=, using column bars instead of rows",
|
||||
"p=", "b", "same as above",
|
||||
"p=", "c", "print number of calls per block",
|
||||
"p=", "d", "print min/max/number of unique bytes in block",
|
||||
@ -181,25 +181,25 @@ static const char *help_msg_p_minus[] = {
|
||||
};
|
||||
|
||||
static const char *help_msg_pc[] = {
|
||||
"Usage:", "pc", " # Print in code",
|
||||
"pc", "", "C",
|
||||
"pc*", "", "print 'wx' r2 commands",
|
||||
"pca", "", "GAS .byte blob",
|
||||
"pcA", "", ".bytes with instructions in comments",
|
||||
"pcd", "", "C dwords (8 byte)",
|
||||
"pch", "", "C half-words (2 byte)",
|
||||
"pcj", "", "json",
|
||||
"pcJ", "", "javascript",
|
||||
"pcp", "", "python",
|
||||
"pcs", "", "string",
|
||||
"pcS", "", "shellscript that reconstructs the bin",
|
||||
"pcw", "", "C words (4 byte)",
|
||||
"Usage:", "pc", " # Print in code",
|
||||
"pc", "", "C",
|
||||
"pc*", "", "print 'wx' r2 commands",
|
||||
"pca", "", "GAS .byte blob",
|
||||
"pcA", "", ".bytes with instructions in comments",
|
||||
"pcd", "", "C dwords (8 byte)",
|
||||
"pch", "", "C half-words (2 byte)",
|
||||
"pcj", "", "json",
|
||||
"pcJ", "", "javascript",
|
||||
"pcp", "", "python",
|
||||
"pcs", "", "string",
|
||||
"pcS", "", "shellscript that reconstructs the bin",
|
||||
"pcw", "", "C words (4 byte)",
|
||||
};
|
||||
|
||||
static const char *help_msg_pd[] = {
|
||||
"Usage:", "p[dD][ajbrfils] [sz] [arch] [bits]", " # Print Disassembly",
|
||||
"NOTE: ", "len", "parameter can be negative",
|
||||
"NOTE: ", "", "Pressing ENTER on empty command will repeat last pd command and also seek to end of disassembled range.",
|
||||
"NOTE: ", "", "Pressing ENTER on empty command will repeat last print command in next page",
|
||||
"pd", " N", "disassemble N instructions",
|
||||
"pd", " -N", "disassemble N instructions backward",
|
||||
"pD", " N", "disassemble N bytes",
|
||||
@ -334,10 +334,10 @@ static const char *help_msg_ps[] = {
|
||||
|
||||
static const char *help_msg_pt[] = {
|
||||
"Usage: pt", "[dn]", "print timestamps",
|
||||
"pt", "", "print UNIX time (32 bit `cfg.bigendian`) Since January 1, 1970",
|
||||
"ptd", "", "print DOS time (32 bit `cfg.bigendian`) Since January 1, 1980",
|
||||
"pth", "", "print HFS time (32 bit `cfg.bigendian`) Since January 1, 1904",
|
||||
"ptn", "", "print NTFS time (64 bit `cfg.bigendian`) Since January 1, 1601",
|
||||
"pt", "", "print UNIX time (32 bit `cfg.bigendian`) Since January 1, 1970",
|
||||
"ptd", "", "print DOS time (32 bit `cfg.bigendian`) Since January 1, 1980",
|
||||
"pth", "", "print HFS time (32 bit `cfg.bigendian`) Since January 1, 1904",
|
||||
"ptn", "", "print NTFS time (64 bit `cfg.bigendian`) Since January 1, 1601",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -26,7 +26,7 @@ static const char *help_msg_slash[] = {
|
||||
"/d", " 101112", "search for a deltified sequence of bytes",
|
||||
"/e", " /E.F/i", "match regular expression",
|
||||
"/E", " esil-expr", "offset matching given esil expressions %%= here",
|
||||
"/f", "", "search forwards, command modifier, followed by other command",
|
||||
"/f", "", "search forwards, (command modifier)",
|
||||
"/F", " file [off] [sz]", "search contents of file with offset and size",
|
||||
// TODO: add subcommands to find paths between functions and filter only function names instead of offsets, etc
|
||||
"/g", "[g] [from]", "find all graph paths A to B (/gg follow jumps, see search.count and anal.depth)",
|
||||
@ -1898,7 +1898,9 @@ static void do_anal_search(RCore *core, struct search_parameters *param, const c
|
||||
" /Af? - get this help\n"
|
||||
" /Af?? - list all opcode families\n"
|
||||
" /A ucall - find calls with unknown destination\n"
|
||||
" /Af sse - find SSE instructions\n");
|
||||
" /Af sse - find SSE instructions\n"
|
||||
" /Aj swi - search all syscalls, show results in JSON\n"
|
||||
" /Afj fpu - search all fpu instructions, show in JSON\n");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user