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_DEBUG_CODE_VIEW_H
17#define LIEF_PE_DEBUG_CODE_VIEW_H
30 public:
enum class SIGNATURES {
43 Debug(Debug::TYPES::CODEVIEW)
46 Debug{Debug::TYPES::CODEVIEW},
50 CodeView(
const details::pe_debug& debug, SIGNATURES sig, Section* sec) :
56 CodeView&
operator=(
const CodeView& other) =
default;
68 std::unique_ptr<Debug>
clone()
const override {
69 return std::unique_ptr<Debug>(
new CodeView(*
this));
73 return debug->type() == Debug::TYPES::CODEVIEW;
78 void accept(Visitor& visitor)
const override;
81 SIGNATURES sig_ = SIGNATURES::UNKNOWN;
Class that is used to rebuild a raw PE binary from a PE::Binary object.
Definition PE/Builder.hpp:45
Interface for the (generic) Debug CodeView (IMAGE_DEBUG_TYPE_CODEVIEW)
Definition CodeView.hpp:26
SIGNATURES signature() const
The signature that defines the underlying type of the payload.
Definition CodeView.hpp:64
std::unique_ptr< Debug > clone() const override
Definition CodeView.hpp:68
CodeView(CodeView &&other)=default
static bool classof(const Debug *debug)
Definition CodeView.hpp:72
void accept(Visitor &visitor) const override
CodeView & operator=(const CodeView &other)=default
SIGNATURES
Code view signatures.
Definition CodeView.hpp:33
CodeView & operator=(CodeView &&other)=default
std::string to_string() const override
CodeView(SIGNATURES sig)
Definition CodeView.hpp:45
CodeView(const CodeView &other)=default
CodeView(const details::pe_debug &debug, SIGNATURES sig, Section *sec)
Definition CodeView.hpp:50
CodeView()
Definition CodeView.hpp:42
~CodeView() override=default
This class represents a generic entry in the debug data directory. For known types,...
Definition debug/Debug.hpp:40
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used...
Definition PE/Parser.hpp:52
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
const char * to_string(AuxiliaryWeakExternal::CHARACTERISTICS e)
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41