Module idautils :: Class peutils_t
[frames] | no frames]

Class peutils_t

object --+
         |
        peutils_t

PE utility class. Retrieves PE information from the database.

Constants from pe.h

Instance Methods
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__str__(self)
str(x)
 
header(self)
Returns the complete PE header as an instance of peheader_t (defined in the SDK).

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

Class Variables
  PE_NODE = "$ PE header"
  PE_ALT_DBG_FPOS = idaapi.BADADDR &-1
  PE_ALT_IMAGEBASE = idaapi.BADADDR &-2
  PE_ALT_PEHDR_OFF = idaapi.BADADDR &-3
  PE_ALT_NEFLAGS = idaapi.BADADDR &-4
  PE_ALT_TDS_LOADED = idaapi.BADADDR &-5
  PE_ALT_PSXDLL = idaapi.BADADDR &-6
  imagebase = property(lambda self: self.__penode.altval(peutils...
Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details

imagebase

Value:
property(lambda self: self.__penode.altval(peutils_t.PE_ALT_IMAGEBASE)\
)