class Metasm::AOut::Symbol

Attributes

name[RW]

Public Instance Methods

decode(aout, strings=nil) click to toggle source
Calls superclass method
# File metasm/exe_format/a_out.rb, line 74
def decode(aout, strings=nil)
        super(aout)
        @name = strings[@name_p...(strings.index(\0, @name_p))] if strings
end
set_default_values(aout, strings=nil) click to toggle source
Calls superclass method
# File metasm/exe_format/a_out.rb, line 79
def set_default_values(aout, strings=nil)
        if strings and name and @name != ''
                if not @name_p or strings[@name_p, @name.length] != @name
                        @name_p = strings.length
                        strings << @name << 0
                end
        end
        super(aout, strings)
end