16#ifndef LIEF_PE_DEBUG_CODE_VIEW_PDB_H
17#define LIEF_PE_DEBUG_CODE_VIEW_PDB_H
52 const details::pe_pdb_70& pdb_70,
Section* sec);
55 const details::pe_pdb_20& pdb_70,
Section* sec);
69 uint32_t
age()
const {
95 std::unique_ptr<Debug>
clone()
const override {
96 return std::unique_ptr<Debug>(
new CodeViewPDB(*
this));
103 const auto& cv =
static_cast<const CodeView&
>(*debug);
118 std::string filename_;
Class that is used to rebuild a raw PE binary from a PE::Binary object.
Definition PE/Builder.hpp:45
CodeViewPDB & operator=(const CodeViewPDB &other)=default
CodeViewPDB(std::string filename)
Definition CodeViewPDB.hpp:45
std::string guid() const
The GUID signature to verify against the .pdb file signature. This attribute might be used to lookup ...
void age(uint32_t age)
Definition CodeViewPDB.hpp:83
void accept(Visitor &visitor) const override
std::array< uint8_t, 16 > signature_t
Definition CodeViewPDB.hpp:40
static bool classof(const Debug *debug)
Definition CodeViewPDB.hpp:99
CodeViewPDB(const CodeViewPDB &other)=default
const std::string & filename() const
The path to the .pdb file.
Definition CodeViewPDB.hpp:79
uint32_t age() const
Age value to verify. The age does not necessarily correspond to any known time value,...
Definition CodeViewPDB.hpp:69
friend class Builder
Definition CodeViewPDB.hpp:37
void signature(const signature_t &sig)
Definition CodeViewPDB.hpp:87
CodeViewPDB(CodeViewPDB &&other)=default
CodeViewPDB()
Definition CodeViewPDB.hpp:41
friend class Parser
Definition CodeViewPDB.hpp:36
CodeViewPDB(const details::pe_debug &debug_info, const details::pe_pdb_70 &pdb_70, Section *sec)
~CodeViewPDB() override=default
const signature_t & signature() const
The 32-bit signature to verify against the .pdb file signature.
Definition CodeViewPDB.hpp:74
CodeViewPDB & operator=(CodeViewPDB &&other)=default
std::string to_string() const override
void filename(std::string filename)
Definition CodeViewPDB.hpp:91
CodeViewPDB(const details::pe_debug &debug_info, const details::pe_pdb_20 &pdb_70, Section *sec)
std::unique_ptr< Debug > clone() const override
Definition CodeViewPDB.hpp:95
static bool classof(const Debug *debug)
Definition CodeView.hpp:72
SIGNATURES
Code view signatures.
Definition CodeView.hpp:33
@ PDB_20
Definition CodeView.hpp:37
@ PDB_70
Definition CodeView.hpp:36
CodeView()
Definition CodeView.hpp:42
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
Class which represents a PE section.
Definition PE/Section.hpp:46
Definition Visitor.hpp:210
Definition DataDirectory.hpp:37
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41