From fa929127c0b70b782fbb5fcc76319a8da8df2b9b Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Fri, 2 Dec 2016 18:45:49 -0500 Subject: [PATCH] Do not decode section names --- pwndbg/symbol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/symbol.py b/pwndbg/symbol.py index 85dc2bc84..a024de78e 100644 --- a/pwndbg/symbol.py +++ b/pwndbg/symbol.py @@ -142,7 +142,7 @@ def autofetch(): gdb_command = ['add-symbol-file', local_path, hex(int(base))] for section in elf.iter_sections(): - name = section.name.decode('latin-1') + name = section.name #.decode('latin-1') section = section.header if not section.sh_flags & elftools.elf.constants.SH_FLAGS.SHF_ALLOC: continue