Arch
ARCHS = ('x86-64', 'i386', 'aarch64', 'mips', 'powerpc', 'sparc', 'arm', 'armcm', 'riscv:rv32', 'riscv:rv64', 'riscv')
module-attribute
¶
arch = Arch('i386', typeinfo.ptrsize, 'little')
module-attribute
¶
endian: Literal['little', 'big']
module-attribute
¶
name: str
module-attribute
¶
ptrmask: int
module-attribute
¶
ptrsize: int
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