Lines Matching refs:d_un
1201 action(fix_dt_needed(elf_reader.get_string(d->d_un.d_val), elf_reader.name()));
1383 si->set_dt_runpath(elf_reader.get_string(d->d_un.d_val));
1386 si->set_soname(elf_reader.get_string(d->d_un.d_val));
3423 d, reinterpret_cast<void*>(d->d_tag), reinterpret_cast<void*>(d->d_un.d_val));
3430 nbucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[0];
3431 nchain_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[1];
3432 bucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr + 8);
3433 chain_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr + 8 + nbucket_ * 4);
3437 gnu_nbucket_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[0];
3439 gnu_maskwords_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[2];
3440 gnu_shift2_ = reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[3];
3442 gnu_bloom_filter_ = reinterpret_cast<ElfW(Addr)*>(load_bias + d->d_un.d_ptr + 16);
3446 reinterpret_cast<uint32_t*>(load_bias + d->d_un.d_ptr)[1];
3459 strtab_ = reinterpret_cast<const char*>(load_bias + d->d_un.d_ptr);
3463 strtab_size_ = d->d_un.d_val;
3467 symtab_ = reinterpret_cast<ElfW(Sym)*>(load_bias + d->d_un.d_ptr);
3471 if (d->d_un.d_val != sizeof(ElfW(Sym))) {
3473 static_cast<size_t>(d->d_un.d_val), get_realpath());
3480 if (d->d_un.d_val != DT_RELA) {
3485 if (d->d_un.d_val != DT_REL) {
3494 plt_rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr);
3496 plt_rel_ = reinterpret_cast<ElfW(Rel)*>(load_bias + d->d_un.d_ptr);
3502 plt_rela_count_ = d->d_un.d_val / sizeof(ElfW(Rela));
3504 plt_rel_count_ = d->d_un.d_val / sizeof(ElfW(Rel));
3511 plt_got_ = reinterpret_cast<ElfW(Addr)**>(load_bias + d->d_un.d_ptr);
3525 d->d_un.d_val = reinterpret_cast<uintptr_t>(&_r_debug);
3531 rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr);
3535 rela_count_ = d->d_un.d_val / sizeof(ElfW(Rela));
3539 android_relocs_ = reinterpret_cast<uint8_t*>(load_bias + d->d_un.d_ptr);
3543 android_relocs_size_ = d->d_un.d_val;
3555 if (d->d_un.d_val != sizeof(ElfW(Rela))) {
3556 DL_ERR("invalid DT_RELAENT: %zd", static_cast<size_t>(d->d_un.d_val));
3575 rel_ = reinterpret_cast<ElfW(Rel)*>(load_bias + d->d_un.d_ptr);
3579 rel_count_ = d->d_un.d_val / sizeof(ElfW(Rel));
3583 if (d->d_un.d_val != sizeof(ElfW(Rel))) {
3584 DL_ERR("invalid DT_RELENT: %zd", static_cast<size_t>(d->d_un.d_val));
3590 android_relocs_ = reinterpret_cast<uint8_t*>(load_bias + d->d_un.d_ptr);
3594 android_relocs_size_ = d->d_un.d_val;
3623 relr_ = reinterpret_cast<ElfW(Relr)*>(load_bias + d->d_un.d_ptr);
3627 relr_count_ = d->d_un.d_val / sizeof(ElfW(Relr));
3631 if (d->d_un.d_val != sizeof(ElfW(Relr))) {
3632 DL_ERR("invalid DT_RELRENT: %zd", static_cast<size_t>(d->d_un.d_val));
3642 init_func_ = reinterpret_cast<linker_ctor_function_t>(load_bias + d->d_un.d_ptr);
3647 fini_func_ = reinterpret_cast<linker_dtor_function_t>(load_bias + d->d_un.d_ptr);
3652 init_array_ = reinterpret_cast<linker_ctor_function_t*>(load_bias + d->d_un.d_ptr);
3657 init_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr));
3661 fini_array_ = reinterpret_cast<linker_dtor_function_t*>(load_bias + d->d_un.d_ptr);
3666 fini_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr));
3670 preinit_array_ = reinterpret_cast<linker_ctor_function_t*>(load_bias + d->d_un.d_ptr);
3675 preinit_array_count_ = static_cast<uint32_t>(d->d_un.d_val) / sizeof(ElfW(Addr));
3696 if (d->d_un.d_val & DF_TEXTREL) {
3704 if (d->d_un.d_val & DF_SYMBOLIC) {
3710 set_dt_flags_1(d->d_un.d_val);
3712 if ((d->d_un.d_val & ~SUPPORTED_DT_FLAGS_1) != 0) {
3715 get_realpath(), reinterpret_cast<void*>(d->d_un.d_val));
3722 r_debug** dp = reinterpret_cast<r_debug**>(load_bias + d->d_un.d_ptr);
3730 reinterpret_cast<ElfW(Addr)>(d) + d->d_un.d_val);
3742 mips_symtabno_ = d->d_un.d_val;
3746 mips_local_gotno_ = d->d_un.d_val;
3750 mips_gotsym_ = d->d_un.d_val;
3758 versym_ = reinterpret_cast<ElfW(Versym)*>(load_bias + d->d_un.d_ptr);
3762 verdef_ptr_ = load_bias + d->d_un.d_ptr;
3765 verdef_cnt_ = d->d_un.d_val;
3769 verneed_ptr_ = load_bias + d->d_un.d_ptr;
3773 verneed_cnt_ = d->d_un.d_val;
3804 reinterpret_cast<void*>(d->d_un.d_val));
3842 set_soname(get_string(d->d_un.d_val));
3845 set_dt_runpath(get_string(d->d_un.d_val));