15#ifndef LIEF_PDB_COMPILATION_UNIT_H
16#define LIEF_PDB_COMPILATION_UNIT_H
31class CompilationUnitIt;
55 template <
typename RefT>
61 Iterator(std::unique_ptr<details::CompilationUnitIt> impl);
87 return static_cast<const Iterator*
>(
this)->
operator*();
91 std::unique_ptr<details::CompilationUnitIt> impl_;
121 std::unique_ptr<details::CompilationUnit> impl_;
Definition iterators.hpp:486
Definition PDB/CompilationUnit.hpp:46
pointer operator->() const
Definition PDB/CompilationUnit.hpp:50
Definition PDB/CompilationUnit.hpp:37
Iterator operator--(int)
Definition PDB/CompilationUnit.hpp:72
std::unique_ptr< CompilationUnit > value_type
Definition PDB/CompilationUnit.hpp:40
Iterator operator++(int)
Definition PDB/CompilationUnit.hpp:78
PointerProxy operator->() const
Definition PDB/CompilationUnit.hpp:86
friend bool operator==(const Iterator &LHS, const Iterator &RHS)
details::CompilationUnitIt implementation
Definition PDB/CompilationUnit.hpp:44
std::bidirectional_iterator_tag iterator_category
Definition PDB/CompilationUnit.hpp:39
Iterator(std::unique_ptr< details::CompilationUnitIt > impl)
std::ptrdiff_t difference_type
Definition PDB/CompilationUnit.hpp:41
std::unique_ptr< CompilationUnit > operator*() const
Iterator(const Iterator &)
friend bool operator!=(const Iterator &LHS, const Iterator &RHS)
Definition PDB/CompilationUnit.hpp:65
This class represents a CompilationUnit (or Module) in a PDB file.
Definition PDB/CompilationUnit.hpp:35
sources_iterator sources() const
Iterator over the sources files that compose this compilation unit. These files also include headers ...
CompilationUnit(std::unique_ptr< details::CompilationUnit > impl)
std::string object_filename() const
Name of path to the original binary object (COFF, Archive) in which the compilation unit was located ...
std::string module_name() const
Name (or path) to the COFF object (.obj) associated with this compilation unit (e....
function_iterator functions() const
Return an iterator over the function defined in this compilation unit. If the PDB does not contain or...
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41