class OdinFlex::MachO::LC_SYMTAB::NList

Constants

N_AST
N_BNSYM
N_ENSYM
N_EXT
N_FNAME
N_FUN
N_GSYM

From stab.h

N_LCSYM
N_OPT
N_OSO
N_PEXT
N_RSYM
N_SLINE
N_SO
N_SSYM
N_STAB

From nlist.h

N_STSYM
N_TYPE

Public Instance Methods

archive() click to toggle source
# File lib/odinflex/mach-o.rb, line 281
def archive
  name[/^.*(?=[(][^)]*[)]$)/]
end
archive?() click to toggle source
# File lib/odinflex/mach-o.rb, line 277
def archive?
  oso? && name =~ /[(][^)]*[)]$/
end
inspect() click to toggle source
# File lib/odinflex/mach-o.rb, line 242
def inspect; sprintf("%#x", self); end
object() click to toggle source
# File lib/odinflex/mach-o.rb, line 285
def object
  name[/(?<=[(])[^)]*(?=[)]$)/]
end
stab?() click to toggle source
# File lib/odinflex/mach-o.rb, line 275
def stab?; (type & N_STAB) != 0; end