class Metasm::MachO::CS_SLOT_PTR
Attributes
body[RW]
Public Instance Methods
decode(m, cs_base)
click to toggle source
Calls superclass method
Metasm::SerialStruct#decode
# File metasm/exe_format/macho.rb, line 432 def decode(m, cs_base) super(m) ptr = m.encoded.ptr m.encoded.ptr = cs_base + @offset if @type == 0 @body = CS_CODE_DIRECTORY.decode(m) else @body = CS_SLOT.decode(m) end m.encoded.ptr = ptr end