This is more out of curiosity than productive need but I have been asking myself if it is possible to extract the C++ source of a binary such that it ...
This is more out of curiosity than productive need but I have been asking myself if it is possible to extract the C++ source of a binary such that it ...
Suppose I wanted a program written in C++ read its own eh_frame, in order to get information required for stack unwinding and exception handling. How ...
Forgive me as I'm pretty new here, but I am trying to debug the x86 assembly with gdb. ex10.asm compiled and linked with below: ex10.o appears ...
I have .elf file. I am trying to learn symbol address. I could find main variable addresses with many ways. I used pyelftools, nm.exe, objdump.exe, re ...
I am fixing a bug in a parser for DWARF debug information (2nd DWARF version). In the process I made the following strange observation: A bytestream ...
Let's say I have the following program (a.c): Having a.out, how do I find out where main() is defined? I mean, in a big project it's not always c ...
I'm compiling the following code with NASM (nasm -g -F dwarf -f elf64 test.asm && gcc -g3 test.o). I would expect this to add the lines 1, ...
Background: I have a need of the debugging information of the code in our project. The following two approaches are available: Compile using -g a ...
I'm new to dwarf and used some tools like addr2line, objectdump. However, the problem I'm facing is that I want to get all the instructions in object ...
In backtraces produced by perf record --call-graph dwarf and printed by perf script, I am consistently getting wrong addresses for maybe 5% of call st ...
We have a third party Software that's picks out information from generated .elf about our global variables which are using DWARF debug info to find it ...
I'm following Eli Bendersky's blog on parsing the DWARF debug information. He shows an example of parsing the binary with DWARF version 2 in his blog. ...
I'm currently debugging a BIOS raw binary (no source code available), and I'd like to teach gdb debug symbols (eg. function offsets, local vars, stack ...
In our development, we switched from IAR ARM V7.40 to IAR ARM V8.40 We are using the python package pyelftools for postprocessing of the debug inform ...
Background: I am generating a JIT code (which generates x86-64 code). After the end of JIT process, I have a .text section, a .data section and a .eh ...
I'm writing a debugger and want to see if its program counter is inside a function. I guess I need to check that it's between DW_AT_low_pc and DW_AT_h ...
I need an advice on how WebAssembly binaries produced with emscripten can store their debug symbols to understand why my particular case does not work ...
I have a kernel module with DWARF debug info. All its ELF sections have zero start addresses. Its DWARF info contains multiple overlapping code and da ...
I'm trying to understand where DW_FORM_strp attribute values are actually stored in an ELF file (can be found here: https://filebin.net/77bb8359o0ibqu ...
I try to build a debugger which allows me to set breakpoints at functions or codelines. The needed debug information should be extracted from the DWAR ...