• Home
  • Raw
  • Download

Lines Matching refs:pInput

47 bool ELFDynObjReader::isMyFormat(Input &pInput) const  in isMyFormat()
49 assert(pInput.hasMemArea()); in isMyFormat()
54 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in isMyFormat()
67 pInput.memArea()->release(region); in isMyFormat()
72 bool ELFDynObjReader::readHeader(Input& pInput) in readHeader() argument
74 assert(pInput.hasMemArea()); in readHeader()
77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(), in readHeader()
81 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); in readHeader()
82 pInput.memArea()->release(region); in readHeader()
85 bool dyn_result = m_pELFReader->readDynamic(pInput); in readHeader()
91 bool ELFDynObjReader::readSymbols(Input& pInput) in readSymbols() argument
93 assert(pInput.hasMemArea()); in readSymbols()
95 LDSection* symtab_shdr = pInput.context()->getSection(".dynsym"); in readSymbols()
97 note(diag::note_has_no_symtab) << pInput.name() in readSymbols()
98 << pInput.path() in readSymbols()
105 fatal(diag::fatal_cannot_read_strtab) << pInput.name() in readSymbols()
106 << pInput.path() in readSymbols()
111 MemoryRegion* symtab_region = pInput.memArea()->request( in readSymbols()
112 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size()); in readSymbols()
114 MemoryRegion* strtab_region = pInput.memArea()->request( in readSymbols()
115 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size()); in readSymbols()
117 bool result = m_pELFReader->readSymbols(pInput, m_Builder, in readSymbols()
119 pInput.memArea()->release(symtab_region); in readSymbols()
120 pInput.memArea()->release(strtab_region); in readSymbols()