MCPcopy
hub / github.com/Gallopsled/pwntools / get_gdb_arch

Function get_gdb_arch

pwnlib/gdb.py:726–736  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

724 return gdbserver
725
726def get_gdb_arch():
727 return {
728 'amd64': 'i386:x86-64',
729 'powerpc': 'powerpc:common',
730 'powerpc64': 'powerpc:common64',
731 'mips64': 'mips:isa64',
732 'thumb': 'arm',
733 'sparc64': 'sparc:v9',
734 'riscv32': 'riscv:rv32',
735 'riscv64': 'riscv:rv64',
736 }.get(context.arch, context.arch)
737
738def binary():
739 """binary() -> str

Callers 1

attachFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected