Skip to content

Regs

Reading register value from the inferior, and provides a standardized interface to registers like "sp" and "pc".

ARCH_GET_FS = 4099 module-attribute

ARCH_GET_GS = 4100 module-attribute

PTRACE_ARCH_PRCTL = 30 module-attribute

all: List[str] module-attribute

changed: List[str] module-attribute

common: List[str] module-attribute

current: RegisterSet module-attribute

extra_flags: Dict[str, BitFlags] module-attribute

fix: Callable[[str], str] module-attribute

flags: Dict[str, BitFlags] module-attribute

frame: str | None module-attribute

fsbase: int module-attribute

gpr: Tuple[str, ...] module-attribute

gsbase: int module-attribute

items: Callable[[], Generator[Tuple[str, Any], None, None]] module-attribute

last: Dict[str, int] module-attribute

pc: int | None module-attribute

previous: Dict[str, int] module-attribute

retaddr: Tuple[str, ...] module-attribute

retval: str | None module-attribute

stack: str module-attribute

tether = sys.modules[__name__] module-attribute

module

Bases: ModuleType

all: List[str] property

changed: List[str] property

common: List[str] property

current: RegisterSet property

extra_flags: Dict[str, BitFlags] property

flags: Dict[str, BitFlags] property

frame: str | None property

fsbase: int property

gpr: Tuple[str, ...] property

gsbase: int property

idt: int property

idt_limit: int property

last: Dict[str, int] = {} class-attribute instance-attribute

previous: Dict[str, int] = {} class-attribute instance-attribute

reg_sets = reg_sets class-attribute instance-attribute

retaddr: Tuple[str, ...] property

retval: str | None property

stack: str property

__contains__(reg)

__getattr__(attr)

__getitem__(item)

__iter__()

__repr__()

__setattr__(attr, val)

fix(expression)

items()

read_reg(reg, frame=None)

get_qemu_register(name)

get_register(name, frame=None)

regs_in_frame(frame)

update_last()