• Home
  • Raw
  • Download

Lines Matching refs:obj

166 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) {  in GetBuildIdFromObjectFile()  argument
167 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) { in GetBuildIdFromObjectFile()
169 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) { in GetBuildIdFromObjectFile()
177 llvm::object::ObjectFile* obj; member
179 BinaryWrapper() : obj(nullptr) { in BinaryWrapper()
205 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary()); in OpenObjectFile()
206 if (wrapper->obj == nullptr) { in OpenObjectFile()
220 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary()); in OpenObjectFileInMemory()
221 if (wrapper->obj == nullptr) { in OpenObjectFileInMemory()
242 return GetBuildIdFromObjectFile(wrapper.obj, build_id); in GetBuildIdFromEmbeddedElfFile()
410 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in ParseSymbolsFromELFFile()
412 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in ParseSymbolsFromELFFile()
423 ElfStatus MatchBuildId(llvm::object::ObjectFile* obj, const BuildId& expected_build_id) { in MatchBuildId() argument
428 ElfStatus result = GetBuildIdFromObjectFile(obj, &real_build_id); in MatchBuildId()
456 result = MatchBuildId(wrapper.obj, expected_build_id); in ParseSymbolsFromEmbeddedElfFile()
460 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in ParseSymbolsFromEmbeddedElfFile()
462 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in ParseSymbolsFromEmbeddedElfFile()
475 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in ParseSymbolsFromElfFileInMemory()
477 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in ParseSymbolsFromElfFileInMemory()
500 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in ParseDynamicSymbolsFromElfFile()
502 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in ParseDynamicSymbolsFromElfFile()
555 result = MatchBuildId(wrapper.obj, expected_build_id); in ReadMinExecutableVirtualAddressFromEmbeddedElfFile()
559 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in ReadMinExecutableVirtualAddressFromEmbeddedElfFile()
561 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in ReadMinExecutableVirtualAddressFromEmbeddedElfFile()
578 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in ReadSectionFromElfFile()
580 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in ReadSectionFromElfFile()