Lines Matching defs:note
182 elf_buildid_note note;
183 if (read_from_address(address, ¬e, sizeof(note))) {
184 byteswap(¬e.namesz);
185 byteswap(¬e.descsz);
186 byteswap(¬e.type);
187 if (note.namesz == ELF_BUILDID_NOTE_NAMESZ &&
188 note.type == ELF_BUILDID_NOTE_TYPE &&
189 !memcmp(note.name, ELF_BUILDID_NOTE_NAME,
191 auto desc = std::make_unique<uint8_t[]>(note.descsz);
192 if (fread(desc.get(), note.descsz, 1, input_) == 1) {
195 for (uint32_t i = 0; i < note.descsz; ++i) {