16#ifndef LIEF_PE_DEBUG_CODE_VIEW_H
17#define LIEF_PE_DEBUG_CODE_VIEW_H
18#include "LIEF/PE/debug/Debug.hpp"
48 CodeView(
const details::pe_debug& debug, SIGNATURES sig);
50 CodeView(
const CodeView& other);
51 CodeView& operator=(
const CodeView& other);
60 std::unique_ptr<Debug> clone()
const override {
61 return std::unique_ptr<Debug>(
new CodeView(*
this));
64 static bool classof(
const Debug* debug) {
65 return debug->type() == Debug::TYPES::CODEVIEW;
68 void accept(Visitor& visitor)
const override;
69 LIEF_API
friend std::ostream& operator<<(std::ostream& os,
const CodeView& entry);
72 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:56
SIGNATURES
Code view signatures.
Definition CodeView.hpp:33
This class represents a generic entry in the debug data directory. For known types,...
Definition debug/Debug.hpp:38
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used...
Definition PE/Parser.hpp:47
LIEF namespace.
Definition Abstract/Binary.hpp:32