def valid_reloction_types(self):
        """Return the valid_reloc_types attribute of the BFD file being processed."""
        if not self._ptr:
            raise BfdException("BFD not initialized")

        return _bfd.get_bfd_attribute(
            self._ptr, BfdAttributes.VALID_RELOC_TYPES)
Return the valid_reloc_types attribute of the BFD file being processed.