Searched refs:nhdr (Results 1 – 1 of 1) sorted by relevance
58 NhdrType nhdr; in get_build_id() local59 … if (backtrace->Read(addr, reinterpret_cast<uint8_t*>(&nhdr), sizeof(nhdr)) != sizeof(nhdr)) { in get_build_id()62 addr += sizeof(nhdr); in get_build_id()63 if (nhdr.n_type == NT_GNU_BUILD_ID) { in get_build_id()65 addr += NOTE_ALIGN(nhdr.n_namesz); in get_build_id()67 if (nhdr.n_descsz > sizeof(build_id_data)) { in get_build_id()69 nhdr.n_descsz); in get_build_id()72 if (backtrace->Read(addr, build_id_data, nhdr.n_descsz) != nhdr.n_descsz) { in get_build_id()77 for (size_t bytes = 0; bytes < nhdr.n_descsz; bytes++) { in get_build_id()84 hdr_size -= sizeof(nhdr); in get_build_id()[all …]