inModule

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.