Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DMapInfoGetBuildIDTest.cpp151 size_t note_offset = sizeof(note_header); in InitElfData() local
152 memcpy(&note_section[note_offset], "GNU", note_header.n_namesz); in InitElfData()
153 note_offset += note_header.n_namesz; in InitElfData()
154 memcpy(&note_section[note_offset], "ELF_BUILDID", note_header.n_descsz); in InitElfData()
DElfInterfaceTest.cpp1547 size_t note_offset = sizeof(note_header); in BuildID() local
1549 memcpy(&note_section[note_offset], "GNU", sizeof("GNU")); in BuildID()
1550 note_offset += sizeof("GNU"); in BuildID()
1552 memcpy(&note_section[note_offset], "BUILDID", 7); in BuildID()
1607 size_t note_offset = sizeof(note_header); in BuildIDTwoNotes() local
1608 memcpy(&note_section[note_offset], "WRONG", sizeof("WRONG")); in BuildIDTwoNotes()
1609 note_offset += 8; in BuildIDTwoNotes()
1611 memcpy(&note_section[note_offset], "BUILDID", 7); in BuildIDTwoNotes()
1612 note_offset += 8; in BuildIDTwoNotes()
1617 memcpy(&note_section[note_offset], &note_header, sizeof(note_header)); in BuildIDTwoNotes()
[all …]
/system/unwinding/libunwindstack/
DElfInterface.cpp578 uint64_t note_offset; in ReadBuildIDFromMemory() local
580 if (!GetBuildIDInfo<EhdrType, ShdrType>(memory, &note_offset, &note_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()