From 026f3c016402185b7d3ecf780d2d455990d49040 Mon Sep 17 00:00:00 2001 From: Gulshan Singh Date: Thu, 13 Oct 2022 14:49:06 -0700 Subject: [PATCH] Fix reference to pwndbg.gdblib.config --- pwndbg/commands/heap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/commands/heap.py b/pwndbg/commands/heap.py index 153f433da..bb1e075e0 100644 --- a/pwndbg/commands/heap.py +++ b/pwndbg/commands/heap.py @@ -767,7 +767,7 @@ def vis_heap_chunks(addr=None, count=None, naive=None, display_all=None): print(out) - if has_huge_chunk and pwndbg.config.max_visualize_chunk_size == 0: + if has_huge_chunk and pwndbg.gdblib.config.max_visualize_chunk_size == 0: print( message.warn( "You can try `set max-visualize-chunk-size 0x500` and re-run this command.\n"