Difference between revisions of "Auto Assembler:fullAccess"
Jump to navigation
Jump to search
(→Related Commands) |
(→Examples) |
||
Line 28: | Line 28: | ||
fullAccess(00123ABC, A5, B0) | fullAccess(00123ABC, A5, B0) | ||
+ | FULLACCESS(00400800,4) //00400800 is usually read only non executable data, this makes it writeable and executable | ||
+ | 00451029: | ||
+ | jmp 00410000 | ||
+ | nop | ||
+ | nop | ||
+ | nop | ||
+ | |||
+ | 00410000: | ||
+ | mov [00400800],esi | ||
+ | mov [esi+80],ebx | ||
+ | xor eax,eax | ||
+ | jmp 00451031 | ||
== See also == | == See also == |
Revision as of 22:21, 11 March 2017
Auto Assembler fullAccess(Address, Size, PreferredSize)
Makes a memory region at the specified address and at least "size" bytes readable, writable and executable.
Command Parameters
Parameter | Type | Description |
---|---|---|
Address | string | The address or symbol of the memory block to change access rights |
Size | integer | The minimum byte size of the memory block |
PreferredSize | integer | The preferred byte size of the memory block (used for alignment) |
Examples
fullAccess(SomeSymbol, 0xC2)
fullAccess(00123ABC, A5, B0)
FULLACCESS(00400800,4) //00400800 is usually read only non executable data, this makes it writeable and executable 00451029: jmp 00410000 nop nop nop 00410000: mov [00400800],esi mov [esi+80],ebx xor eax,eax jmp 00451031