class ELFTools::Sections::StrTabSection
Class of string table section. Usually for section .strtab and .dynstr, which record names.
Public Instance Methods
name_at(offset)
click to toggle source
Return the section or symbol name. @param [Integer] offset
Usually from +shdr.sh_name+ or +sym.st_name+.
@return [String] The name without null bytes.
# File lib/elftools/sections/str_tab_section.rb, line 16 def name_at(offset) Util.cstring(stream, header.sh_offset + offset) end