mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibELF+Utilities: Avoid truncating 64-bit values
This fixes displaying 64-bit addresses in readelf and also fixes showing backtraces from core dumps on x86_64.
This commit is contained in:
parent
36c3927169
commit
db1c5c4830
Notes:
sideshowbarker
2024-07-18 08:36:41 +09:00
Author: https://github.com/gunnarbeutner
Commit: db1c5c4830
Pull-request: https://github.com/SerenityOS/serenity/pull/8925
Reviewed-by: https://github.com/awesomekling
6 changed files with 37 additions and 36 deletions
|
@ -60,8 +60,8 @@ public:
|
|||
StringView name() const { return m_dynamic.symbol_string_table_string(m_sym.st_name); }
|
||||
const char* raw_name() const { return m_dynamic.raw_symbol_string_table_string(m_sym.st_name); }
|
||||
unsigned section_index() const { return m_sym.st_shndx; }
|
||||
unsigned value() const { return m_sym.st_value; }
|
||||
unsigned size() const { return m_sym.st_size; }
|
||||
FlatPtr value() const { return m_sym.st_value; }
|
||||
size_t size() const { return m_sym.st_size; }
|
||||
unsigned index() const { return m_index; }
|
||||
#if ARCH(I386)
|
||||
unsigned type() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue