Class: Indis::ARM::UnknownInstruction

Inherits:
Instruction
  • Object
show all
Defined in:
lib/indis-arm/instruction.rb

Overview

UnknownInstruction represents an unknown (not yet mapped in DSL) instruction

Instance Attribute Summary

Attributes inherited from Instruction

#value_format

Instance Method Summary collapse

Methods inherited from Instruction

bits_mask, bits_match, #h, kmap

Constructor Details

#initialize(vmaddr, bytes) ⇒ UnknownInstruction

Returns a new instance of UnknownInstruction.



97
98
99
100
# File 'lib/indis-arm/instruction.rb', line 97

def initialize(vmaddr, bytes)
  super
  @val = bytes
end

Instance Method Details

#to_sObject



102
103
104
# File 'lib/indis-arm/instruction.rb', line 102

def to_s
  "UNK\t#{@val.to_s(16).upcase}"
end