Skip to content

disasm ¤

Functions:

Attributes:

c module-attribute ¤

c = ColorConfig(
    "disasm",
    [
        ColorParamSpec(
            "branch", "bold", "color for disasm (branch/call instruction)"
        )
    ],
)

config_branch_on module-attribute ¤

config_branch_on = add_param(
    "disasm-branch-on", "✔", "marker for branches that WILL be taken"
)

config_branch_off module-attribute ¤

config_branch_off = add_param(
    "disasm-branch-off", "✘", "marker for branches that will NOT be taken"
)

MIN_SPACING module-attribute ¤

MIN_SPACING = 5

WHITESPACE_LIMIT module-attribute ¤

WHITESPACE_LIMIT = 20

one_instruction ¤

one_instruction(ins: PwndbgInstruction) -> str

instructions_and_padding ¤

instructions_and_padding(instructions: list[PwndbgInstruction]) -> list[str]