Class: ElfUtils::Section::Dynsym
- Defined in:
- lib/elf_utils/section/dynsym.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#addr, #alloc?, #bytes, #flags, #initialize, #inspect, #load_segment, #name, #offset, #relocate, #relocation_offset, #size, #symbol, #to_range
Constructor Details
This class inherits a constructor from ElfUtils::Section::Base
Instance Method Details
#symbols ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/elf_utils/section/dynsym.rb', line 5 def symbols @symbols ||= begin dynstr = @file.section(".dynstr") @file.elf_type(:Sym).unpack_all(bytes).map do |sym| Symbol.new(@file, sym, dynstr) end end end |