• Home
  • Raw
  • Download

Lines Matching refs:dyn

1091 	      GElf_Dyn *dyn = gelf_getdyn (d, cnt, &dyn_mem);  in is_rel_dyn()  local
1093 if (dyn == NULL) in is_rel_dyn()
1096 if (dyn->d_tag == DT_RELCOUNT) in is_rel_dyn()
1109 && dyn->d_un.d_val > (shdr->sh_size in is_rel_dyn()
1114 (int) dyn->d_un.d_val); in is_rel_dyn()
1135 if (inner >= dyn->d_un.d_val) in is_rel_dyn()
1139 (int) dyn->d_un.d_val); in is_rel_dyn()
1141 else if (inner < dyn->d_un.d_val) in is_rel_dyn()
1145 inner, (int) dyn->d_un.d_val); in is_rel_dyn()
1150 if (dyn->d_tag == DT_RELACOUNT) in is_rel_dyn()
1163 && dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize) in is_rel_dyn()
1167 (int) dyn->d_un.d_val); in is_rel_dyn()
1188 if (inner >= dyn->d_un.d_val) in is_rel_dyn()
1192 (int) dyn->d_un.d_val); in is_rel_dyn()
1194 else if (inner < dyn->d_un.d_val) in is_rel_dyn()
1198 inner, (int) dyn->d_un.d_val); in is_rel_dyn()
1311 GElf_Dyn *dyn = gelf_getdyn (dyndata, j, &dyn_mem); in check_reloc_shdr() local
1312 if (dyn != NULL in check_reloc_shdr()
1313 && (dyn->d_tag == DT_TEXTREL in check_reloc_shdr()
1314 || (dyn->d_tag == DT_FLAGS in check_reloc_shdr()
1315 && (dyn->d_un.d_val & DF_TEXTREL) != 0))) in check_reloc_shdr()
1667 GElf_Dyn *dyn = gelf_getdyn (data, cnt, &dyn_mem); in check_dynamic() local
1668 if (dyn == NULL) in check_dynamic()
1676 if (has_dt[DT_NULL] && dyn->d_tag != DT_NULL && ! non_null_warned) in check_dynamic()
1684 if (!ebl_dynamic_tag_check (ebl, dyn->d_tag)) in check_dynamic()
1688 if (dyn->d_tag >= 0 && dyn->d_tag < DT_NUM) in check_dynamic()
1690 if (has_dt[dyn->d_tag] in check_dynamic()
1691 && dyn->d_tag != DT_NEEDED in check_dynamic()
1692 && dyn->d_tag != DT_NULL in check_dynamic()
1693 && dyn->d_tag != DT_POSFLAG_1) in check_dynamic()
1699 ebl_dynamic_tag_name (ebl, dyn->d_tag, in check_dynamic()
1703 if (be_strict && level2[dyn->d_tag]) in check_dynamic()
1709 ebl_dynamic_tag_name (ebl, dyn->d_tag, in check_dynamic()
1713 has_dt[dyn->d_tag] = true; in check_dynamic()
1715 else if (dyn->d_tag >= 0 && dyn->d_tag <= DT_VALRNGHI in check_dynamic()
1716 && DT_VALTAGIDX (dyn->d_tag) < DT_VALNUM) in check_dynamic()
1717 has_val_dt[DT_VALTAGIDX (dyn->d_tag)] = true; in check_dynamic()
1718 else if (dyn->d_tag >= 0 && dyn->d_tag <= DT_ADDRRNGHI in check_dynamic()
1719 && DT_ADDRTAGIDX (dyn->d_tag) < DT_ADDRNUM) in check_dynamic()
1720 has_addr_dt[DT_ADDRTAGIDX (dyn->d_tag)] = true; in check_dynamic()
1722 if (dyn->d_tag == DT_PLTREL && dyn->d_un.d_val != DT_REL in check_dynamic()
1723 && dyn->d_un.d_val != DT_RELA) in check_dynamic()
1729 switch (dyn->d_tag) in check_dynamic()
1735 if (strshdr->sh_addr != dyn->d_un.d_val) in check_dynamic()
1746 if (dyn->d_tag < DT_ADDRRNGLO || dyn->d_tag > DT_ADDRRNGHI) in check_dynamic()
1773 && phdr->p_vaddr <= dyn->d_un.d_ptr in check_dynamic()
1774 && phdr->p_vaddr + phdr->p_memsz > dyn->d_un.d_ptr) in check_dynamic()
1783 ebl_dynamic_tag_name (ebl, dyn->d_tag, buf, in check_dynamic()
1792 if (dyn->d_un.d_ptr >= strshdr->sh_size) in check_dynamic()
1798 ebl_dynamic_tag_name (ebl, dyn->d_tag, buf, in check_dynamic()
3028 GElf_Dyn *dyn = gelf_getdyn (data, j, &dyn_mem); in unknown_dependency_p() local
3029 if (dyn != NULL && dyn->d_tag == DT_NEEDED) in unknown_dependency_p()
3031 const char *str = elf_strptr (elf, shdr->sh_link, dyn->d_un.d_val); in unknown_dependency_p()