tango.core.tools.LinuxStackTrace

Linux Stacktracing

Functions to parse the ELF format and create a symbolic trace.

The core Elf handling was taken from Thomas Kühne flectioned, with some minor pieces taken from winterwar/wm4 But the routines and flow have been (sometime heavily) changed.

Members

Aliases

Elf_Addr
alias Elf_Addr = Elf32_Addr
Undocumented in source.
Elf_Addr
alias Elf_Addr = Elf64_Addr
Undocumented in source.
Elf_Dyn
alias Elf_Dyn = Elf32_Dyn
Undocumented in source.
Elf_Dyn
alias Elf_Dyn = Elf64_Dyn
Undocumented in source.
Elf_Ehdr
alias Elf_Ehdr = Elf32_Ehdr
Undocumented in source.
Elf_Ehdr
alias Elf_Ehdr = Elf64_Ehdr
Undocumented in source.
Elf_Half
alias Elf_Half = Elf32_Half
Undocumented in source.
Elf_Half
alias Elf_Half = Elf64_Half
Undocumented in source.
Elf_Phdr
alias Elf_Phdr = Elf32_Phdr
Undocumented in source.
Elf_Phdr
alias Elf_Phdr = Elf64_Phdr
Undocumented in source.
Elf_Shdr
alias Elf_Shdr = Elf32_Shdr
Undocumented in source.
Elf_Shdr
alias Elf_Shdr = Elf64_Shdr
Undocumented in source.
Elf_Sym
alias Elf_Sym = Elf32_Sym
Undocumented in source.
Elf_Sym
alias Elf_Sym = Elf64_Sym
Undocumented in source.
uhalf
alias uhalf = short
Undocumented in source.

Classes

SymbolException
class SymbolException
Undocumented in source.

Functions

ELF32_ST_BIND
ubyte ELF32_ST_BIND(ulong info)
Undocumented in source. Be warned that the author may not have intended to support it.
find_line_number
bool find_line_number(ubyte[] debug_line, size_t address, bool is_return_address, const(char)[] out_directory, const(char)[] out_file, long out_line)
Undocumented in source. Be warned that the author may not have intended to support it.
may_read
bool may_read(size_t addr)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

DwarfReader
struct DwarfReader
Undocumented in source.
StaticSectionInfo
struct StaticSectionInfo
Undocumented in source.

Meta

License

Tango License

Authors

Fawzi Mohamed