You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/pwndbg/jump/__init__.py

19 lines
423 B
Python

# import pwndbg.arch
# import pwndbg.jump.mips
# import pwndbg.jump.arm
# import pwndbg.jump.ppc
# import pwndbg.jump.x86
# import pwndbg.jump.sparc
# def get_target(pc):
# return {
# 'i386': pwndbg.jump.x86.resolver,
# 'x86-64': pwndbg.jump.x86.resolver
# }.get(pwndbg.arch.current, lambda *a: None)(pc)
# class Foo(object):
# @property
# def foobar(self):
# return self._foobar