Class: Indis::MachO::SegmentCommand
- Defined in:
- lib/indis-macho/command.rb
Overview
LC_SEGMENT
Constant Summary
Constants inherited from Command
Command::CMD, Command::CMD_CLASS, Command::LC_REQ_DYLD
Instance Attribute Summary collapse
-
#sections ⇒ Object
readonly
Returns the value of attribute sections.
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Indis::MachO::Command
Instance Attribute Details
#sections ⇒ Object (readonly)
Returns the value of attribute sections.
154 155 156 |
# File 'lib/indis-macho/command.rb', line 154 def sections @sections end |
Instance Method Details
#process(payload) ⇒ Object
156 157 158 159 160 161 162 163 164 |
# File 'lib/indis-macho/command.rb', line 156 def process(payload) super(payload) @sections = [] @nsects.times do s = SectionSubCommand.new(payload) @sections << s end end |