Class: Relyze::DiffResults::DiffInstructionResult
- Inherits:
-
DiffBaseResult
- Object
- DiffBaseResult
- Relyze::DiffResults::DiffInstructionResult
- Defined in:
- C:/Program Files/Relyze/lib/relyze/core/diff_results.rb
Instance Attribute Summary
Attributes inherited from DiffBaseResult
#difference, #matched_rva, #parent, #rva, #type
Instance Method Summary collapse
-
#instruction ⇒ Relyze::ExecutableFileModel::Instruction?
Get the #instruction associated with this diff result.
-
#name ⇒ String
Get the name of this diff result.
Methods inherited from DiffBaseResult
#_generate_child, #get_child, #get_children, #initialize, #is_added?, #is_equal?, #is_modified?, #is_removed?, #matched
Constructor Details
This class inherits a constructor from Relyze::DiffResults::DiffBaseResult
Instance Method Details
#instruction ⇒ Relyze::ExecutableFileModel::Instruction?
Get the #instruction associated with this diff result.
229 230 231 |
# File 'C:/Program Files/Relyze/lib/relyze/core/diff_results.rb', line 229 def instruction @parent.block.instruction( self.rva ) end |
#name ⇒ String
Get the name of this diff result.
236 237 238 |
# File 'C:/Program Files/Relyze/lib/relyze/core/diff_results.rb', line 236 def name "inst_0x%X" % [ self.rva ] end |