:py:mod:`dissect.executable.pe.directory.basereloc` =================================================== .. py:module:: dissect.executable.pe.directory.basereloc Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.executable.pe.directory.basereloc.BaseRelocationDirectory dissect.executable.pe.directory.basereloc.BaseRelocation .. py:class:: BaseRelocationDirectory(pe: dissect.executable.pe.pe.PE, address: int, size: int) Bases: :py:obj:`dissect.executable.pe.directory.base.DataDirectory` The base relocation directory of a PE file. .. py:method:: __repr__() -> str .. py:method:: __len__() -> int .. py:method:: __iter__() -> collections.abc.Iterator[BaseRelocation] .. py:method:: __getitem__(idx: int) -> BaseRelocation .. py:property:: entries :type: list[BaseRelocation] List of base relocation entries. .. py:class:: BaseRelocation A single base relocation entry in the base relocation directory. .. py:attribute:: type :type: dissect.executable.pe.c_pe.c_pe.IMAGE_REL_BASED .. py:attribute:: rva :type: int .. py:method:: __repr__() -> str