Elf32_Word
const Elf32_Rel *rel, int num, Elf32_Word dstidx)
static Elf32_Word read_elf_word(Elf32_Word word, bool swap)
static void write_elf_word(Elf32_Word val, Elf32_Word *dst, bool swap)
Elf32_Word e_flags;
Elf32_Word sym_info = sechdrs[relsec].sh_info;
Elf32_Word r_info = rel[i].r_info;
Elf32_Word *loc;
Elf32_Word insns[2]; /* each stub entry has two insns */
Elf32_Word p_filesz;
Elf32_Word p_memsz;
Elf32_Word p_flags;
Elf32_Word p_align;
Elf32_Word e_version;
Elf32_Word e_flags;
Elf32_Word p_type;
Elf32_Word *xsymtab = secs[shxsymtabndx].xsymtab;
Elf32_Word *xsymtab;
#define Elf_Word Elf32_Word
Elf32_Word p_memsz; /* allocation size recorded in file */
Elf32_Word r_info;
Elf32_Word r_info;
Elf32_Word st_name;
Elf32_Word st_size;
Elf32_Word e_version;
Elf32_Word e_flags;
Elf32_Word p_type;
Elf32_Word p_filesz;
Elf32_Word p_memsz;
Elf32_Word p_flags;
Elf32_Word p_align;
Elf32_Word sh_name;
Elf32_Word sh_type;
Elf32_Word sh_flags;
Elf32_Word sh_size;
Elf32_Word sh_link;
Elf32_Word sh_info;
Elf32_Word sh_addralign;
Elf32_Word sh_entsize;
Elf32_Word n_namesz; /* Name size */
Elf32_Word n_descsz; /* Content size */
Elf32_Word n_type; /* Content type */
Elf32_Word vd_hash;
Elf32_Word vd_aux;
Elf32_Word vd_next;
Elf32_Word vda_name;
Elf32_Word vda_next;
loff_t note_off, Elf32_Word note_size)
Elf32_Word xndx, void *arg);
Elf32_Word xndx = 0;
Elf32_Word xndx, void *arg)
r_info = TO_NATIVE((Elf32_Word)r_info);
Elf32_Word *p;
Elf32_Word *symtab_shndx_start;
Elf32_Word *symtab_shndx_stop;
static unsigned int get_symindex(Elf_Sym const *sym, Elf32_Word const *symtab,
Elf32_Word const *symtab_shndx)
unsigned const nhdr, Elf32_Word **symtab,
Elf32_Word **symtab_shndx)
Elf32_Word const *symtab,
Elf32_Word const *symtab_shndx,
Elf32_Word *symtab;
Elf32_Word *symtab_shndx;
Elf32_Word *symtab_shndx = NULL;
symtab_shndx = (Elf32_Word *)((const char *)ehdr +
const Elf32_Word *symtab_shndx_start)
Elf32_Word r_info;
Elf32_Word r_info;
Elf32_Word st_name;
Elf32_Word st_size;
Elf32_Word e_version;
Elf32_Word e_flags;
Elf32_Word p_type;
Elf32_Word p_filesz;
Elf32_Word p_memsz;
Elf32_Word p_flags;
Elf32_Word p_align;
Elf32_Word sh_name;
Elf32_Word sh_type;
Elf32_Word sh_flags;
Elf32_Word sh_size;
Elf32_Word sh_link;
Elf32_Word sh_info;
Elf32_Word sh_addralign;
Elf32_Word sh_entsize;
Elf32_Word n_namesz; /* Name size */
Elf32_Word n_descsz; /* Content size */
Elf32_Word n_type; /* Content type */
Elf32_Word vd_hash;
Elf32_Word vd_aux;
Elf32_Word vd_next;
Elf32_Word vda_name;
Elf32_Word vda_next;
Elf32_Word shndx;
Elf32_Word shndx;
buf = calloc(num, sizeof(Elf32_Word));
shndx_data->d_size = num * sizeof(Elf32_Word);
shndx_data->d_align = sizeof(Elf32_Word);
Elf32_Word first_non_local, new_idx;
symtab_shndx->sh.sh_size += sizeof(Elf32_Word);
Elf32_Word shndx;
parse_build_id_buf(const void *note_start, Elf32_Word note_size, char *build_id)
Elf32_Word note_offs = 0;