Lines Matching defs:get_uint32
65 u_int32_t get_uint32(be_uint32_t *be);
97 get_uint32(be_uint32_t *be)
161 inf->text_size = get_uint32(&hdr->a_text);
162 inf->data_size = get_uint32(&hdr->a_data);
163 inf->bss_size = get_uint32(&hdr->a_bss);
164 inf->entry_addr = get_uint32(&hdr->a_entry);
185 get_uint32(&hdr->e_version) != EV_CURRENT) {
220 if (fseek(fp, (foff_t) get_uint32(&hdr->e_phoff), SEEK_SET)) {
231 if (get_uint32(&phdr[i].p_type) != PT_LOAD) {
239 if (nphdr == 1 && (get_uint32(&phdr[0].p_flags) & PF_W)) {
252 (foff_t) (get_uint32(&hdr->e_shoff) + sizeof shdr),
266 fn, i, get_uint32(&shdr.sh_flags)));
273 inf->text_off = get_uint32(&phdr[0].p_offset);
274 inf->text_size = get_uint32(&shdr.sh_offset) -
278 inf->data_size = get_uint32(&phdr[0].p_filesz) -
280 inf->bss_size = get_uint32(&phdr[0].p_memsz) -
281 get_uint32(&phdr[0].p_filesz);
282 inf->entry_addr = get_uint32(&hdr->e_entry);
290 inf->text_size = get_uint32(&phdr[0].p_filesz);
292 inf->bss_size = get_uint32(&phdr[0].p_memsz) - inf->text_size;
293 inf->entry_addr = get_uint32(&hdr->e_entry);
294 inf->text_off = get_uint32(&phdr[0].p_offset);
303 inf->text_size = get_uint32(&phdr[0].p_filesz);
306 inf->entry_addr = get_uint32(&hdr->e_entry);
307 inf->text_off = get_uint32(&phdr[0].p_offset);
309 inf->text_pad = get_uint32(&phdr[0].p_memsz) - inf->text_size;
321 if (get_uint32(&phdr[t].p_vaddr) > get_uint32(&phdr[d].p_vaddr))
324 if ((get_uint32(&phdr[t].p_flags) & PF_X) == 0 &&
325 get_uint32(&phdr[d].p_flags) & PF_X)
328 if ((get_uint32(&phdr[d].p_flags) & PF_W) == 0 &&
329 get_uint32(&phdr[t].p_flags) & PF_W)
334 if (get_uint32(&phdr[t].p_vaddr) >
335 get_uint32(&phdr[d].p_vaddr)) {
341 if ((get_uint32(&phdr[t].p_flags) & PF_X) == 0)
345 if ((get_uint32(&phdr[d].p_flags) & PF_W) == 0)
349 inf->text_size = get_uint32(&phdr[t].p_filesz);
350 inf->data_size = get_uint32(&phdr[d].p_filesz);
351 inf->bss_size = get_uint32(&phdr[d].p_memsz) - inf->data_size;
352 inf->entry_addr = get_uint32(&hdr->e_entry);
353 inf->text_off = get_uint32(&phdr[t].p_offset);
354 inf->data_off = get_uint32(&phdr[d].p_offset);
355 inf->text_pad = get_uint32(&phdr[d].p_vaddr) -
356 (get_uint32(&phdr[t].p_vaddr) + inf->text_size);
517 get_uint32(&b1) - loadadr1 \
518 == get_uint32(&b2) - loadadr2) {\
522 put_uint32(&b1, get_uint32(&b1) - loadadr1); \
523 DPRINTF((" v 0x%08x\t", get_uint32(&b1))); \
751 get_uint16(&be16) != 0x1234 || get_uint32(&be32) != 0xfedcba98 ||
753 get_uint32(&be32x2[1]) != 0xa9876543) {