Difference between revisions of "Auto Assembler:Commands"
Jump to navigation
Jump to search
(→Auto Assembler Commands) |
(→Auto Assembler Commands) |
||
(12 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
This is a list of all the Auto Assembler commands | This is a list of all the Auto Assembler commands | ||
− | * [[Auto_Assembler:aobScan|aobScan]]: Will scan the memory for the given array of byte (Wildcards are supported) and places a [[label]] at the first match | + | * [[Auto_Assembler:aobScan|aobScan]]: Will scan the memory for the given array of byte (Wildcards are supported) and places a [[Auto_Assembler:label|label]] at the first match |
− | * [[Auto_Assembler:aobScanModule|aobScanModule]]: Will scan the specific module for the given array of byte (Wildcards are supported) and places a [[label]] at the first match | + | * [[Auto_Assembler:aobScanModule|aobScanModule]]: Will scan the specific module for the given array of byte (Wildcards are supported) and places a [[Auto_Assembler:label|label]] at the first match |
− | * [[Auto_Assembler:aobScanRegion|aobScanRegion]]: Will scan the specific range for the given array of byte (Wildcards are supported) and places a [[label]] at the first match | + | * [[Auto_Assembler:aobScanRegion|aobScanRegion]]: Will scan the specific range for the given array of byte (Wildcards are supported) and places a [[Auto_Assembler:label|label]] at the first match |
* [[Auto_Assembler:label|label]]: Enables the word labelname to be used as a address | * [[Auto_Assembler:label|label]]: Enables the word labelname to be used as a address | ||
* [[Auto_Assembler:alloc|alloc]]: Allocates a region of memory with a label that points to it | * [[Auto_Assembler:alloc|alloc]]: Allocates a region of memory with a label that points to it | ||
− | * [[Auto_Assembler:dealloc|dealloc]]: Deallocates a block of memory allocated with [[alloc]] | + | * [[Auto_Assembler:dealloc|dealloc]]: Deallocates a block of memory allocated with [[Auto_Assembler:alloc|alloc]] |
* [[Auto_Assembler:globalAlloc|globalAlloc]]: Will allocate a certain amount of memory and registers the specified name | * [[Auto_Assembler:globalAlloc|globalAlloc]]: Will allocate a certain amount of memory and registers the specified name | ||
* [[Auto_Assembler:kAlloc|kAlloc]]: Kernal allocate <!-- kalloc(x,size) x=variable name size=bytes --> | * [[Auto_Assembler:kAlloc|kAlloc]]: Kernal allocate <!-- kalloc(x,size) x=variable name size=bytes --> | ||
* [[Auto_Assembler:fullAccess|fullAccess]]: Makes a memory region readable, writable and executable | * [[Auto_Assembler:fullAccess|fullAccess]]: Makes a memory region readable, writable and executable | ||
− | * [[Auto_Assembler:reassemble|reassemble]]: | + | * [[Auto_Assembler:reassemble|reassemble]]: Reassembles the given address, writing at it's declared location. |
* [[Auto_Assembler:readMem|readMem]]: Read a memory region and writes it at the location this instruction is placed | * [[Auto_Assembler:readMem|readMem]]: Read a memory region and writes it at the location this instruction is placed | ||
* [[Auto_Assembler:registerSymbol|registerSymbol]]: Adds the symbol to the userdefined symbol list | * [[Auto_Assembler:registerSymbol|registerSymbol]]: Adds the symbol to the userdefined symbol list | ||
Line 26: | Line 26: | ||
* [[Auto_Assembler:loadLibrary|loadLibrary]]: Will inject the specified dll into the target process | * [[Auto_Assembler:loadLibrary|loadLibrary]]: Will inject the specified dll into the target process | ||
* [[Auto_Assembler:loadBinary|loadBinary]]: Will load a binary file at the specified address | * [[Auto_Assembler:loadBinary|loadBinary]]: Will load a binary file at the specified address | ||
− | * [[Auto_Assembler:struct|struct | + | * [[Auto_Assembler:struct|struct / endStruct]]: With STRUCT and ENDSTRUCT you can define an internal structure in your auto assembler script |
− | + | * [[Auto_Assembler:luaCall|luaCall]]: Executes the given Lua code | |
− | * [[Auto_Assembler:luaCall|luaCall]]: Executes the | + | * [[Auto_Assembler:LUA_ASM|{$LUA} / {$ASM}]]: {$LUA} (Lua) and {$ASM} (Assembler) will begine the given parser |
− | * [[Auto_Assembler:LUA_ASM|{$LUA}/{$ASM}]]: {$LUA} (Lua) and {$ASM} (Assembler) will begine the given parser | + | * [[Auto_Assembler:STRICT|{$STRICT}]]: {$STRICT} will force label declaration, by throwing an error |
+ | * [[Auto_Assembler:align|align]]: Tells the assembler to align for a given byte size. | ||
+ | * [[Auto_Assembler:TRY_EXCEPT|{$TRY} / {$EXCEPT}]]: Code between {$TRY} and {$EXCEPT} blocks will jump to the {$EXCEPT} part when an exception happens | ||
+ | |||
<!-- * [[Auto_Assembler:sharedAlloc|sharedAlloc]]: --> | <!-- * [[Auto_Assembler:sharedAlloc|sharedAlloc]]: --> | ||
=== See Also === | === See Also === | ||
* [[Assembler:Commands|Assembler Commands]] | * [[Assembler:Commands|Assembler Commands]] |
Revision as of 19:23, 29 June 2018
Auto Assembler Commands
This is a list of all the Auto Assembler commands
- aobScan: Will scan the memory for the given array of byte (Wildcards are supported) and places a label at the first match
- aobScanModule: Will scan the specific module for the given array of byte (Wildcards are supported) and places a label at the first match
- aobScanRegion: Will scan the specific range for the given array of byte (Wildcards are supported) and places a label at the first match
- label: Enables the word labelname to be used as a address
- alloc: Allocates a region of memory with a label that points to it
- dealloc: Deallocates a block of memory allocated with alloc
- globalAlloc: Will allocate a certain amount of memory and registers the specified name
- kAlloc: Kernal allocate
- fullAccess: Makes a memory region readable, writable and executable
- reassemble: Reassembles the given address, writing at it's declared location.
- readMem: Read a memory region and writes it at the location this instruction is placed
- registerSymbol: Adds the symbol to the userdefined symbol list
- unregisterSymbol: Removes the symbol from the userdefined symbol list
- define: Will replace all tokens with the specified name with the text of whatever
- assert: Will check the memory address for the given bytes
- include: Includes another auto assembler file at that spot
- createThread: Will spawn a thread in the process at the specified address
- loadLibrary: Will inject the specified dll into the target process
- loadBinary: Will load a binary file at the specified address
- struct / endStruct: With STRUCT and ENDSTRUCT you can define an internal structure in your auto assembler script
- luaCall: Executes the given Lua code
- {$LUA} / {$ASM}: {$LUA} (Lua) and {$ASM} (Assembler) will begine the given parser
- {$STRICT}: {$STRICT} will force label declaration, by throwing an error
- align: Tells the assembler to align for a given byte size.
- {$TRY} / {$EXCEPT}: Code between {$TRY} and {$EXCEPT} blocks will jump to the {$EXCEPT} part when an exception happens