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