• Home
  • Raw
  • Download

Lines Matching refs:Elf32_Word

577 	      || data->d_size < sizeof (Elf32_Word))  in check_scn_group()
581 Elf32_Word *grpdata = (Elf32_Word *) data->d_buf; in check_scn_group()
582 for (size_t inner = 1; inner < data->d_size / sizeof (Elf32_Word); in check_scn_group()
584 if (grpdata[inner] == (Elf32_Word) idx) in check_scn_group()
631 Elf32_Word xndxscnidx = 0; in check_symtab()
664 Elf32_Word xndx; in check_symtab()
1951 if (shdr->sh_entsize != sizeof (Elf32_Word)) in check_symtab_shndx()
1992 if (data->d_size < sizeof (Elf32_Word) in check_symtab_shndx()
1993 || *((Elf32_Word *) data->d_buf) != 0) in check_symtab_shndx()
1996 for (size_t cnt = 1; cnt < data->d_size / sizeof (Elf32_Word); ++cnt) in check_symtab_shndx()
1998 Elf32_Word xndx = ((Elf32_Word *) data->d_buf)[cnt]; in check_symtab_shndx()
2023 Elf32_Word nbucket = ((Elf32_Word *) data->d_buf)[0]; in check_sysv_hash()
2024 Elf32_Word nchain = ((Elf32_Word *) data->d_buf)[1]; in check_sysv_hash()
2026 if (shdr->sh_size < (2ULL + nbucket + nchain) * sizeof (Elf32_Word)) in check_sysv_hash()
2031 (long int) ((2 + nbucket + nchain) * sizeof (Elf32_Word))); in check_sysv_hash()
2048 Elf32_Word *buf = (Elf32_Word *) data->d_buf; in check_sysv_hash()
2049 Elf32_Word *end = (Elf32_Word *) ((char *) data->d_buf + shdr->sh_size); in check_sysv_hash()
2134 if (data->d_size < 4 * sizeof (Elf32_Word)) in check_gnu_hash()
2142 Elf32_Word nbuckets = ((Elf32_Word *) data->d_buf)[0]; in check_gnu_hash()
2143 Elf32_Word symbias = ((Elf32_Word *) data->d_buf)[1]; in check_gnu_hash()
2144 Elf32_Word bitmask_words = ((Elf32_Word *) data->d_buf)[2]; in check_gnu_hash()
2157 Elf32_Word shift = ((Elf32_Word *) data->d_buf)[3]; in check_gnu_hash()
2161 uint64_t used_buf = (4ULL + bitmask_words + nbuckets) * sizeof (Elf32_Word); in check_gnu_hash()
2179 size_t maxidx = shdr->sh_size / sizeof (Elf32_Word) - (4 + bitmask_words in check_gnu_hash()
2190 Elf32_Word *p32; in check_gnu_hash()
2192 } bitmask = { .p32 = &((Elf32_Word *) data->d_buf)[4] }, in check_gnu_hash()
2193 collected = { .p32 = xcalloc (bitmask_words, sizeof (Elf32_Word)) }; in check_gnu_hash()
2200 Elf32_Word symidx = ((Elf32_Word *) data->d_buf)[cnt]; in check_gnu_hash()
2215 Elf32_Word chainhash = ((Elf32_Word *) data->d_buf)[4 in check_gnu_hash()
2239 Elf32_Word hval = elf_gnu_hash (symname); in check_gnu_hash()
2290 if (memcmp (collected.p32, bitmask.p32, bitmask_words * sizeof (Elf32_Word))) in check_gnu_hash()
2332 ? sizeof (Elf32_Word) : 0) in check_hash()
2417 if (gnu_hash_data->d_size < 4 * sizeof (Elf32_Word)) in compare_hash_gnu_hash()
2430 const Elf32_Word *gnu_hasharr = (Elf32_Word *) gnu_hash_data->d_buf; in compare_hash_gnu_hash()
2431 Elf32_Word gnu_nbucket = gnu_hasharr[0]; in compare_hash_gnu_hash()
2432 Elf32_Word gnu_symbias = gnu_hasharr[1]; in compare_hash_gnu_hash()
2434 const Elf32_Word *gnu_bucket = (gnu_hasharr in compare_hash_gnu_hash()
2436 const Elf32_Word *gnu_chain = gnu_bucket + gnu_hasharr[0]; in compare_hash_gnu_hash()
2447 * sizeof (Elf32_Word)); in compare_hash_gnu_hash()
2448 uint32_t max_nsyms = (gnu_hash_data->d_size - used_buf) / sizeof (Elf32_Word); in compare_hash_gnu_hash()
2457 for (Elf32_Word cnt = 0; cnt < gnu_nbucket; ++cnt) in compare_hash_gnu_hash()
2461 Elf32_Word symidx = gnu_bucket[cnt] - gnu_symbias; in compare_hash_gnu_hash()
2479 if (hash_shdr->sh_entsize == sizeof (Elf32_Word)) in compare_hash_gnu_hash()
2481 const Elf32_Word *hasharr = (Elf32_Word *) hash_data->d_buf; in compare_hash_gnu_hash()
2482 if (hash_data->d_size < 2 * sizeof (Elf32_Word)) in compare_hash_gnu_hash()
2490 Elf32_Word nbucket = hasharr[0]; in compare_hash_gnu_hash()
2491 Elf32_Word nchain = hasharr[1]; in compare_hash_gnu_hash()
2492 uint64_t hash_used = (2ULL + nchain + nbucket) * sizeof (Elf32_Word); in compare_hash_gnu_hash()
2501 const Elf32_Word *bucket = &hasharr[2]; in compare_hash_gnu_hash()
2502 const Elf32_Word *chain = &hasharr[2 + nbucket]; in compare_hash_gnu_hash()
2504 for (Elf32_Word cnt = 0; cnt < nbucket; ++cnt) in compare_hash_gnu_hash()
2506 Elf32_Word symidx = bucket[cnt]; in compare_hash_gnu_hash()
2517 if (hash_data->d_size < 2 * sizeof (Elf32_Word)) in compare_hash_gnu_hash()
2683 Elf32_Word val; in check_group()
2710 val = *((Elf32_Word *) data->d_buf); in check_group()
2721 val = *((Elf32_Word *) ((char *) data->d_buf + cnt)); in check_group()