Difference between revisions of "Auto Assembler:fullAccess"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''Auto Assembler''' fullAccess(''Address'', ''Size'', ''PreferredSize'') Makes a memory region at the specified address and at least "size" bytes readable, writable and executa…')
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Auto Assembler''' fullAccess(''Address'', ''Size'', ''PreferredSize'')
+
[[Category:Assembler]]
 +
'''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.
  
=== Function Parameters ===
+
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 ===
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 
!align="left"|Parameter
 
!align="left"|Parameter
Line 16: 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 26: 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
 +
00451029:
 +
jmp 00410000
 +
nop
 +
nop
 +
nop
 +
 +
00410000:
 +
mov [00400800],esi
 +
mov [esi+80],ebx
 +
xor eax,eax
 +
jmp 00451031
  
 
== See also ==
 
== See also ==
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 +
* [[Auto_Assembler:Commands|Auto Assembler Commands]]
  
=== Related Functions ===
+
=== Related Commands ===
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]
Line 47: Line 59:
 
* [[Auto Assembler:registerSymbol|registerSymbol]]
 
* [[Auto Assembler:registerSymbol|registerSymbol]]
 
* [[Auto Assembler:unregisterSymbol|unregisterSymbol]]
 
* [[Auto Assembler:unregisterSymbol|unregisterSymbol]]
* [[Auto Assembler:LUA|LUA]]
+
* [[Auto Assembler:LUA ASM|LUA ASM]]
* [[Auto Assembler:ASM|ASM]]
 

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]