#include "absl/strings/substitute.h"
#include "bloaty.h"
#include "util.h"
#include "third_party/lief_pe/pe_enums.h"
#include "third_party/lief_pe/pe_structures.h"
Go to the source code of this file.
Classes | |
class | bloaty::pe::PeFile |
class | bloaty::pe::PEObjectFile |
class | bloaty::pe::Section |
Namespaces | |
bloaty | |
bloaty::pe | |
Functions | |
void | bloaty::pe::AddCatchAll (const PeFile &pe, RangeSink *sink) |
template<class Func > | |
void | bloaty::pe::ForEachSection (const PeFile &pe, Func &§ion_func) |
void | bloaty::pe::ParseSections (const PeFile &pe, RangeSink *sink) |
bool | bloaty::pe::ReadMagic (const string_view &data) |
std::unique_ptr< ObjectFile > | bloaty::TryOpenPEFile (std::unique_ptr< InputFile > &file) |
Variables | |
constexpr uint16_t | bloaty::pe::dos_magic = 0x5A4D |
constexpr size_t | bloaty::pe::kBaseRelocationBlockSize = 8 |
constexpr size_t | bloaty::pe::kHeader16Size = 20 |
Sizes in bytes of various things in the COFF format. More... | |
constexpr size_t | bloaty::pe::kHeader32Size = 56 |
constexpr size_t | bloaty::pe::kImportDirectoryTableEntrySize = 20 |
constexpr size_t | bloaty::pe::kNameSize = 8 |
constexpr size_t | bloaty::pe::kRelocationSize = 10 |
constexpr size_t | bloaty::pe::kResourceDataEntrySize = 16 |
constexpr size_t | bloaty::pe::kResourceDirectoryEntriesSize = 8 |
constexpr size_t | bloaty::pe::kResourceDirectoryTableSize = 16 |
constexpr size_t | bloaty::pe::kSectionSize = 40 |
constexpr size_t | bloaty::pe::kSymbol16Size = 18 |
constexpr size_t | bloaty::pe::kSymbol32Size = 20 |