16#ifndef LIEF_PE_DEBUG_CODE_VIEW_H
17#define LIEF_PE_DEBUG_CODE_VIEW_H
62 std::unique_ptr<Debug>
clone()
const override {
63 return std::unique_ptr<Debug>(
new CodeView(*
this));
67 return debug->
type() == Debug::TYPES::CODEVIEW;
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:58
friend std::ostream & operator<<(std::ostream &os, const CodeView &entry)
std::unique_ptr< Debug > clone() const override
Definition CodeView.hpp:62
static bool classof(const Debug *debug)
Definition CodeView.hpp:66
void accept(Visitor &visitor) const override
CodeView & operator=(const CodeView &other)=default
SIGNATURES
Code view signatures.
Definition CodeView.hpp:33
CodeView(SIGNATURES sig)
Definition CodeView.hpp:45
CodeView(const details::pe_debug &debug, SIGNATURES sig)
CodeView(const CodeView &other)=default
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:38
TYPES type() const
The format DEBUG_TYPES of the debugging information.
Definition debug/Debug.hpp:100
TYPES
The entry types.
Definition debug/Debug.hpp:44
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used...
Definition PE/Parser.hpp:47
Definition Visitor.hpp:224
const char * to_string(DataDirectory::TYPES e)
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41