Skip to content

hexdump ¤

Hexdump implementation, ~= stolen from pwntools.

Functions:

Attributes:

color_scheme module-attribute ¤

color_scheme = None

printable module-attribute ¤

printable = None

config_colorize_ascii module-attribute ¤

config_colorize_ascii = add_param(
    "hexdump-colorize-ascii",
    True,
    "whether to colorize the hexdump command ascii section",
)

config_separator module-attribute ¤

config_separator = add_param(
    "hexdump-ascii-block-separator",
    "│",
    "block separator char of the hexdump command",
)

config_byte_separator module-attribute ¤

config_byte_separator = add_param(
    "hexdump-byte-separator",
    " ",
    "separator of single bytes in hexdump (does NOT affect group separator)",
)

groupby ¤

groupby(width: int, array, fill=None)

load_color_scheme ¤

load_color_scheme() -> None

hexdump ¤

hexdump(
    data: bytes,
    address: int = 0,
    width: int = 16,
    group_width: int = 4,
    flip_group_endianness: bool = False,
    skip: bool = True,
    offset: int = 0,
    size: int = 0,
    count: int = 0,
    repeat: bool = False,
    dX_call: bool = False,
)