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

Function socket_option_mapping

qiling/os/posix/const_mapping.py:193–202  ·  view source on GitHub ↗
(value: int, archtype: QL_ARCH)

Source from the content-addressed store, hash-verified

191
192
193def socket_option_mapping(value: int, archtype: QL_ARCH) -> str:
194 socket_option: Type[Enum] = {
195 QL_ARCH.X86: linux_x86_socket_options,
196 QL_ARCH.X8664: linux_x86_socket_options,
197 QL_ARCH.ARM: linux_arm_socket_options,
198 QL_ARCH.ARM64: linux_arm_socket_options,
199 QL_ARCH.MIPS: linux_mips_socket_options
200 }[archtype]
201
202 return socket_option(value).name
203
204
205__all__ = [

Callers 1

__host_socket_optionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected