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

Class TLSDirectory

source code

                 object --+    
                          |    
baseclasses.BaseStructClass --+
                              |
                             TLSDirectory

TLS directory object.

Instance Methods [hide private]
 
__init__(self, shouldPack=True)
Class representation of a IMAGE_TLS_DIRECTORY structure.
source code
 
getType(self)
Returns consts.TLS_DIRECTORY.
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]
TLSDirectory
parse(readDataInstance)
Returns a new TLSDirectory object.
source code
Instance Variables [hide private]
  startAddressOfRawData
DWORD startAddressOfRawData.
  endAddressOfRawData
DWORD endAddressOfRawData.
  addressOfIndex
DWORD addressOfIndex.
  addressOfCallbacks
DWORD addressOfCallbacks.
  sizeOfZeroFill
DWORD sizeOfZeroFill.
  characteristics
DWORD characteristics.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, shouldPack=True)
(Constructor)

source code 

Class representation of a IMAGE_TLS_DIRECTORY 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.TLS_DIRECTORY.

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

parse(readDataInstance)
Static Method

source code 

Returns a new TLSDirectory object.

Parameters:
Returns: TLSDirectory
A new {TLSDirectory} object.