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

Function arch_convert

qiling/utils.py:53–60  ·  view source on GitHub ↗
(arch: str)

Source from the content-addressed store, hash-verified

51
52
53def arch_convert(arch: str) -> Optional[QL_ARCH]:
54 alias_map = {
55 'amd64': 'x8664',
56 'x86_64': 'x8664',
57 'riscv32': 'riscv'
58 }
59
60 return __name_to_enum(arch, arch_map, alias_map)
61
62
63def debugger_convert(debugger: str) -> Optional[QL_DEBUGGER]:

Callers

nothing calls this directly

Calls 1

__name_to_enumFunction · 0.85

Tested by

no test coverage detected