1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibELF: Add ELFImage::Symbol::bind()

This commit is contained in:
Andreas Kling 2019-11-28 21:29:57 +01:00
parent 1f67894bdd
commit 1f34e16ec6

View file

@ -36,6 +36,7 @@ public:
unsigned size() const { return m_sym.st_size; }
unsigned index() const { return m_index; }
unsigned type() const { return ELF32_ST_TYPE(m_sym.st_info); }
unsigned bind() const { return ELF32_ST_BIND(m_sym.st_info); }
const Section section() const { return m_image.section(section_index()); }
private: