Home | History | Annotate | Download | only in linux

Lines Matching refs:note_header

65   const Nhdr* note_header = reinterpret_cast<const Nhdr*>(section);
66 while (reinterpret_cast<const void *>(note_header) < section_end) {
67 if (note_header->n_type == NT_GNU_BUILD_ID)
69 note_header = reinterpret_cast<const Nhdr*>(
70 reinterpret_cast<const char*>(note_header) + sizeof(Nhdr) +
71 NOTE_PADDING(note_header->n_namesz) +
72 NOTE_PADDING(note_header->n_descsz));
74 if (reinterpret_cast<const void *>(note_header) >= section_end ||
75 note_header->n_descsz == 0) {
79 const char* build_id = reinterpret_cast<const char*>(note_header) +
80 sizeof(Nhdr) + NOTE_PADDING(note_header->n_namesz);
85 std::min(kMDGUIDSize, (size_t)note_header->n_descsz));