MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / ElfParser

Method ElfParser

src/symbols_linux.cpp:221–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219 const char* _vaddr_diff;
220
221 ElfParser(CodeCache* cc, const char* base, const void* addr, const char* file_name, bool relocate_dyn) {
222 _cc = cc;
223 _base = base;
224 _file_name = file_name;
225 _relocate_dyn = relocate_dyn;
226 _header = (ElfHeader*)addr;
227 _sections = (const char*)addr + _header->e_shoff;
228 }
229
230 bool validHeader() {
231 unsigned char* ident = _header->e_ident;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected