Package pype32 :: Module directories :: Class ImageBaseRelocationEntry
[hide private]
[frames] | no frames]

Class ImageBaseRelocationEntry

source code

                 object --+    
                          |    
baseclasses.BaseStructClass --+
                              |
                             ImageBaseRelocationEntry

ImageBaseRelocationEntry object.

Instance Methods [hide private]
 
__init__(self, shouldPack=True)
A class representation of a IMAGE_BASE_RELOCATION structure.
source code
 
getType(self)
Returns consts.IMAGE_BASE_RELOCATION_ENTRY.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

    Inherited from baseclasses.BaseStructClass
 
__len__(self) source code
 
__str__(self)
str(x)
source code
dict
getFields(self)
Returns all the class attributues.
source code
 
sizeof(self) source code
Static Methods [hide private]
ImageBaseRelocationEntry
parse(readDataInstance)
Returns a new ImageBaseRelocationEntry object.
source code
Instance Variables [hide private]
  virtualAddress
DWORD virtualAddress.
  sizeOfBlock
DWORD sizeOfBlock
  items
Array items.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, shouldPack=True)
(Constructor)

source code 

A class representation of a IMAGE_BASE_RELOCATION structure.

Parameters:
  • shouldPack (bool) - (Optional) If set to c{True}, the object will be packed. If set to False, the object won't be packed.
Overrides: object.__init__

getType(self)

source code 

Returns consts.IMAGE_BASE_RELOCATION_ENTRY.

Raises:
  • NotImplementedError - The method wasn't implemented in the inherited class.
Overrides: baseclasses.BaseStructClass.getType

parse(readDataInstance)
Static Method

source code 

Returns a new ImageBaseRelocationEntry object.

Parameters:
Returns: ImageBaseRelocationEntry
A new ImageBaseRelocationEntry object.