Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_note_gnu_property.cpp53 const ElfW(NhdrGNUProperty)* GnuPropertySection::FindSegment(const ElfW(Phdr)* phdr, in ElfW() argument
68 if (phdr[i].p_memsz < sizeof(ElfW(NhdrGNUProperty))) { in ElfW()
72 name, static_cast<size_t>(phdr[i].p_memsz), sizeof(ElfW(NhdrGNUProperty))); in ElfW()
78 auto note_nhdr = reinterpret_cast<ElfW(NhdrGNUProperty)*>(load_bias + phdr[i].p_vaddr); in ElfW()
81 if ((phdr[i].p_memsz - sizeof(ElfW(NhdrGNUProperty))) < note_nhdr->nhdr.n_descsz) { in ElfW()
97 bool GnuPropertySection::SanityCheck(const ElfW(NhdrGNUProperty)* note_nhdr, in SanityCheck()
121 bool GnuPropertySection::Parse(const ElfW(NhdrGNUProperty)* note_nhdr, const char* name) { in Parse()
Dlinker_note_gnu_property_test.cpp72 .p_memsz = sizeof(ElfW(NhdrGNUProperty)) + (__prop)->nhdr.n_descsz, \
100 note = reinterpret_cast<ElfW(NhdrGNUProperty)*>(&section[0]); in GnuPropertySectionBuilder()
129 ElfW(NhdrGNUProperty)* data() const { return note; } in ElfW() argument
175 ElfW(NhdrGNUProperty)* note;
216 .p_memsz = sizeof(ElfW(NhdrGNUProperty)) - 1, // Invalid in TEST()
229 ElfW(NhdrGNUProperty) prop = { in TEST()
237 .p_memsz = sizeof(ElfW(NhdrGNUProperty)), // Off by one in TEST()
249 ElfW(NhdrGNUProperty) prop = { in TEST()
265 ElfW(NhdrGNUProperty) prop = { in TEST()
278 ElfW(NhdrGNUProperty) prop = { in TEST()
[all …]
Dlinker_note_gnu_property.h87 const ElfW(NhdrGNUProperty)* FindSegment(const ElfW(Phdr)* phdr, size_t phdr_count,
89 bool SanityCheck(const ElfW(NhdrGNUProperty)* note_nhdr, const char* name) const;
90 bool Parse(const ElfW(NhdrGNUProperty)* note_nhdr, const char* name);