Class: Relyze::ExecutableFileModel::PointerDataType

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

#pointer_typeSymbol

Get this pointers type.

Returns:

  • (Symbol)

    This pointers type, either :va, :varef, :rva or :fileoffset.



301
302
303
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 301

def pointer_type
    return nil
end

#target_blocktypeSymbol?

Get the BasicBlock type of this pointers target location if known.

Returns:

  • (Symbol, nil)

    BasicBlock type if known, either :code or :data



322
323
324
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 322

def target_blocktype
    return nil
end

#target_blocktype=(type) ⇒ true, false

Set the BasicBlock type of this pointers target location.

Parameters:

  • type (Symbol, nil)

    BasicBlock type, either :code or :data

Returns:

  • (true, false)


330
331
332
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 330

def target_blocktype=( type )
    return false
end

#target_datatypeDataType?

Get the data type of this pointers target location if known.

Returns:

  • (DataType, nil)

    the pointers target data type if any



308
309
310
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 308

def target_datatype
    return nil
end

#target_datatype=(data_type) ⇒ Object

Set the data type of this pointers target location.

Parameters:

  • data_type (DataType, nil)

    The data type of this pointers target location.



315
316
317
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 315

def target_datatype=( data_type )
    return data_type
end

#target_rvaInteger?

Get the target RVA of this pointer if known.

Returns:

  • (Integer, nil)

    This pointers target RVA.



337
338
339
# File 'C:/Program Files/Relyze/lib/relyze/core/executable_file_model.rb', line 337

def target_rva
    return nil
end