Lines Matching refs:note_header
42 const Nhdr* note_header = reinterpret_cast<const Nhdr*>(segment.data()); in ElfSegmentBuildIDNoteAsString() local
43 while (note_header < section_end) { in ElfSegmentBuildIDNoteAsString()
44 if (note_header->n_type == NT_GNU_BUILD_ID) in ElfSegmentBuildIDNoteAsString()
46 note_header = reinterpret_cast<const Nhdr*>( in ElfSegmentBuildIDNoteAsString()
47 reinterpret_cast<const char*>(note_header) + sizeof(Nhdr) + in ElfSegmentBuildIDNoteAsString()
48 bits::Align(note_header->n_namesz, 4) + in ElfSegmentBuildIDNoteAsString()
49 bits::Align(note_header->n_descsz, 4)); in ElfSegmentBuildIDNoteAsString()
52 if (note_header >= section_end || note_header->n_descsz != kSHA1Length) in ElfSegmentBuildIDNoteAsString()
55 const uint8_t* guid = reinterpret_cast<const uint8_t*>(note_header) + in ElfSegmentBuildIDNoteAsString()
56 sizeof(Nhdr) + bits::Align(note_header->n_namesz, 4); in ElfSegmentBuildIDNoteAsString()
64 for (size_t i = 8; i < note_header->n_descsz; ++i) in ElfSegmentBuildIDNoteAsString()