15#ifndef LIEF_PDB_FUNCTION_H
16#define LIEF_PDB_FUNCTION_H
52 template <
typename RefT>
58 Iterator(std::unique_ptr<details::FunctionIt> impl);
77 return static_cast<const Iterator*
>(
this)->
operator*();
81 std::unique_ptr<details::FunctionIt> impl_;
83 Function(std::unique_ptr<details::Function> impl);
111 std::unique_ptr<details::Function> impl_;
Definition PDB/Function.hpp:43
pointer operator->() const
Definition PDB/Function.hpp:47
friend class Iterator
Definition PDB/Function.hpp:45
std::unique_ptr< Function > value_type
Definition PDB/Function.hpp:37
Iterator operator++(int)
Definition PDB/Function.hpp:68
friend bool operator==(const Iterator &LHS, const Iterator &RHS)
std::forward_iterator_tag iterator_category
Definition PDB/Function.hpp:36
details::FunctionIt implementation
Definition PDB/Function.hpp:41
Function & reference
Definition PDB/Function.hpp:40
Iterator(const Iterator &)
std::unique_ptr< Function > operator*() const
PointerProxy operator->() const
Definition PDB/Function.hpp:76
std::ptrdiff_t difference_type
Definition PDB/Function.hpp:38
Function * pointer
Definition PDB/Function.hpp:39
friend bool operator!=(const Iterator &LHS, const Iterator &RHS)
Definition PDB/Function.hpp:62
Iterator(std::unique_ptr< details::FunctionIt > impl)
std::string section_name() const
The name of the section in which this function is defined.
friend std::ostream & operator<<(std::ostream &os, const Function &F)
Definition PDB/Function.hpp:104
uint32_t code_size() const
The size of the function.
Function(std::unique_ptr< details::Function > impl)
std::string name() const
The name of the function (this name is usually demangled).
debug_location_t debug_location() const
Original source code location.
uint32_t RVA() const
The Relative Virtual Address of the function.
std::string to_string() const
Definition BuildMetadata.hpp:26
Definition BuildMetadata.hpp:24
LIEF namespace.
Definition Abstract/Binary.hpp:40
This structure holds a debug location (source filename & line).
Definition debug_loc.hpp:23
#define LIEF_API
Definition visibility.h:41