Searched refs:note_offset (Results 1 – 3 of 3) sorted by relevance
/system/unwinding/libunwindstack/tests/ |
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()
|
D | ElfInterfaceTest.cpp | 1547 size_t note_offset = sizeof(note_header); in BuildID() local 1549 memcpy(¬e_section[note_offset], "GNU", sizeof("GNU")); in BuildID() 1550 note_offset += sizeof("GNU"); in BuildID() 1552 memcpy(¬e_section[note_offset], "BUILDID", 7); in BuildID() 1607 size_t note_offset = sizeof(note_header); in BuildIDTwoNotes() local 1608 memcpy(¬e_section[note_offset], "WRONG", sizeof("WRONG")); in BuildIDTwoNotes() 1609 note_offset += 8; in BuildIDTwoNotes() 1611 memcpy(¬e_section[note_offset], "BUILDID", 7); in BuildIDTwoNotes() 1612 note_offset += 8; in BuildIDTwoNotes() 1617 memcpy(¬e_section[note_offset], ¬e_header, sizeof(note_header)); in BuildIDTwoNotes() [all …]
|
/system/unwinding/libunwindstack/ |
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()
|