Class: Relyze::ExecutableFileModel::StructureDataType

Inherits:
DataType
  • Object
show all
Defined in:
C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb

Instance Method Summary collapse

Methods inherited from DataType

#access, #dup, #modifiers, #name, #size, #to_s, #type

Instance Method Details

#items {|data_type| ... } ⇒ Object

Get every DataType item in this structure.

Yields:

  • (data_type)

    yields the data_type to the block.

Yield Parameters:



351
352
353
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 351

def items
    return nil
end

#offset_to(name) ⇒ Integer?

Get the offset into the this structure for the item with a given name.

Parameters:

  • name (String)

    An item name.

Returns:

  • (Integer, nil)

    A byte offset to the item if found, otherwise nil is returned.



359
360
361
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 359

def offset_to( name )
    return nil
end