Questions tagged [dwarf]

DWARF is a file format for representing debugging information.

The DWARF format is used to represent information needed for source-level debugging of programs.

The DWARF format is designed to be processor architecture and operating system independent, and supports debugging of programs written in procedural languages like C, C++, FORTRAN, Ada, Java, Modula2 and Pascal.

DWARF is widely used in modern proprietary and open-source operating systems, for example, Linux, Android, BlackBerry OS 10 and others.

288 questions
0
votes
1 answer

objdump in windows in order to see debug info

I need to get the addresses and member names of the variables in a .out file. I basically compiled a c program in linux using gcc and I will like to see the info of the file. There are a lot of examples on linux but I need to do it on windows.…
Tono Nam
  • 34,064
  • 78
  • 298
  • 470
-1
votes
1 answer

access variable addresses in elf symbol table

Short question: Is there a way to print the address of function variables using elfread -a? Explanation: I'm doing some work on a toy compiler, which generates a shared library using llvm c++ API. I tested it using dlopen() and lldb tools. When I…
Amor
  • 9
  • 2
-1
votes
2 answers

How to find EH_FRAME

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 to find out where it begins?
1 2 3
19
20