Class: ElfUtils::Section::DebugArange::Entry

Inherits:
CTypes::Struct
  • Object
show all
Defined in:
lib/elf_utils/section/debug_arange.rb

Instance Method Summary collapse

Instance Method Details

#tuplesObject



20
21
22
23
24
25
# File 'lib/elf_utils/section/debug_arange.rb', line 20

def tuples
  @tuples ||= begin
    type = (addr_size == 4) ? Tuple32 : Tuple64
    type.unpack_all(self[:tuple_data], endian: @file.endian)
  end
end