Home
last modified time | relevance | path

Searched refs:stroff (Results 1 – 25 of 38) sorted by relevance

12

/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Drddbg.c127 bfd_size_type stroff, next_stroff; in read_section_stabs_debugging_info() local
158 stroff = 0; in read_section_stabs_debugging_info()
180 stroff = next_stroff; in read_section_stabs_debugging_info()
189 if (stroff + strx > strsize) in read_section_stabs_debugging_info()
197 s = (char *) strings + stroff + strx; in read_section_stabs_debugging_info()
209 + stroff in read_section_stabs_debugging_info()
H A Dresbin.c302 unsigned int stroff; in bin_to_res_menuitems() local
316 stroff = 4; in bin_to_res_menuitems()
318 stroff = 2; in bin_to_res_menuitems()
320 if (length < stroff + 2) in bin_to_res_menuitems()
323 if (get_16 (big_endian, data + stroff) == 0) in bin_to_res_menuitems()
329 mi->text = get_unicode (data + stroff, length - stroff, big_endian, in bin_to_res_menuitems()
332 itemlen = stroff + slen * 2 + 2; in bin_to_res_menuitems()
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Drddbg.c122 bfd_size_type stroff, next_stroff; in read_section_stabs_debugging_info() local
153 stroff = 0; in read_section_stabs_debugging_info()
175 stroff = next_stroff; in read_section_stabs_debugging_info()
184 if (stroff + strx > strsize) in read_section_stabs_debugging_info()
192 s = (char *) strings + stroff + strx; in read_section_stabs_debugging_info()
204 + stroff in read_section_stabs_debugging_info()
H A Dresbin.c302 unsigned int stroff; in bin_to_res_menuitems() local
316 stroff = 4; in bin_to_res_menuitems()
318 stroff = 2; in bin_to_res_menuitems()
320 if (length < stroff + 2) in bin_to_res_menuitems()
323 if (get_16 (big_endian, data + stroff) == 0) in bin_to_res_menuitems()
329 mi->text = get_unicode (data + stroff, length - stroff, big_endian, in bin_to_res_menuitems()
332 itemlen = stroff + slen * 2 + 2; in bin_to_res_menuitems()
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dobj-som.c233 unsigned int stroff; local
264 stroff = get_stab_string_offset (file, "$GDB_STRINGS$");
265 know (stroff == 1);
266 md_number_to_chars (p, stroff, 4);
H A Dobj-elf.c1545 unsigned int stroff; in obj_elf_init_stab_section() local
1559 stroff = get_stab_string_offset (file, stabstr_name); in obj_elf_init_stab_section()
1560 know (stroff == 1); in obj_elf_init_stab_section()
1561 md_number_to_chars (p, stroff, 4); in obj_elf_init_stab_section()
H A Dobj-coff.c1633 unsigned int stroff; local
1643 stroff = get_stab_string_offset (file, stabstr_name);
1644 know (stroff == 1);
1645 md_number_to_chars (p, stroff, 4);
4526 unsigned int stroff; local
4536 stroff = get_stab_string_offset (file, stabstr_name);
4537 know (stroff == 1);
4538 md_number_to_chars (p, stroff, 4);
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dobj-som.c222 unsigned int stroff; in obj_som_init_stab_section() local
253 stroff = get_stab_string_offset (file, "$GDB_STRINGS$"); in obj_som_init_stab_section()
254 know (stroff == 1); in obj_som_init_stab_section()
255 md_number_to_chars (p, stroff, 4); in obj_som_init_stab_section()
H A Dobj-coff.c1737 unsigned int stroff; in obj_coff_init_stab_section() local
1747 stroff = get_stab_string_offset (file, stabstr_name); in obj_coff_init_stab_section()
1748 know (stroff == 1); in obj_coff_init_stab_section()
1749 md_number_to_chars (p, stroff, 4); in obj_coff_init_stab_section()
H A Dobj-elf.c1625 unsigned int stroff; in obj_elf_init_stab_section() local
1639 stroff = get_stab_string_offset (file, stabstr_name); in obj_elf_init_stab_section()
1640 know (stroff == 1); in obj_elf_init_stab_section()
1641 md_number_to_chars (p, stroff, 4); in obj_elf_init_stab_section()
/openbsd-src/usr.bin/ctfdump/
H A Dctfdump.c421 uint32_t stroff = cth.cth_stroff; in ctf_dump() local
423 while (offset < stroff) { in ctf_dump()
424 ctf_dump_type(&cth, data, dlen, stroff, &offset, idx++); in ctf_dump()
455 uint32_t stroff, uint32_t *offset, uint32_t idx) in ctf_dump_type() argument
534 if (toff > (stroff - sizeof(*ctm))) in ctf_dump_type()
552 if (toff > (stroff - sizeof(*ctlm))) in ctf_dump_type()
574 if (toff > (stroff - sizeof(*cte))) in ctf_dump_type()
/openbsd-src/usr.bin/ctfconv/
H A Dctfconv.c310 find_symb(struct itype *tmp, size_t stroff) in find_symb() argument
315 if (strtab == NULL || stroff >= strtabsz) in find_symb()
318 sname = xstrdup(strtab + stroff); in find_symb()
330 strlcpy(tmp->it_name, (strtab + stroff), ITNAME_MAX); in find_symb()
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dstabs.c160 bfd_size_type stroff, next_stroff, skip; in _bfd_link_section_stabs() local
231 stroff = 0; in _bfd_link_section_stabs()
258 stroff = next_stroff; in _bfd_link_section_stabs()
272 symstroff = stroff + bfd_get_32 (abfd, sym + STRDXOFF); in _bfd_link_section_stabs()
330 + stroff in _bfd_link_section_stabs()
H A Dsyms.c913 bfd_size_type stroff; in _bfd_stab_section_find_nearest_line() local
1119 for (i = 0, stroff = 0, stab = info->stabs, str = info->strs; in _bfd_stab_section_find_nearest_line()
1127 if ((bfd_size_type) ((info->strs + strsize) - str) < stroff) in _bfd_stab_section_find_nearest_line()
1129 str += stroff; in _bfd_stab_section_find_nearest_line()
1130 stroff = bfd_get_32 (abfd, stab + VALOFF); in _bfd_stab_section_find_nearest_line()
H A Dmach-o.c480 bfd_h_put_32 (abfd, seg->stroff, buf + 8); in bfd_mach_o_scan_write_symtab()
710 unsigned long stroff = -1; in bfd_mach_o_scan_read_symtab_symbol() local
723 stroff = bfd_h_get_32 (abfd, buf); in bfd_mach_o_scan_read_symtab_symbol()
730 if (stroff >= sym->strsize) in bfd_mach_o_scan_read_symtab_symbol()
733 (unsigned long) stroff, (unsigned long) sym->strsize); in bfd_mach_o_scan_read_symtab_symbol()
738 s->name = sym->strtab + stroff; in bfd_mach_o_scan_read_symtab_symbol()
821 if ((sym->stroff + sym->strsize) > b->size) in bfd_mach_o_scan_read_symtab_strtab()
826 sym->strtab = (char *) b->buffer + sym->stroff; in bfd_mach_o_scan_read_symtab_strtab()
834 bfd_seek (abfd, sym->stroff, SEEK_SET); in bfd_mach_o_scan_read_symtab_strtab()
838 sym->strsize, sym->stroff); in bfd_mach_o_scan_read_symtab_strtab()
[all …]
H A Dmach-o.h224 unsigned long stroff; member
/openbsd-src/sbin/restore/
H A Dsymtab.c438 long mynum = 1, stroff = 0; in dumpsymtable() local
466 stroff = 0; in dumpsymtable()
470 tep->e_name = (char *)stroff; in dumpsymtable()
471 stroff += allocsize(ep->e_namlen); in dumpsymtable()
501 hdr.stringsize = stroff; in dumpsymtable()
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dstabs.c194 bfd_size_type stroff, next_stroff, skip; local
286 stroff = 0;
315 stroff = next_stroff;
329 symstroff = stroff + bfd_get_32 (abfd, sym + STRDXOFF);
389 + stroff
H A Dsyms.c896 bfd_size_type stroff; in _bfd_stab_section_find_nearest_line() local
1090 for (i = 0, stroff = 0, stab = info->stabs, str = info->strs; in _bfd_stab_section_find_nearest_line()
1098 if ((bfd_size_type) ((info->strs + strsize) - str) < stroff) in _bfd_stab_section_find_nearest_line()
1100 str += stroff; in _bfd_stab_section_find_nearest_line()
1101 stroff = bfd_get_32 (abfd, stab + VALOFF); in _bfd_stab_section_find_nearest_line()
H A Dmach-o.c728 unsigned long stroff = -1; local
741 stroff = bfd_h_get_32 (abfd, buf);
748 if (stroff >= sym->strsize)
751 (unsigned long) stroff, (unsigned long) sym->strsize);
756 s->name = sym->strtab + stroff;
840 if ((sym->stroff + sym->strsize) > b->size)
845 sym->strtab = b->buffer + sym->stroff;
853 bfd_seek (abfd, sym->stroff, SEEK_SET);
857 sym->strsize, sym->stroff);
1237 bfd_h_put_32 (abfd, seg->stroff, buf + 8);
[all …]
H A Dmach-o.h224 unsigned long stroff; member
/openbsd-src/gnu/usr.bin/binutils/gas/
H A Dstabs.c307 unsigned int stroff; in s_stab_generic() local
345 stroff = get_stab_string_offset (string, stabstr_secname); in s_stab_generic()
356 md_number_to_chars (p, (valueT) stroff, 4); in s_stab_generic()
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A Dstabs.c304 unsigned int stroff; in s_stab_generic() local
340 stroff = get_stab_string_offset (string, stabstr_secname); in s_stab_generic()
351 md_number_to_chars (p, (valueT) stroff, 4); in s_stab_generic()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOWriter.cpp51 if (SymTabCommand.stroff) in totalSize()
52 Ends.push_back(SymTabCommand.stroff + SymTabCommand.strsize); in totalSize()
294 uint8_t *StrTable = (uint8_t *)Buf->getBufferStart() + SymTabCommand.stroff; in writeStringTable()
595 if (SymTabCommand.stroff) in writeTail()
596 Queue.push_back({SymTabCommand.stroff, &MachOWriter::writeStringTable}); in writeTail()
/openbsd-src/gnu/llvm/lldb/examples/python/
H A Dmach_o.py1117 symtab_offset = linkedit_vmaddr + lc_symtab.stroff - linkedit_fileoff
1458 self.stroff = 0
1463 self.symoff, self.nsyms, self.stroff, self.strsize = data.get_n_uint32(
1469 self.symoff, self.nsyms, self.stroff, self.strsize)
1660 symtab_lc.stroff +

12