Difference between revisions of "Auto Assembler:fullAccess"

From Cheat Engine
Jump to navigation Jump to search
 
(5 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.
 +
 +
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 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 Commands ===
 
=== Related Commands ===
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]