Searched refs:note_offset (Results 1 – 3 of 3) sorted by relevance
/system/core/libunwindstack/tests/ |
D | MapInfoGetBuildIDTest.cpp | 148 size_t note_offset = sizeof(note_header); in InitElfData() local 149 memcpy(¬e_section[note_offset], "GNU", sizeof("GNU")); in InitElfData() 150 note_offset += sizeof("GNU"); in InitElfData() 151 memcpy(¬e_section[note_offset], "ELF_BUILDID", sizeof("ELF_BUILDID")); in InitElfData() 152 note_offset += sizeof("ELF_BUILDID"); in InitElfData()
|
D | ElfInterfaceTest.cpp | 1198 size_t note_offset = sizeof(note_header); in BuildID() local 1200 memcpy(¬e_section[note_offset], "GNU", sizeof("GNU")); in BuildID() 1201 note_offset += sizeof("GNU"); in BuildID() 1203 memcpy(¬e_section[note_offset], "BUILDID", 7); in BuildID() 1204 note_offset += 8; in BuildID() 1252 size_t note_offset = sizeof(note_header); in BuildIDTwoNotes() local 1253 memcpy(¬e_section[note_offset], "WRONG", sizeof("WRONG")); in BuildIDTwoNotes() 1254 note_offset += 8; in BuildIDTwoNotes() 1256 memcpy(¬e_section[note_offset], "BUILDID", 7); in BuildIDTwoNotes() 1257 note_offset += 8; in BuildIDTwoNotes() [all …]
|
/system/core/libunwindstack/ |
D | ElfInterface.cpp | 581 uint64_t note_offset; in ReadBuildIDFromMemory() local 583 if (!GetBuildIDInfo<EhdrType, ShdrType>(memory, ¬e_offset, ¬e_size)) { in ReadBuildIDFromMemory() 589 if (__builtin_add_overflow(note_offset, note_size, &tmp)) { in ReadBuildIDFromMemory() 599 if (!memory->ReadFully(note_offset + offset, &hdr, sizeof(hdr))) { in ReadBuildIDFromMemory() 609 if (!memory->ReadFully(note_offset + offset, &(name[0]), hdr.n_namesz)) { in ReadBuildIDFromMemory() 624 if (memory->ReadFully(note_offset + offset, &build_id[0], hdr.n_descsz)) { in ReadBuildIDFromMemory()
|