16#ifndef LIEF_PE_SYMBOLS_H
17#define LIEF_PE_SYMBOLS_H
23#include "LIEF/Object.hpp"
24#include "LIEF/visibility.h"
26#include "LIEF/Abstract/Symbol.hpp"
27#include "LIEF/PE/enums.hpp"
47 Symbol(
const details::pe_symbol& header);
56 int16_t section_number()
const;
57 uint16_t type()
const;
61 uint8_t numberof_aux_symbols()
const;
62 std::wstring wname()
const;
69 void accept(
Visitor& visitor)
const override;
72 LIEF_API
friend std::ostream& operator<<(std::ostream& os,
const Symbol& entry);
75 int16_t section_number_ = 0;
77 uint8_t numberof_aux_symbols_ = 0;
Class that is used to rebuild a raw PE binary from a PE::Binary object.
Definition PE/Builder.hpp:45
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used...
Definition PE/Parser.hpp:47
Class which represents a PE section.
Definition PE/Section.hpp:41
Class that represents a PE symbol.
Definition PE/Symbol.hpp:41
bool has_section() const
True if symbols are located in a section
This class represents a symbol in an executable format.
Definition Abstract/Symbol.hpp:28
Definition Visitor.hpp:219
SYMBOL_BASE_TYPES
Definition PE/enums.hpp:72
SYMBOL_STORAGE_CLASS
Storage class tells where and what the symbol represents.
Definition PE/enums.hpp:39
SYMBOL_COMPLEX_TYPES
Definition PE/enums.hpp:91
LIEF namespace.
Definition Abstract/Binary.hpp:32