Class: Indis::MachO::SegmentCommand
- Inherits:
-
Command
- Object
- Command
- Indis::MachO::SegmentCommand
- Defined in:
- lib/indis-macho/command.rb
Overview
LC_SEGMENT
Constant Summary
Constant Summary
Constants inherited from Command
Command::CMD, Command::CMD_CLASS, Command::LC_REQ_DYLD
Instance Attribute Summary (collapse)
-
- (Object) sections
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
- (Object) sections (readonly)
Returns the value of attribute sections
199 200 201 |
# File 'lib/indis-macho/command.rb', line 199 def sections @sections end |
Instance Method Details
- (Object) process(payload)
201 202 203 204 205 206 207 208 209 |
# File 'lib/indis-macho/command.rb', line 201 def process(payload) super(payload) @sections = [] @nsects.times do s = SectionSubCommand.new(payload) @sections << s end end |