Class: ELFTools::Dynamic::StringTable
- Inherits:
-
Object
- Object
- ELFTools::Dynamic::StringTable
- Defined in:
- lib/elftools/dynamic/string_table.rb
Overview
The names a file records, which the tags point at rather than a section.
Answers what Sections::StrTabSection answers, so that what is read from the tags names itself the way what is read from the sections does.
Instance Method Summary collapse
-
#initialize(stream, offset) ⇒ StringTable
constructor
Instantiate a StringTable object.
-
#name_at(offset) ⇒ String
Return the name recorded at an offset into the table.
Constructor Details
#initialize(stream, offset) ⇒ StringTable
Instantiate a ELFTools::Dynamic::StringTable object.
17 18 19 20 |
# File 'lib/elftools/dynamic/string_table.rb', line 17 def initialize(stream, offset) @stream = stream @offset = offset end |