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

Function select_component

qiling/utils.py:323–329  ·  view source on GitHub ↗
(component_type: str, component_name: str, **kwargs)

Source from the content-addressed store, hash-verified

321
322
323def select_component(component_type: str, component_name: str, **kwargs) -> QlClassInit[Any]:
324 component_path = f'.{component_type}.{component_name}'
325 component_class = f'Ql{component_name.capitalize()}Manager'
326
327 obj = ql_get_module_function(component_path, component_class)
328
329 return partial(obj, **kwargs)
330
331
332def select_debugger(options: Union[str, bool]) -> Optional[QlClassInit['QlDebugger']]:

Callers 1

__init__Method · 0.85

Calls 1

ql_get_module_functionFunction · 0.85

Tested by

no test coverage detected