Searched refs:note_offset (Results 1 – 3 of 3) sorted by relevance
/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | MapInfoGetBuildIDTest.cpp | 151 size_t note_offset = sizeof(note_header); in InitElfData() local 152 memcpy(¬e_section[note_offset], "GNU", note_header.n_namesz); in InitElfData() 153 note_offset += note_header.n_namesz; in InitElfData() 154 memcpy(¬e_section[note_offset], "ELF_BUILDID", note_header.n_descsz); in InitElfData()
|
H A D | ElfInterfaceTest.cpp | 1547 size_t note_offset = sizeof(note_header); in BuildID() local 1550 note_offset += sizeof("GNU"); in BuildID() 1607 size_t note_offset = sizeof(note_header); in BuildIDTwoNotes() local 1609 note_offset += 8; in BuildIDTwoNotes() 1612 note_offset += 8; in BuildIDTwoNotes() 1618 note_offset += sizeof(note_header); in BuildIDTwoNotes() 1621 note_offset += sizeof("GNU"); in BuildIDTwoNotes() 1678 size_t note_offset = sizeof(note_header); in BuildIDSectionTooSmallForName() local 1681 note_offset += sizeof("GNU"); in BuildIDSectionTooSmallForName() 1741 note_offset += sizeof("GNU"); in BuildIDSectionTooSmallForDesc() [all …]
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | ElfInterface.cpp | 578 uint64_t note_offset; in ReadBuildIDFromMemory() local 580 if (!GetBuildIDInfo<EhdrType, ShdrType>(memory, ¬e_offset, ¬e_size)) { in ReadBuildIDFromMemory() 586 if (__builtin_add_overflow(note_offset, note_size, &tmp)) { in ReadBuildIDFromMemory() 596 if (!memory->ReadFully(note_offset + offset, &hdr, sizeof(hdr))) { in ReadBuildIDFromMemory() 606 if (!memory->ReadFully(note_offset + offset, &(name[0]), hdr.n_namesz)) { in ReadBuildIDFromMemory() 621 if (memory->ReadFully(note_offset + offset, &build_id[0], hdr.n_descsz)) { in ReadBuildIDFromMemory()
|