LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
16#ifndef LIEF_PE_LOAD_CONFIGURATION_V0_H
17#define LIEF_PE_LOAD_CONFIGURATION_V0_H
34 static constexpr VERSION WIN_VERSION = VERSION::SEH;
38 LoadConfigurationV0&
operator=(
const LoadConfigurationV0&) =
default;
51 return se_handler_table_;
56 return se_handler_count_;
60 se_handler_table_ = se_handler_table;
63 se_handler_count_ = se_handler_count;
68 static bool classof(
const LoadConfiguration* config) {
69 return config->
version() == WIN_VERSION;
72 void accept(Visitor& visitor)
const override;
74 std::ostream&
print(std::ostream& os)
const override;
77 uint64_t se_handler_table_ = 0;
78 uint64_t se_handler_count_ = 0;
LoadConfiguration enhanced with SEH.
Definition LoadConfigurationV0.hpp:32
uint64_t se_handler_table() const
The VA of the sorted table of RVAs of each valid, unique SE handler in the image.
Definition LoadConfigurationV0.hpp:50
VERSION version() const override
(SDK) Version of the structure
Definition LoadConfigurationV0.hpp:44
uint64_t se_handler_count() const
The count of unique handlers in the table.
Definition LoadConfigurationV0.hpp:55
LoadConfigurationV0(const LoadConfigurationV0 &)=default
~LoadConfigurationV0() override=default
void se_handler_table(uint64_t se_handler_table)
Definition LoadConfigurationV0.hpp:59
void accept(Visitor &visitor) const override
LoadConfigurationV0(const details::load_configuration_v0< T > &header)
LoadConfigurationV0()=default
std::ostream & print(std::ostream &os) const override
static bool classof(const LoadConfiguration *config)
Definition LoadConfigurationV0.hpp:68
LoadConfigurationV0 & operator=(const LoadConfigurationV0 &)=default
void se_handler_count(uint64_t se_handler_count)
Definition LoadConfigurationV0.hpp:62
Class that represents the default PE's LoadConfiguration
Definition LoadConfiguration.hpp:35
virtual VERSION version() const
(SDK) Version of the structure
Definition LoadConfiguration.hpp:64
Definition CodeIntegrity.hpp:26
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
Definition LoadConfigurationV0.hpp:28
#define LIEF_API
Definition visibility.h:41
#define LIEF_LOCAL
Definition visibility.h:42