Home | History | Annotate | Download | only in common

Lines Matching refs:inIndex

143 const Elf32_Shdr & StELFFile::getSectionAtIndex(unsigned inIndex) const
145 if (inIndex > m_sectionHeaders.size())
146 throw std::invalid_argument("inIndex");
148 return m_sectionHeaders[inIndex];
181 uint8_t * StELFFile::getSectionDataAtIndex(unsigned inIndex)
183 return readSectionData(m_sectionHeaders[inIndex]);
229 const Elf32_Phdr & StELFFile::getSegmentAtIndex(unsigned inIndex) const
231 if (inIndex > m_programHeaders.size())
232 throw std::invalid_argument("inIndex");
234 return m_programHeaders[inIndex];
246 uint8_t * StELFFile::getSegmentDataAtIndex(unsigned inIndex)
248 return readSegmentData(m_programHeaders[inIndex]);
298 std::string StELFFile::getSectionNameAtIndex(unsigned inIndex)
304 return getStringAtIndex(m_header.e_shstrndx, inIndex);
356 //! \exception std::invalid_argument is thrown if \a inIndex is out of range.]
358 const Elf32_Sym & StELFFile::getSymbolAtIndex(unsigned inIndex)
370 unsigned symbolOffset = header.sh_entsize * inIndex;
373 throw std::invalid_argument("inIndex");