Class: OdinFlex::MachO::LC_VERSION_MIN_MACOSX
- Defined in:
- lib/odinflex/mach-o.rb
Constant Summary collapse
- VALUE =
0x24
- SIZE =
uuid
16
Instance Attribute Summary collapse
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
Attributes inherited from Command
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cmd, size, uuid) ⇒ LC_VERSION_MIN_MACOSX
constructor
A new instance of LC_VERSION_MIN_MACOSX.
Methods inherited from Command
Methods included from SectionTypes
#command?, #dysymtab?, #section?, #segment?, #symtab?
Constructor Details
#initialize(cmd, size, uuid) ⇒ LC_VERSION_MIN_MACOSX
Returns a new instance of LC_VERSION_MIN_MACOSX.
174 175 176 177 |
# File 'lib/odinflex/mach-o.rb', line 174 def initialize cmd, size, uuid super(cmd, size) @uuid = uuid end |
Instance Attribute Details
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
172 173 174 |
# File 'lib/odinflex/mach-o.rb', line 172 def uuid @uuid end |
Class Method Details
.from_io(cmd, size, offset, io) ⇒ Object
168 169 170 |
# File 'lib/odinflex/mach-o.rb', line 168 def self.from_io cmd, size, offset, io new(cmd, size, *io.read(SIZE)) end |