Skip to content

Commit

Permalink
auto generated help
Browse files Browse the repository at this point in the history
  • Loading branch information
torusrxxx committed Jun 19, 2016
1 parent 2ea5191 commit 3ff80c1
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
13 changes: 13 additions & 0 deletions commands/memory-operations/Fill.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Fill[,memset]
Set memory of the debuggee to a specified byte.
## arguments
  arg1: Memory address to start setting bytes.
  arg2: Value (byte) to set memory with.
[arg3]: Size to set. When not specified the rest of the page is used.
## result
This command does not set any result variables.
Expand Down
11 changes: 11 additions & 0 deletions commands/memory-operations/alloc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# alloc
Allocate memory in the debuggee (using VirtualAllocEx). The memory is allocated with PAGE_EXECUTE_READWRITE protection.
## arguments
[arg1]: Size of the memory to allocate. When not specified, a default size of 0x1000 is used.
## result
This command sets $result to the allocated memory address. It also sets the $lastalloc variable to the allocated memory address when VirtualAllocEx succeeded.
Expand Down
11 changes: 11 additions & 0 deletions commands/memory-operations/free.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# free
Free memory in the debuggee (using VirtualFreeEx).
## arguments
[arg1]: Address of the memory to free. When not specified, the value at $lastalloc is used.
## result
This command sets $result to 1 if VirtualFreeEx succeeded, otherwise it's set to 0. $lastalloc is set to zero when the address specified is equal to $lastalloc.
Expand Down
11 changes: 11 additions & 0 deletions commands/memory-operations/getpagerights.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# getpagerights[,getpagerights,getrightspage]
Get the rights of a memory page.
## arguments
 
  arg1: Memory Address of page (it fix the address if this arg is not the top address of a page).
## result
This command does not set any result variables.
Expand Down
12 changes: 12 additions & 0 deletions commands/memory-operations/setpagerights.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# setpagerights[,setpagerights,setrightspage]
Change the rights of a memory page.
## arguments
 
  arg1: Memory Address of page (it fix the address if this arg is not the top address of a page).
  arg2: New Rights, this can be one of the following values: "Execute", "ExecuteRead", "ExecuteReadWrite", "ExecuteWriteCopy", "NoAccess", "ReadOnly", "ReadWrite", "WriteCopy". You can add a G at first for add PAGE GUARD. example: "GReadOnly". Read the MSDN for more info.
## result
This command does not set any result variables.
Expand Down

0 comments on commit 3ff80c1

Please sign in to comment.