| 506 | |
| 507 | template <class Types> |
| 508 | unsigned long cmELFInternalImpl<Types>::GetDynamicEntryPosition(int j) |
| 509 | { |
| 510 | if (!this->LoadDynamicSection()) { |
| 511 | return 0; |
| 512 | } |
| 513 | if (j < 0 || j >= static_cast<int>(this->DynamicSectionEntries.size())) { |
| 514 | return 0; |
| 515 | } |
| 516 | ELF_Shdr const& sec = this->SectionHeaders[this->DynamicSectionIndex]; |
| 517 | return sec.sh_offset + sec.sh_entsize * static_cast<unsigned long>(j); |
| 518 | } |
| 519 | |
| 520 | template <class Types> |
| 521 | cmELF::DynamicEntryList cmELFInternalImpl<Types>::GetDynamicEntries() |
no test coverage detected