Skip to content

Arch

ARCHS = ('x86-64', 'i386', 'aarch64', 'mips', 'powerpc', 'sparc', 'arm', 'armcm', 'riscv:rv32', 'riscv:rv64', 'riscv') module-attribute

arch: Arch = Arch('i386', 4, 'little') module-attribute

pwnlib_archs_mapping = {'x86-64': 'amd64', 'i386': 'i386', 'aarch64': 'aarch64', 'mips': 'mips', 'powerpc': 'powerpc', 'sparc': 'sparc', 'arm': 'arm', 'iwmmxt': 'arm', 'armcm': 'thumb', 'rv32': 'riscv32', 'rv64': 'riscv64'} module-attribute

get_thumb_mode_string()

read_thumb_bit()

Return 0 or 1, representing the status of the Thumb bit in the current Arm architecture

Return None if the Thumb bit is not relevent to the current architecture

update()