MCPcopy Index your code
hub / github.com/qilingframework/qiling / ql_get_module_function

Function ql_get_module_function

qiling/utils.py:80–88  ·  view source on GitHub ↗
(module_name: str, member_name: str)

Source from the content-addressed store, hash-verified

78
79
80def ql_get_module_function(module_name: str, member_name: str):
81 module = ql_get_module(module_name)
82
83 try:
84 member = getattr(module, member_name)
85 except AttributeError:
86 raise QlErrorModuleFunctionNotFound(f'Unable to import {member_name} from {module_name}')
87
88 return member
89
90
91def __emu_env_from_pathname(path: str) -> Tuple[Optional[QL_ARCH], Optional[QL_OS], Optional[QL_ENDIAN]]:

Callers 8

_msg_sendvFunction · 0.90
__get_syscall_mapperMethod · 0.90
createMethod · 0.90
select_loaderFunction · 0.85
select_componentFunction · 0.85
select_debuggerFunction · 0.85
select_archFunction · 0.85
select_osFunction · 0.85

Calls 2

ql_get_moduleFunction · 0.85

Tested by

no test coverage detected