History log of /haiku/src/kits/debug/Image.cpp
Revision Date Author Comments
# 8efb6db7 06-Aug-2016 Adrien Destugues <pulkomandy@gmail.com>

elf.h: rename ELF_MAGIC to ELFMAG

- This is how it is named in other versions of elf.h (Linux, glibc, possibly more)
- ELF_MAGIC is used by libelf for the same thing, and the defines conflicts,
breaking libelf build on Haiku.


# 1bcd34c4 18-Oct-2013 Rene Gollent <rene@gollent.com>

libdebug: Improve handling of stripped binaries.

- When searching for the symbol table, first see if the normal SHT_SYMTAB
section is present. If not, fall back to trying to use SHT_DYNSYM if
present. This allows us to resolve non-static functions/symbols
in stripped binaries for the purposes of crash reports/disassembly.


# ffbf0328 20-Mar-2013 Pawel Dziepak <pdziepak@quarnos.org>

debug: update debug kit to correctly recognize commpage


# c0166cf2 09-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Should check for ELF_CLASS, not ELFCLASS32.


# a731ad19 07-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

ELF64 and x86_64 support in the debug kit.


# 9774f385 03-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added debug_get_symbol(). It's not implemented particularly efficiently, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31392 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39df6341 15-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added debug_get_symbol_iterator_image_info() to get an image_info from a
symbol iterator.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30168 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e52c3559 14-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Renamed debug_delete_image_symbol_iterator() to
debug_delete_symbol_iterator().
* Added debug_create_file_symbol_iterator() which opens a shared object file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 73677f78 12-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Some refactoring: There are three ways to access the symbols of an image.
Formerly two were implemented in ImageFile (from file, via syscalls) and one
in SymbolLookup (via the debugger interface). Now there's a base class Image
and respective derived classes implementing those methods.
* Simplified SymbolIterator.
* Moved the classes into sub-namespace BPrivate::Debug.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30142 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1bcd34c4da5e08d339dd1c59a6d4806919fd6727 18-Oct-2013 Rene Gollent <rene@gollent.com>

libdebug: Improve handling of stripped binaries.

- When searching for the symbol table, first see if the normal SHT_SYMTAB
section is present. If not, fall back to trying to use SHT_DYNSYM if
present. This allows us to resolve non-static functions/symbols
in stripped binaries for the purposes of crash reports/disassembly.


# ffbf0328d29bc3ce8fe2a05bf2065d5c6676fc7c 20-Mar-2013 Pawel Dziepak <pdziepak@quarnos.org>

debug: update debug kit to correctly recognize commpage


# c0166cf22a42fd1e778fff49d4243865da4c22d6 09-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

Should check for ELF_CLASS, not ELFCLASS32.


# a731ad19e680a5ec387be3e4345445cadcd75fb4 07-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

ELF64 and x86_64 support in the debug kit.


# 9774f385b5b79b1128c47b270f9c9ec54fc1cd90 03-Jul-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added debug_get_symbol(). It's not implemented particularly efficiently, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31392 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39df634176f68a4089804907c54ce20300a9d88d 15-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Added debug_get_symbol_iterator_image_info() to get an image_info from a
symbol iterator.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30168 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e52c3559d3c6e675c66a013d34f6a4523c669885 14-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Renamed debug_delete_image_symbol_iterator() to
debug_delete_symbol_iterator().
* Added debug_create_file_symbol_iterator() which opens a shared object file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 73677f785acf3360a0194dbd2d243fa9d56c9782 12-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Some refactoring: There are three ways to access the symbols of an image.
Formerly two were implemented in ImageFile (from file, via syscalls) and one
in SymbolLookup (via the debugger interface). Now there's a base class Image
and respective derived classes implementing those methods.
* Simplified SymbolIterator.
* Moved the classes into sub-namespace BPrivate::Debug.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30142 a95241bf-73f2-0310-859d-f6bbb57e9c96