Class: ELFTools::Sections::StrTabSection
- Defined in:
- lib/elftools/sections/str_tab_section.rb
Overview
Class of string table section. Usually for section .strtab and .dynstr, which record names.
Instance Attribute Summary
Attributes inherited from Section
Instance Method Summary collapse
-
#name_at(offset) ⇒ String
Return the section or symbol name.
Methods inherited from Section
create, #data, #initialize, #name, #null?, #type
Constructor Details
This class inherits a constructor from ELFTools::Sections::Section
Instance Method Details
#name_at(offset) ⇒ String
Return the section or symbol name.
16 17 18 |
# File 'lib/elftools/sections/str_tab_section.rb', line 16 def name_at(offset) Util.cstring(stream, header.sh_offset + offset) end |