Home
last modified time | relevance | path

Searched refs:n_descsz (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/nonlinux/
H A Ddfx_nonlinux_define.h236 Elf32_Word n_descsz; // Length of the note's descriptor. member
242 Elf64_Word n_descsz; // Length of the note's descriptor. member
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_elf.cpp481 offset += (nhdr.n_descsz + 3) & ~3; // 3 : Align the offset to a 4-byte boundary in GetBuildId()
484 if (noteSize - offset < nhdr.n_descsz || nhdr.n_descsz == 0) { in GetBuildId()
487 std::string buildIdRaw(nhdr.n_descsz, '\0'); in GetBuildId()
489 if (memcpy_s(&buildIdRaw[0], nhdr.n_descsz, reinterpret_cast<void*>(ptr), nhdr.n_descsz) != 0) { in GetBuildId()
494 // Align hdr.n_descsz to next power multiple of 4. See man 5 elf. in GetBuildId()
495 offset += (nhdr.n_descsz + 3) & ~3; // 3 : Align the offset to a 4-byte boundary in GetBuildId()

Completed in 5 milliseconds