Struct lief::pe::enclave_configuration::EnclaveImport
pub struct EnclaveImport<'a> { /* private fields */ }
Expand description
This structure represents an entry in the array of images that an enclave can import.
Implementations§
§impl EnclaveImport<'_>
impl EnclaveImport<'_>
pub fn get_type(&self) -> Type
pub fn get_type(&self) -> Type
The type of identifier of the image that must match the value in the import record.
pub fn min_security_version(&self) -> u32
pub fn min_security_version(&self) -> u32
The minimum enclave security version that each image must have for the image to be imported successfully. The image is rejected unless its enclave security version is equal to or greater than the minimum value in the import record. Set the value in the import record to zero to turn off the security version check.
pub fn import_name_rva(&self) -> u32
pub fn import_name_rva(&self) -> u32
The relative virtual address of a NULL-terminated string that contains the same value found in the import directory for the image.
pub fn import_name(&self) -> String
pub fn import_name(&self) -> String
Resolved import name
pub fn id(&self) -> &[u8] ⓘ
pub fn id(&self) -> &[u8] ⓘ
The unique identifier of the primary module for the enclave, if the
EnclaveImport::get_type
is Type::UNIQUE_ID
. Otherwise, the author identifier of the
primary module for the enclave.