Skip to content

nearpc ¤

Functions:

  • nearpc

    Disassemble near a specified address.

  • emulate

    Like nearpc, but will emulate instructions from the current $PC forward.

Attributes:

nearpc_lines module-attribute ¤

nearpc_lines = add_param(
    "nearpc-lines", 10, "number of lines to print for the nearpc command"
)

nearpc_backwards_lines module-attribute ¤

nearpc_backwards_lines = add_param(
    "nearpc-backwards-lines",
    5,
    "number of lines before the pc to print for the nearpc command",
)

parser module-attribute ¤

parser = ArgumentParser(
    description="Like nearpc, but will emulate instructions from the current $PC forward."
)

nearpc ¤

nearpc(
    pc=None,
    lines=None,
    reverse=None,
    total=None,
    emulate=False,
    use_cache=False,
    linear=True,
) -> None

Disassemble near a specified address.

emulate ¤

emulate(pc=None, lines=None, reverse=None, total=None, emulate_=True) -> None

Like nearpc, but will emulate instructions from the current $PC forward.