Searched refs:n_descsz (Results 1 – 8 of 8) sorted by relevance
/bionic/linker/ |
D | linker_note_gnu_property_test.cpp | 72 .p_memsz = sizeof(ElfW(NhdrGNUProperty)) + (__prop)->nhdr.n_descsz, \ 102 note->nhdr.n_descsz = 0; in GnuPropertySectionBuilder() 134 dump_member("n_descsz", note->nhdr.n_descsz); in dump() 140 const uintptr_t offset = note->nhdr.n_descsz + 16; in dump() 157 void corrupt_n_descsz(ElfW(Word) n_descsz) { note->nhdr.n_descsz = n_descsz; } in corrupt_n_descsz() argument 165 ElfW(Word) offset() const { return note->nhdr.n_descsz + 16; } in offset() 169 note->nhdr.n_descsz += static_cast<ElfW(Word)>(value); in step() 230 .nhdr = {.n_namesz = PT_GNU_PROPERTY, .n_descsz = 1, .n_type = NT_GNU_PROPERTY_TYPE_0}, in TEST() 253 .n_descsz = 0, in TEST() 267 .n_descsz = 0, in TEST() [all …]
|
D | linker_note_gnu_property.cpp | 81 if ((phdr[i].p_memsz - sizeof(ElfW(NhdrGNUProperty))) < note_nhdr->nhdr.n_descsz) { in ElfW() 85 static_cast<size_t>(note_nhdr->nhdr.n_descsz)); in ElfW() 124 while (offset < note_nhdr->nhdr.n_descsz) { in Parse() 129 if ((note_nhdr->nhdr.n_descsz - offset) < sizeof(ElfW(Prop))) { in Parse() 141 if ((note_nhdr->nhdr.n_descsz - offset) < property_size) { in Parse() 145 name, property_size, note_nhdr->nhdr.n_descsz - offset); in Parse()
|
D | linker_phdr.cpp | 774 if (note_hdr->n_descsz != sizeof(ElfW(Word))) { in ReadPadSegmentNote() 776 name_.c_str(), reinterpret_cast<unsigned int>(note_hdr->n_descsz)); in ReadPadSegmentNote()
|
/bionic/libc/kernel/uapi/linux/ |
D | vmcore.h | 14 __u32 n_descsz; member
|
D | elf.h | 379 Elf32_Word n_descsz; member 384 Elf64_Word n_descsz; member
|
/bionic/libc/bionic/ |
D | elf_note.cpp | 50 p += align_up(note->n_descsz, 4); in __get_elf_note()
|
D | libc_init_static.cpp | 172 if (note->n_descsz < 4) { in __get_memtag_level_from_note() 174 note->n_descsz); in __get_memtag_level_from_note()
|
/bionic/libc/include/bits/ |
D | elf_common.h | 51 u_int32_t n_descsz; /* Length of descriptor. */
|