Home
last modified time | relevance | path

Searched refs:note_size (Results 1 – 1 of 1) sorted by relevance

/system/utest/elf-search/
A Delf-search-test.cpp64 uint64_t note_size = 0; in WriteBuildID() local
65 memcpy(buf + note_size, &nhdr, sizeof(nhdr)); in WriteBuildID()
66 note_size += sizeof(nhdr); in WriteBuildID()
67 memcpy(buf + note_size, ELF_NOTE_GNU, sizeof(ELF_NOTE_GNU)); in WriteBuildID()
68 note_size += sizeof(ELF_NOTE_GNU); in WriteBuildID()
69 memcpy(buf + note_size, build_id.get(), build_id.size()); in WriteBuildID()
70 note_size += build_id.size(); in WriteBuildID()
71 EXPECT_EQ(ZX_OK, vmo.write(buf, note_offset, note_size)); in WriteBuildID()

Completed in 5 milliseconds