16#ifndef LIEF_PE_EX_DLL_CHARACTERISTICS_H
17#define LIEF_PE_EX_DLL_CHARACTERISTICS_H
43 static std::unique_ptr<ExDllCharacteristics>
58 std::unique_ptr<Debug>
clone()
const override {
72 return (characteristics_ & (uint32_t)c) != 0;
84 uint32_t characteristics_ = 0;
span< uint8_t > payload()
Debug data associated with this entry.
const Section * section() const
The section where debug data is located.
Definition debug/Debug.hpp:170
@ EX_DLLCHARACTERISTICS
Extended DLL characteristics.
Definition debug/Debug.hpp:100
bool has(CHARACTERISTICS c) const
Check if the given CHARACTERISTICS is used.
Definition ExDllCharacteristics.hpp:71
CHARACTERISTICS characteristics() const
Return the characteristics.
Definition ExDllCharacteristics.hpp:63
ExDllCharacteristics(ExDllCharacteristics &&)=default
ExDllCharacteristics(const ExDllCharacteristics &other)=default
CHARACTERISTICS
Extended DLL Characteristics.
Definition ExDllCharacteristics.hpp:32
@ CET_SET_CONTEXT_IP_VALIDATION_RELAXED_MODE
Definition ExDllCharacteristics.hpp:35
@ FORWARD_CFI_COMPAT
Definition ExDllCharacteristics.hpp:39
@ HOTPATCH_COMPATIBLE
Definition ExDllCharacteristics.hpp:40
@ CET_COMPAT_STRICT_MODE
Definition ExDllCharacteristics.hpp:34
@ CET_COMPAT
Definition ExDllCharacteristics.hpp:33
@ CET_RESERVED_2
Definition ExDllCharacteristics.hpp:38
@ CET_DYNAMIC_APIS_ALLOW_IN_PROC
Definition ExDllCharacteristics.hpp:36
@ CET_RESERVED_1
Definition ExDllCharacteristics.hpp:37
std::unique_ptr< Debug > clone() const override
Definition ExDllCharacteristics.hpp:58
static bool classof(const Debug *debug)
Definition ExDllCharacteristics.hpp:75
static std::unique_ptr< ExDllCharacteristics > parse(const details::pe_debug &hdr, Section *section, span< uint8_t > payload)
std::string to_string() const override
~ExDllCharacteristics() override=default
ExDllCharacteristics & operator=(ExDllCharacteristics &&other)=default
ExDllCharacteristics & operator=(const ExDllCharacteristics &other)=default
std::vector< CHARACTERISTICS > characteristics_list() const
Characteristics as a vector.
ExDllCharacteristics(const details::pe_debug &debug, Section *sec, uint32_t characteristics)
Definition ExDllCharacteristics.hpp:46
Class which represents a PE section.
Definition PE/Section.hpp:46
#define ENABLE_BITMASK_OPERATORS(X)
Definition enums.hpp:24
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
const char * to_string(CODE_PAGES e)
LIEF namespace.
Definition Abstract/Binary.hpp:40
tcb::span< ElementType, Extent > span
Definition span.hpp:22
#define LIEF_API
Definition visibility.h:41