Class: Indis::MachO::ARMUnixThreadCommand
- Inherits:
-
Command
- Object
- Command
- Indis::MachO::ARMUnixThreadCommand
- Defined in:
- lib/indis-macho/command.rb
Overview
LC_UNIXTHREAD
Constant Summary
- REGISTERS =
[:r0, :r1, :r2, :r3, :r4, :r5, :r6, :r7, :r8, :r9, :r10, :r11, :r12, :sp, :lr, :pc, :cpsr]
Constants inherited from Command
Command::CMD, Command::CMD_CLASS, Command::LC_REQ_DYLD
Instance Attribute Summary (collapse)
-
- (Object) registers
readonly
Returns the value of attribute registers.
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) registers (readonly)
Returns the value of attribute registers
272 273 274 |
# File 'lib/indis-macho/command.rb', line 272 def registers @registers end |
Instance Method Details
- (Object) process(payload)
274 275 276 277 278 279 |
# File 'lib/indis-macho/command.rb', line 274 def process(payload) super(payload) # XXX: this one parses only ARM thread state, need to get back to mach-o header to know the flavor @registers = payload.read(4*17).unpack('V'*17) end |