Closed
Description
In few places/tests we have eg.:
pwndbg.config.hexdump_group_width = -1
Documentation mention directly setting value:
Line 92 in 0caf175
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?