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.



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

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



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

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)


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

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



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

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.



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

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.



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

def target_rva
    return nil
end
ruby-2.6.5).