Difference between revisions of "Lua:getInstructionSize"
Jump to navigation
Jump to search
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | '''function''' getInstructionSize(''Address'') | + | [[Category:Lua]] |
+ | '''function''' getInstructionSize(''Address'') ''':''' integer | ||
Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you). | Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you). | ||
Line 16: | Line 17: | ||
− | + | {{LuaSeeAlso}} | |
− | |||
− | |||
=== Related Functions === | === Related Functions === | ||
− | * [[disassemble]] | + | * [[Lua:disassemble|disassemble]] |
− | * [[getPreviousOpcode]] | + | * [[Lua:getPreviousOpcode|getPreviousOpcode]] |
− | * [[splitDisassembledString]] | + | * [[Lua:splitDisassembledString|splitDisassembledString]] |
− | * [[AOBScan]] | + | * [[Lua:AOBScan|AOBScan]] |
− | * [[autoAssemble]] | + | * [[Lua:autoAssemble|autoAssemble]] |
− | * [[readBytes]] | + | * [[Lua:readBytes|readBytes]] |
− | * [[readPointer]] | + | * [[Lua:readPointer|readPointer]] |
− | * [[writeBytes]] | + | * [[Lua:writeBytes|writeBytes]] |
− | * [[readBytesLocal]] | + | * [[Lua:readBytesLocal|readBytesLocal]] |
− | * [[readPointerLocal]] | + | * [[Lua:readPointerLocal|readPointerLocal]] |
− | * [[writeBytesLocal]] | + | * [[Lua:writeBytesLocal|writeBytesLocal]] |
− | * [[wordToByteTable]] | + | * [[Lua:wordToByteTable|wordToByteTable]] |
− | * [[dwordToByteTable]] | + | * [[Lua:dwordToByteTable|dwordToByteTable]] |
− | * [[qwordToByteTable]] | + | * [[Lua:qwordToByteTable|qwordToByteTable]] |
− | * [[floatToByteTable]] | + | * [[Lua:floatToByteTable|floatToByteTable]] |
− | * [[doubleToByteTable]] | + | * [[Lua:doubleToByteTable|doubleToByteTable]] |
− | * [[stringToByteTable]] | + | * [[Lua:stringToByteTable|stringToByteTable]] |
− | * [[wideStringToByteTable]] | + | * [[Lua:wideStringToByteTable|wideStringToByteTable]] |
− | * [[byteTableToWord]] | + | * [[Lua:byteTableToWord|byteTableToWord]] |
− | * [[byteTableToDword]] | + | * [[Lua:byteTableToDword|byteTableToDword]] |
− | * [[byteTableToQword]] | + | * [[Lua:byteTableToQword|byteTableToQword]] |
− | * [[byteTableToFloat]] | + | * [[Lua:byteTableToFloat|byteTableToFloat]] |
− | * [[byteTableToDouble]] | + | * [[Lua:byteTableToDouble|byteTableToDouble]] |
− | * [[byteTableToString]] | + | * [[Lua:byteTableToString|byteTableToString]] |
− | * [[byteTableToWideString]] | + | * [[Lua:byteTableToWideString|byteTableToWideString]] |
Latest revision as of 19:07, 18 March 2019
function getInstructionSize(Address) : integer
Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you).
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
Address | CEAddressString or Integer | The address of the instruction |
See also[edit]
Related Functions[edit]
- disassemble
- getPreviousOpcode
- splitDisassembledString
- AOBScan
- autoAssemble
- readBytes
- readPointer
- writeBytes
- readBytesLocal
- readPointerLocal
- writeBytesLocal
- wordToByteTable
- dwordToByteTable
- qwordToByteTable
- floatToByteTable
- doubleToByteTable
- stringToByteTable
- wideStringToByteTable
- byteTableToWord
- byteTableToDword
- byteTableToQword
- byteTableToFloat
- byteTableToDouble
- byteTableToString
- byteTableToWideString