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:



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

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.



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

def offset_to( name )
    return nil
end
iv>