:py:mod:`dissect.executable.pe.directory.export` ================================================ .. py:module:: dissect.executable.pe.directory.export Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.executable.pe.directory.export.ExportDirectory dissect.executable.pe.directory.export.ExportFunction .. py:class:: ExportDirectory(pe: dissect.executable.pe.pe.PE, address: int, size: int) Bases: :py:obj:`dissect.executable.pe.directory.base.DataDirectory` The export directory of a PE file. .. py:method:: __repr__() -> str .. py:method:: __iter__() -> collections.abc.Iterator[ExportFunction] .. py:method:: __getitem__(idx: str | int) -> ExportFunction .. py:method:: __contains__(idx: str | int) -> bool .. py:property:: header :type: dissect.executable.pe.c_pe.c_pe.IMAGE_EXPORT_DIRECTORY The export directory header. .. py:property:: timestamp :type: datetime.datetime | None The timestamp of the export directory, or ``None`` if the PE file is compiled as reproducible. .. py:property:: name :type: str | None The name of the export directory, if available. .. py:property:: base :type: int The base ordinal of the exported functions. .. py:property:: functions :type: list[ExportFunction] List of exported functions. .. py:class:: ExportFunction .. py:attribute:: directory :type: ExportDirectory The export directory this function belongs to. .. py:attribute:: unbiased_ordinal :type: int The unbiased ordinal of the exported function. .. py:attribute:: name :type: str The name of the exported function. .. py:attribute:: address :type: int The address of the exported function. .. py:attribute:: forwarder :type: str | None :value: None The forwarder of the exported function, if it is a forwarder. .. py:method:: __repr__() -> str .. py:property:: ordinal :type: int The unbiased ordinal with the base ordinal added.