Lines Matching defs:nhdr
716 auto *nhdr = reinterpret_cast<const ElfW(Nhdr) *>(info->dlpi_addr +
720 if (nhdr->n_type == NT_GNU_BUILD_ID && nhdr->n_namesz == kGnuNamesz) {
721 if (off + sizeof(ElfW(Nhdr)) + nhdr->n_namesz + nhdr->n_descsz >
728 reinterpret_cast<const char *>(nhdr) + sizeof(*nhdr);
730 const char *value = reinterpret_cast<const char *>(nhdr) +
731 sizeof(*nhdr) + kGnuNamesz;
732 cur_module.setUuid(value, nhdr->n_descsz);
736 off += sizeof(*nhdr) + RoundUpTo(nhdr->n_namesz, 4) +
737 RoundUpTo(nhdr->n_descsz, 4);