LIEF: Library to Instrument Executable Formats Version 0.16.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
16#ifndef LIEF_PE_CODE_INTEGRITY_H
17#define LIEF_PE_CODE_INTEGRITY_H
27struct pe_code_integrity;
36 CodeIntegrity&
operator=(
const CodeIntegrity&) =
default;
38 uint16_t
flags()
const {
49 return catalog_offset_;
64 catalog_offset_ = catalog_offset;
70 void accept(Visitor& visitor)
const override;
76 uint16_t catalog_ = 0;
78 uint32_t catalog_offset_ = 0;
79 uint32_t reserved_ = 0;
Definition CodeIntegrity.hpp:30
void accept(Visitor &visitor) const override
CodeIntegrity & operator=(const CodeIntegrity &)=default
uint16_t flags() const
Flags to indicate if CI information is available, etc.
Definition CodeIntegrity.hpp:40
uint16_t catalog() const
0xFFFF means not available
Definition CodeIntegrity.hpp:45
void catalog(uint16_t catalog)
Definition CodeIntegrity.hpp:60
CodeIntegrity(const CodeIntegrity &)=default
void catalog_offset(uint32_t catalog_offset)
Definition CodeIntegrity.hpp:63
uint32_t catalog_offset() const
Definition CodeIntegrity.hpp:48
~CodeIntegrity() override=default
void reserved(uint32_t reserved)
Definition CodeIntegrity.hpp:66
void flags(uint16_t flags)
Definition CodeIntegrity.hpp:57
uint32_t reserved() const
Additional bitmask to be defined later.
Definition CodeIntegrity.hpp:53
friend std::ostream & operator<<(std::ostream &os, const CodeIntegrity &entry)
CodeIntegrity(const details::pe_code_integrity &header)
Definition CodeIntegrity.hpp:26
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41