Home
last modified time | relevance | path

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

/ohos5.0/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
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_elf.cpp480 offset += (nhdr.n_descsz + 3) & ~3; // 3 : Align the offset to a 4-byte boundary in GetBuildId()
483 if (noteSize - offset < nhdr.n_descsz || nhdr.n_descsz == 0) { in GetBuildId()
486 std::string buildIdRaw(nhdr.n_descsz, '\0'); in GetBuildId()
488 … if (memcpy_s(&buildIdRaw[0], nhdr.n_descsz, reinterpret_cast<void*>(ptr), nhdr.n_descsz) != 0) { in GetBuildId()
494 offset += (nhdr.n_descsz + 3) & ~3; // 3 : Align the offset to a 4-byte boundary in GetBuildId()