Lines Matching refs:note
163 char *note = map+sh_offset;
165 // An ELF note is a sequence of entries, each consisting of an
174 n_namesz = elf_int(note, 4);
175 n_descsz = elf_int(note+4, 4);
176 n_type = elf_int(note+8, 4);
179 // Does the claimed size of this note actually fit in the section?
182 if (n_namesz==4 && !memcmp(note+12, "GNU", 4)) {
185 for (j = 0; j < n_descsz; ++j) printf("%02x", note[16 + j]);
187 } else if (n_namesz==8 && !memcmp(note+12, "Android", 8)) {
188 if (n_type==1 /*.android.note.ident*/ && n_descsz >= 4) {
189 printf(", for Android %d", (int)elf_int(note+20, 4));
193 printf(", built by NDK %.64s (%.64s)", note+24, note+24+64);
197 note += notesz;