Lines Matching refs:note
52 struct build_id_note *note;
78 struct build_id_note *note = (void *)(info->dlpi_addr +
83 if (note->nhdr.n_type == NT_GNU_BUILD_ID &&
84 note->nhdr.n_descsz != 0 &&
85 note->nhdr.n_namesz == 4 &&
86 memcmp(note->name, "GNU", 4) == 0) {
87 data->note = note;
92 ALIGN_POT(note->nhdr.n_namesz, 4) +
93 ALIGN_POT(note->nhdr.n_descsz, 4);
96 if ((note->nhdr.n_type == 0x534f484f) && (len > 20)) {
97 // .note.ohos.ident is not a valid PT_NOTE section, use offset in section header later
101 note = (struct build_id_note *)((char *)note + offset);
122 .note = NULL,
128 return data.note;
132 build_id_length(const struct build_id_note *note)
134 return note->nhdr.n_descsz;
138 build_id_data(const struct build_id_note *note)
140 return note->build_id;