LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
LIEF::PE::Export Class Reference

Class which represents a PE Export. More...

#include <Export.hpp>

Inheritance diagram for LIEF::PE::Export:
Inheritance graph
[legend]
Collaboration diagram for LIEF::PE::Export:
Collaboration graph
[legend]

Public Types

using entries_t = std::vector<ExportEntry>
 
using it_entries = ref_iterator<entries_t&>
 
using it_const_entries = const_ref_iterator<const entries_t&>
 
- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Public Member Functions

 Export (const details::pe_export_directory_table &header)
 
 Export (const Export &)
 
Exportoperator= (const Export &)
 
uint32_t export_flags () const
 According to the PE specifications this value is reserved and should be set to 0.
 
uint32_t timestamp () const
 The time and date that the export data was created.
 
uint16_t major_version () const
 The major version number (can be user-defined)
 
uint16_t minor_version () const
 The minor version number (can be user-defined)
 
uint32_t ordinal_base () const
 The starting number for the exports. Usually this value is set to 1.
 
const std::string & name () const
 The name of the library exported (e.g. KERNEL32.dll)
 
it_entries entries ()
 Iterator over the ExportEntry.
 
it_const_entries entries () const
 
void export_flags (uint32_t flags)
 
void timestamp (uint32_t timestamp)
 
void major_version (uint16_t major_version)
 
void minor_version (uint16_t minor_version)
 
void ordinal_base (uint32_t ordinal_base)
 
void name (std::string name)
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::Object
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 

Detailed Description

Class which represents a PE Export.

Member Function Documentation

◆ accept()

void LIEF::PE::Export::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.


The documentation for this class was generated from the following file: