Return the number of sections as specified by the ELF header.
| 215 | |
| 216 | // Return the number of sections as specified by the ELF header. |
| 217 | std::size_t GetNumberOfSections() const override |
| 218 | { |
| 219 | return static_cast<unsigned int>(this->ELFHeader.e_shnum + |
| 220 | this->SectionHeaders[0].sh_size); |
| 221 | } |
| 222 | |
| 223 | // Get the file position of a dynamic section entry. |
| 224 | unsigned long GetDynamicEntryPosition(int j) override; |