MCPcopy Create free account
hub / github.com/qilingframework/qiling / os_convert

Function os_convert

qiling/utils.py:45–50  ·  view source on GitHub ↗
(os: str)

Source from the content-addressed store, hash-verified

43
44
45def os_convert(os: str) -> Optional[QL_OS]:
46 alias_map = {
47 'darwin': 'macos'
48 }
49
50 return __name_to_enum(os, os_map, alias_map)
51
52
53def arch_convert(arch: str) -> Optional[QL_ARCH]:

Callers

nothing calls this directly

Calls 1

__name_to_enumFunction · 0.85

Tested by

no test coverage detected