Public Member Functions | Private Member Functions | Private Attributes | List of all members
bloaty::pe::PeFile Class Reference

Public Member Functions

string_view entire_file () const
 
bool IsOpen () const
 
string_view pe_headers () const
 
 PeFile (string_view data)
 
uint32_t section_count () const
 
string_view section_header (size_t n) const
 
string_view section_headers () const
 

Private Member Functions

string_view GetRegion (uint64_t start, uint64_t n) const
 
bool Initialize ()
 

Private Attributes

const string_view data_
 
pe_dos_header dos_header_
 
bool is_64bit_
 
bool ok_
 
pe_header pe_header_
 
string_view pe_headers_
 
uint32_t section_count_
 
string_view section_headers_
 

Detailed Description

Definition at line 66 of file pe.cc.

Constructor & Destructor Documentation

◆ PeFile()

bloaty::pe::PeFile::PeFile ( string_view  data)
inline

Definition at line 68 of file pe.cc.

Member Function Documentation

◆ entire_file()

string_view bloaty::pe::PeFile::entire_file ( ) const
inline

Definition at line 72 of file pe.cc.

◆ GetRegion()

string_view bloaty::pe::PeFile::GetRegion ( uint64_t  start,
uint64_t  n 
) const
inlineprivate

Definition at line 85 of file pe.cc.

◆ Initialize()

bool bloaty::pe::PeFile::Initialize ( )
private

Definition at line 101 of file pe.cc.

◆ IsOpen()

bool bloaty::pe::PeFile::IsOpen ( ) const
inline

Definition at line 70 of file pe.cc.

◆ pe_headers()

string_view bloaty::pe::PeFile::pe_headers ( ) const
inline

Definition at line 73 of file pe.cc.

◆ section_count()

uint32_t bloaty::pe::PeFile::section_count ( ) const
inline

Definition at line 76 of file pe.cc.

◆ section_header()

string_view bloaty::pe::PeFile::section_header ( size_t  n) const
inline

Definition at line 77 of file pe.cc.

◆ section_headers()

string_view bloaty::pe::PeFile::section_headers ( ) const
inline

Definition at line 74 of file pe.cc.

Member Data Documentation

◆ data_

const string_view bloaty::pe::PeFile::data_
private

Definition at line 91 of file pe.cc.

◆ dos_header_

pe_dos_header bloaty::pe::PeFile::dos_header_
private

Definition at line 93 of file pe.cc.

◆ is_64bit_

bool bloaty::pe::PeFile::is_64bit_
private

Definition at line 90 of file pe.cc.

◆ ok_

bool bloaty::pe::PeFile::ok_
private

Definition at line 89 of file pe.cc.

◆ pe_header_

pe_header bloaty::pe::PeFile::pe_header_
private

Definition at line 94 of file pe.cc.

◆ pe_headers_

string_view bloaty::pe::PeFile::pe_headers_
private

Definition at line 96 of file pe.cc.

◆ section_count_

uint32_t bloaty::pe::PeFile::section_count_
private

Definition at line 98 of file pe.cc.

◆ section_headers_

string_view bloaty::pe::PeFile::section_headers_
private

Definition at line 97 of file pe.cc.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:58