Class: Relyze::ExecutableFileModel::DataBlock
- Inherits:
-
BasicBlock
- Object
- BasicBlock
- Relyze::ExecutableFileModel::DataBlock
- Defined in:
- C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb
Instance Method Summary collapse
-
#to_code ⇒ CodeBlock
Convert this block to a code block, if possible.
-
#to_data ⇒ DataBlock
Convert this block to a data block.
-
#type ⇒ Symbol
Get this block type, :data.
Methods inherited from BasicBlock
#add_reference, #adjacent, #code?, #color, #color=, #custom_name?, #data?, #datatype, #datatype=, #display_name, #join, #length, #name, #name=, #nearest_boundary, #next_boundary, #previous, #previous_boundary, #references, #remove_reference, #render, #reprocess, #rva, #segment, #set_datatype, #split, #to_s
Instance Method Details
#to_code ⇒ CodeBlock
Convert this block to a code block, if possible.
1127 1128 1129 |
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 1127 def to_code return nil end |
#to_data ⇒ DataBlock
Convert this block to a data block.
1134 1135 1136 |
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 1134 def to_data return self end |
#type ⇒ Symbol
Get this block type, :data
1120 1121 1122 |
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 1120 def type return :data end |