class Pliney::MachO::CommonDylibCommandReader

Attributes

dylib_name_data[R]
dylib_struct[R]

Public Instance Methods

dylib_name() click to toggle source
# File lib/pliney/macho.rb, line 526
def dylib_name()
    @dylib_name_data.unpack("Z*").first
end
parse() click to toggle source
Calls superclass method Pliney::MachO::CommonLCReader#parse
# File lib/pliney/macho.rb, line 520
def parse()
    super()
    @dylib_struct = DylibStructReader.parse(@fh)
    @dylib_name_data = @fh.strictread(self.cmdsize - self.dylib_struct.offset)
end