class SymbolizerImpl
Defined at line 33 of file ../../tools/symbolizer/symbolizer_impl.h
This is the core logic of the symbolizer. We provide a MockSymbolizer and a SymbolizerImpl for
better testing.
Public Methods
void SymbolizerImpl (const CommandLineOptions & options)
void ~SymbolizerImpl ()
MMapStatus MMap (uint64_taddress,uint64_tsize,uint64_tmodule_id,std::string_viewflags,uint64_tmodule_offset)
Methods which allow C++ callers to directly symbolize addresses without relying on string
outputs.
BacktraceStatus Backtrace (uint64_taddress,AddressTypetype,LocationOutputFnoutput)
void Reset (bool symbolizing_dart, ResetType type)
|Symbolizer| implementation.
void Module (uint64_tid,std::string_viewname,std::string_viewbuild_id)
void MMap (uint64_taddress,uint64_tsize,uint64_tmodule_id,std::string_viewflags,uint64_tmodule_offset,StringOutputFnoutput)
void Backtrace (uint64_tframe_id,uint64_taddress,AddressTypetype,std::string_viewmessage,StringOutputFnoutput)
void DumpFile (std::string_view type, std::string_view name)
void OnDownloadsStarted ()
|DownloadObserver| implementation.
void OnDownloadsStopped (size_t num_succeeded, size_t num_failed)
void DidCreateSymbolServer (zxdb::SymbolServer * server)
|SystemObserver| implementation.
void OnSymbolServerStatusChanged (zxdb::SymbolServer * server)
void DidCreateProcess (zxdb::Process * process, uint64_t timestamp)
|ProcessObserver| implementation.
void WillDestroyProcess (zxdb::Process *process,DestroyReasonreason,intexit_code,uint64_ttimestamp)
void WillLoadModuleSymbols (zxdb::Process * process, int num_modules)
void DidLoadModuleSymbols (zxdb::Process * process, zxdb::LoadedModuleSymbols * module)
void DidLoadAllModuleSymbols (zxdb::Process * process)
void WillUnloadModuleSymbols (zxdb::Process * process, zxdb::LoadedModuleSymbols * module)
void OnSymbolLoadFailure (zxdb::Process * process, const zxdb::Err & err)
Enumerations
enum class MMapStatus : uint8_t
| Name | Value | Comments |
|---|---|---|
| kOk | 0 |
No problems were encountered. |
| kInvalidModuleId | 1 |
The module ID was invalid and no updates were made. |
| kInconsistentBaseAddress | 2 |
The mapping was recorded but the base address was inconsistent with the provided module. |
Defined at line 56 of file ../../tools/symbolizer/symbolizer_impl.h
enum class BacktraceStatus : uint8_t
| Name | Value | Comments |
|---|---|---|
| kOk | 0 |
No problems were encountered. |
| kSymbolFileUnavailable | 1 |
The corresponding symbol file is not available. |
| kNoOverlappingModule | 2 |
The requested address is not covered by any mapping. |
Defined at line 65 of file ../../tools/symbolizer/symbolizer_impl.h