Difference between revisions of "Lua:inModule"
Jump to navigation
Jump to search
(Created page with ''''function''' inModule(''address'') Returns true if the provided address resides inside a module (example: .exe or .dll) ===Function Parameters=== {|width="85%" cellpadding="…') |
(→Related Functions) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Lua]] | ||
'''function''' inModule(''address'') | '''function''' inModule(''address'') | ||
Returns true if the provided address resides inside a module (example: .exe or .dll) | Returns true if the provided address resides inside a module (example: .exe or .dll) | ||
+ | If errorOnLookupFailure is set to true (the default value), if you look up a symbol that does not exist, it will throw an error. With errorOnLookupFailure set to false, it will return false. | ||
===Function Parameters=== | ===Function Parameters=== | ||
Line 16: | Line 18: | ||
− | == | + | {{LuaSeeAlso}} |
− | * [[Lua]] | + | |
+ | === Related Functions === | ||
+ | * [[Lua:inSystemModule|inSystemModule]] |
Latest revision as of 00:44, 25 January 2018
function inModule(address)
Returns true if the provided address resides inside a module (example: .exe or .dll)
If errorOnLookupFailure is set to true (the default value), if you look up a symbol that does not exist, it will throw an error. With errorOnLookupFailure set to false, it will return false.
Function Parameters[edit]
Parameter | Type | Description |
---|---|---|
address | CEAddressString | The address to look up |