class OdinFlex::MachO::Section

Public Instance Methods

as_dwarf() click to toggle source
# File lib/odinflex/mach-o.rb, line 446
def as_dwarf
  raise NotImplementedError, "load WORF" unless defined?(::WORF)

  case sectname
  when "__debug_abbrev"
    WORF::DebugAbbrev.new io, self, start_pos
  when "__debug_info"
    WORF::DebugInfo.new io, self, start_pos
  when "__debug_str"
    WORF::DebugStrings.new io, self, start_pos
  when "__debug_line"
    WORF::DebugLine.new io, self, start_pos
  else
    raise NotImplementedError
  end
end
section?() click to toggle source
# File lib/odinflex/mach-o.rb, line 444
def section?; true; end