Lines Matching defs:elf
26 #include <elf.h>
58 auto elf = std::make_shared<DfxElf>(path);
59 if (elf->IsValid()) {
60 return elf;
68 // elf header is in the first mmap area
98 DFXLOGE("Invalid elf size? elf size: %{public}d, hap size: %{public}d", (int)elfSize, (int)fileSize);
108 auto elf = std::make_shared<DfxElf>(fd, elfSize, prevMap->offset);
109 if (elf->IsValid()) {
111 elf->SetBaseOffset(prevMap->offset);
112 return elf;
160 DFXLOGE("Failed to mmap init elf in hap.");
170 // this mean the embedded elf initialization.
234 // use these bytes to construct an elf.
478 // Align nhdr.n_namesz to next power multiple of 4. See man 5 elf.
494 // Align hdr.n_descsz to next power multiple of 4. See man 5 elf.
860 auto elf = Create(file);
861 if (elf == nullptr) {
865 return elf->GetSectionInfo(shdr, secName);
999 DFXLOGD("Invalid elf hdr?");