15#ifndef LIEF_PE_DEBUG_CODE_VIEW_H
16#define LIEF_PE_DEBUG_CODE_VIEW_H
76 std::unique_ptr<Debug>
clone()
const override {
77 return std::unique_ptr<Debug>(
new CodeView(*
this));
94 CodeView(KIND kind,
const details::pe_debug& debug, SIGNATURES sig,
100 SIGNATURES sig_ = SIGNATURES::UNKNOWN;
101 KIND kind_ = KIND::GENERIC;
Class that is used to rebuild a raw PE binary from a PE::Binary object.
Definition PE/Builder.hpp:43
Interface for the (generic) Debug CodeView (IMAGE_DEBUG_TYPE_CODEVIEW).
Definition CodeView.hpp:25
SIGNATURES signature() const
The signature that defines the underlying type of the payload.
Definition CodeView.hpp:67
std::unique_ptr< Debug > clone() const override
Definition CodeView.hpp:76
CodeView(CodeView &&other)=default
static bool classof(const Debug *debug)
Definition CodeView.hpp:80
void accept(Visitor &visitor) const override
KIND
Discriminator for the subclasses.
Definition CodeView.hpp:42
CodeView & operator=(const CodeView &other)=default
SIGNATURES
Code view signatures.
Definition CodeView.hpp:32
friend class Builder
Definition CodeView.hpp:27
CodeView & operator=(CodeView &&other)=default
std::string to_string() const override
CodeView(SIGNATURES sig)
Definition CodeView.hpp:50
CodeView(const CodeView &other)=default
friend class Parser
Definition CodeView.hpp:26
CodeView(const details::pe_debug &debug, SIGNATURES sig, Section *sec)
Definition CodeView.hpp:54
CodeView()
Definition CodeView.hpp:47
KIND kind() const
Determine the type of the concrete implementation.
Definition CodeView.hpp:72
~CodeView() override=default
This class represents a generic entry in the debug data directory. For known types,...
Definition debug/Debug.hpp:39
TYPES
The entry types.
Definition debug/Debug.hpp:45
@ CODEVIEW
CodeView debug information that is used to store PDB info.
Definition debug/Debug.hpp:52
Main interface to parse PE binaries. In particular, the static Parser::parse functions should be used...
Definition PE/Parser.hpp:53
Class which represents a PE section.
Definition PE/Section.hpp:46
Definition Visitor.hpp:211
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:31
const char * to_string(CODE_PAGES e)
#define LIEF_API
Definition visibility.h:44