16#ifndef LIEF_PE_LOAD_CONFIGURATION_V6_H
17#define LIEF_PE_LOAD_CONFIGURATION_V6_H
35 static constexpr VERSION WIN_VERSION = VERSION::WIN_10_0_15002;
51 return guardrf_verify_stackpointer_function_pointer_;
56 return hotpatch_table_offset_;
60 guardrf_verify_stackpointer_function_pointer_ = value;
63 hotpatch_table_offset_ = value;
67 return config->
version() == WIN_VERSION;
74 std::ostream&
print(std::ostream& os)
const override;
77 uint64_t guardrf_verify_stackpointer_function_pointer_ = 0;
78 uint32_t hotpatch_table_offset_ = 0;
Load Configuration enhanced with Return Flow Guard.
Definition LoadConfigurationV5.hpp:32
Load Configuration enhanced with Hotpatch and improved RFG.
Definition LoadConfigurationV6.hpp:33
LoadConfigurationV6(const LoadConfigurationV6 &)=default
uint64_t guard_rf_verify_stackpointer_function_pointer() const
VA of the Function verifying the stack pointer.
Definition LoadConfigurationV6.hpp:50
std::ostream & print(std::ostream &os) const override
void guard_rf_verify_stackpointer_function_pointer(uint64_t value)
Definition LoadConfigurationV6.hpp:59
LoadConfigurationV6()=default
void accept(Visitor &visitor) const override
VERSION version() const override
(SDK) Version of the structure
Definition LoadConfigurationV6.hpp:45
static bool classof(const LoadConfiguration *config)
Definition LoadConfigurationV6.hpp:66
~LoadConfigurationV6() override=default
LoadConfigurationV6(const details::load_configuration_v6< T > &header)
LoadConfigurationV6 & operator=(const LoadConfigurationV6 &)=default
uint32_t hotpatch_table_offset() const
Offset to the hotpatch table.
Definition LoadConfigurationV6.hpp:55
void hotpatch_table_offset(uint32_t value)
Definition LoadConfigurationV6.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
VERSION
Definition LoadConfiguration.hpp:37
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
Definition LoadConfigurationV6.hpp:29
#define LIEF_API
Definition visibility.h:41
#define LIEF_LOCAL
Definition visibility.h:42