-
Notifications
You must be signed in to change notification settings - Fork 6
Modules
ζeh Matt edited this page Mar 9, 2019
·
2 revisions
Returns the module info from the debuggers child process.
-- @return table #module_info or nil on failure
modules.getMain()
Returns the module for the supplied address, gets the module where address is higher than base and smaller than base + size
-- @param address of module range as integer
-- @return table #module_info or nil on failure
modules.findByAddress(address)
Returns the module with the specified name, gets the module where address is higher than base and smaller than base + size
-- @param name of the module to look for as string
-- @return table #module_info or nil on failure
modules.findByName(name)
Returns a table of all modules loaded.
-- @return table containing multiple #module_info
modules.getList()
Table structure of module_info
{
['base'], -- Base of module
['name'], -- Name of module
['entrypoint'], -- Entrypoint, can be 0
['path'], -- Path of loaded modules
['size'], -- Image size
['sections'] = { module_section_info... }
}
Table structure of module_section_info
{
['base'], -- Section address
['size'], -- Section size
['name'], -- Section name
}