Skip to content

Commit

Permalink
Update cmd_debug.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ITAYC0HEN authored and Anton Kochkov committed Oct 11, 2017
1 parent 866263d commit 467415c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libr/core/cmd_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,25 +202,25 @@ static const char *help_msg_dko[] = {
static const char *help_msg_dm[] = {
"Usage:", "dm", " # Memory maps commands",
"dm", "", "List memory maps of target process",
"dm=", "", "List memory maps of target process (ascii-art bars)",
"dm", " address size", "Allocate <size> bytes at <address> (anywhere if address is -1) in child process",
"dm=", "", "List memory maps of target process (ascii-art bars)",
"dm.", "", "Show map name of current address",
"dm*", "", "List memmaps in radare commands",
"dm-", " address", "Deallocate memory map of <address>",
"dmd", "[a] [file]", "Dump current (all) debug map region to a file (from-to.dmp) (see Sd)",
"dmh", "[?]", "Show map of heap",
"dmi", " [addr|libname] [symname]", "List symbols of target lib",
"dmi*", " [addr|libname] [symname]", "List symbols of target lib in radare commands",
"dmi.", "", "List closest symbol to the current address",
"dmiv", "", "Show address of given symbol for given lib",
"dmS", " [addr|libname] [sectname]", "List sections of target lib",
"dmS*", " [addr|libname] [sectname]", "List sections of target lib in radare commands",
"dmj", "", "List memmaps in JSON format",
"dml", " <file>", "Load contents of file into the current map region (see Sl)",
"dmm", "[?][j*]", "List modules (libraries, binaries loaded in memory)",
"dmp", "[?] <address> <size> <perms>", "Change page at <address> with <size>, protection <perms> (rwx)",
"dms", "[?] <id> <mapaddr>", "Take memory snapshot",
"dms-", " <id> <mapaddr>", "Restore memory snapshot",
"dmh", "", "Show map of heap",
"dmS", " [addr|libname] [sectname]", "List sections of target lib",
"dmS*", " [addr|libname] [sectname]", "List sections of target lib in radare commands",
//"dm, " rw- esp 9K", "set 9KB of the stack as read+write (no exec)",
"TODO:", "", "map files in process memory. (dmf file @ [addr])",
NULL
Expand Down

0 comments on commit 467415c

Please sign in to comment.