disasm ¤
Functions:
-
one_instruction–Returns colorized instructions assembly and operands, and checkmark if branch is taken
-
instructions_and_padding–
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"
)
one_instruction ¤
one_instruction(ins: PwndbgInstruction, linear: bool) -> str
Returns colorized instructions assembly and operands, and checkmark if branch is taken
Example: ✔ je _IO_file_xsputn+341. Inline symbol replacements made. No annotation or branch targets shown.
instructions_and_padding ¤
instructions_and_padding(
instructions: list[PwndbgInstruction], linear: bool
) -> list[str]