FS#67784 - [pwndbg] cant investigate the heap

Attached to Project: Community Packages
Opened by test (sl473r) - Monday, 31 August 2020, 16:22 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 31 August 2020, 16:26 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello dear team!
I have just installed pwndbg from Arch Linux repo and I have problems with inspecting the heap:

/usr/include/netinet/if_fddi.h
In file included from /tmp/pwndbg/x86-64_struct-malloc_state.cc:3:
/usr/include/seccomp-syscalls.h:23:2: error: #error "do not include seccomp-syscalls.h directly, use seccomp.h instead"
23 | #error "do not include seccomp-syscalls.h directly, use seccomp.h instead"
| ^~~~~
In file included from /tmp/pwndbg/x86-64_struct-malloc_state.cc:18:
/usr/include/pcre2.h:969:2: error: #error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h.
969 | #error PCRE2_CODE_UNIT_WIDTH must be defined before including pcre2.h.
| ^~~~~
/usr/include/pcre2.h:970:2: error: #error Use 8, 16, or 32; or 0 for a multi-width application.
970 | #error Use 8, 16, or 32; or 0 for a multi-width application.
| ^~~~~
In file included from /tmp/pwndbg/x86-64_struct-malloc_state.cc:67:
/usr/include/cursesp.h:93:50: error: macro "THROW" requires 2 arguments, but only 1 given
93 | THROW(new NCursesPanelException (this, err));
| ^
In file included from /usr/include/dbstl_container.h:12,
from /tmp/pwndbg/x86-64_struct-malloc_state.cc:26:
/usr/include/dbstl_common.h:152: note: macro "THROW" defined here
152 | #define THROW(exception_type, arg_list) do { \
|
In file included from /tmp/pwndbg/x86-64_struct-malloc_state.cc:116:
/usr/include/zbuff.h:31:10: fatal error: ../zstd.h: No such file or directory
31 | #include "../zstd.h" /* ZSTD_CStream, ZSTD_DStream, ZSTDLIB_API */
| ^~~~~~~~~~~
compilation terminated.

For example, I run GDB on simple test program and then I need to investigate heap, this error occures.
Thanks in advance!
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 31 August 2020, 16:26 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#67775 

Loading...