Skip to content

Improve pwndbg.config #2549

Closed
Closed
@patryk4815

Description

@patryk4815

In few places/tests we have eg.:

pwndbg.config.hexdump_group_width = -1

Documentation mention directly setting value:

pwndbg.config.hexdump_group_width = -1

But it is invalid usage, it should be probably pwndbg.config.hexdump_group_width.value = -1
It is a bit confusing because then we compare this value pwndbg.config.hexdump_group_width == 1337 (without .value attribute)

Can we somehow prevent usage like pwndbg.config.hexdump_group_width = -1 and raise error?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions