Difference between revisions of "Auto Assembler:fullAccess"

From Cheat Engine
Jump to navigation Jump to search
(See also)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Assembler]]
 
[[Category:Assembler]]
'''Auto Assembler''' fullAccess(''Address'', ''Size'', ''PreferredSize'')
+
'''Auto Assembler''' fullAccess(''Address'', ''Size'')
  
 
Makes a memory region at the specified address and at least "size" bytes readable, writable and executable.
 
Makes a memory region at the specified address and at least "size" bytes readable, writable and executable.
 +
 +
Only give the size you actually want to change, crossing conflicting page boundaries will make it fail completely, not even changing the protection of the first page
  
 
=== Command Parameters ===
 
=== Command Parameters ===
Line 17: Line 19:
 
|integer
 
|integer
 
|The minimum byte size of the memory block
 
|The minimum byte size of the memory block
|-
 
|PreferredSize
 
|integer
 
|The preferred byte size of the memory block (used for alignment)
 
 
|}
 
|}
  
Line 27: Line 25:
 
  fullAccess(SomeSymbol, 0xC2)
 
  fullAccess(SomeSymbol, 0xC2)
  
  fullAccess(00123ABC, A5, B0)
+
  fullAccess(00123ABC, 12)
  
 
  FULLACCESS(00400800,4) //00400800 is usually read only non executable data, this makes it writeable and executable
 
  FULLACCESS(00400800,4) //00400800 is usually read only non executable data, this makes it writeable and executable

Latest revision as of 15:21, 31 October 2018

Auto Assembler fullAccess(Address, Size)

Makes a memory region at the specified address and at least "size" bytes readable, writable and executable.

Only give the size you actually want to change, crossing conflicting page boundaries will make it fail completely, not even changing the protection of the first page

Command Parameters[edit]

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


Examples[edit]

fullAccess(SomeSymbol, 0xC2)
fullAccess(00123ABC, 12)
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[edit]

Related Commands[edit]