Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
bloaty.h File Reference
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
#include "absl/strings/string_view.h"
#include "absl/strings/strip.h"
#include "capstone/capstone.h"
#include "dwarf/debug_info.h"
#include "bloaty.pb.h"
#include "range_map.h"
#include "re.h"
Include dependency graph for bloaty.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bloaty::DisassemblyInfo
 
struct  bloaty::DualMap
 
class  bloaty::InputFile
 
class  bloaty::InputFileFactory
 
class  bloaty::MmapInputFileFactory
 
class  bloaty::NameMunger
 
class  bloaty::ObjectFile
 
struct  bloaty::OutputOptions
 
class  bloaty::RangeSink
 
struct  bloaty::RollupOutput
 
struct  bloaty::RollupRow
 

Namespaces

 bloaty
 

Macros

#define __STDC_FORMAT_MACROS
 
#define __STDC_LIMIT_MACROS
 

Typedefs

typedef std::map< absl::string_view, std::pair< uint64_t, uint64_t > > bloaty::SymbolTable
 

Enumerations

enum  bloaty::DataSource {
  bloaty::DataSource::kArchiveMembers, bloaty::DataSource::kCompileUnits, bloaty::DataSource::kInlines, bloaty::DataSource::kInputFiles,
  bloaty::DataSource::kRawRanges, bloaty::DataSource::kSections, bloaty::DataSource::kSegments, bloaty::DataSource::kSymbols,
  bloaty::DataSource::kRawSymbols, bloaty::DataSource::kFullSymbols, bloaty::DataSource::kShortSymbols
}
 
enum  bloaty::OutputFormat { bloaty::OutputFormat::kPrettyPrint, bloaty::OutputFormat::kCSV, bloaty::OutputFormat::kTSV }
 
enum  bloaty::ShowDomain { bloaty::ShowDomain::kShowFile, bloaty::ShowDomain::kShowVM, bloaty::ShowDomain::kShowBoth }
 

Functions

bool bloaty::BloatyMain (const Options &options, const InputFileFactory &file_factory, RollupOutput *output, std::string *error)
 
void bloaty::DisassembleFindReferences (const DisassemblyInfo &info, RangeSink *sink)
 
std::string bloaty::DisassembleFunction (const DisassemblyInfo &info)
 
std::string bloaty::ItaniumDemangle (string_view symbol, DataSource source)
 
bool bloaty::ParseOptions (bool skip_unknown, int *argc, char **argv[], Options *options, OutputOptions *output_options, std::string *error)
 
void bloaty::ReadDWARFCompileUnits (const dwarf::File &file, const DualMap &map, RangeSink *sink)
 
void bloaty::ReadDWARFInlines (const dwarf::File &file, RangeSink *sink, bool include_line)
 
void bloaty::ReadEhFrame (absl::string_view contents, RangeSink *sink)
 
void bloaty::ReadEhFrameHdr (absl::string_view contents, RangeSink *sink)
 
std::unique_ptr< ObjectFile > bloaty::TryOpenELFFile (std::unique_ptr< InputFile > &file)
 
std::unique_ptr< ObjectFile > bloaty::TryOpenMachOFile (std::unique_ptr< InputFile > &file)
 
std::unique_ptr< ObjectFile > bloaty::TryOpenPEFile (std::unique_ptr< InputFile > &file)
 
std::unique_ptr< ObjectFile > bloaty::TryOpenWebAssemblyFile (std::unique_ptr< InputFile > &file)
 

Macro Definition Documentation

◆ __STDC_FORMAT_MACROS

#define __STDC_FORMAT_MACROS

Definition at line 24 of file bloaty.h.

◆ __STDC_LIMIT_MACROS

#define __STDC_LIMIT_MACROS

Definition at line 23 of file bloaty.h.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:04