HomeSort by relevance Sort by last modified time
    Searched refs:shnum (Results 1 - 12 of 12) sorted by null

  /onnv/onnv-gate/usr/src/cmd/sgs/libelf/common/
getshnum.c 51 elf_getshdrnum(Elf *elf, size_t *shnum)
60 *shnum = ehdr.e_shnum;
64 *shnum = 0;
71 *shnum = shdr0.sh_size;
76 elf_getshnum(Elf *elf, size_t *shnum)
78 return (elf_getshdrnum(elf, shnum) == 0);
checksum.c 83 size_t shnum; local
107 for (shnum = 1; shnum < ehdr->e_shnum; shnum++) {
108 if ((scn = elf_getscn(elf, shnum)) == 0)
136 size_t shnum; local
141 for (shnum = 1; shnum < ehdr->e_shnum; shnum++) {
142 if ((scn = elf_getscn(elf, shnum)) == 0
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/elfdump/common/
elfdump.c 120 Word shnum; /* # of sections in cache */ member in struct:__anon5
306 stringtbl(Cache *cache, int symtab, Word ndx, Word shnum, const char *file,
315 if ((shdr->sh_link == 0) || (shdr->sh_link >= shnum)) {
354 if ((shdr->sh_link == 0) || (shdr->sh_link >= shnum)) {
370 symlookup(const char *name, Cache *cache, Word shnum, Sym **sym,
400 if ((shdr->sh_link == 0) || (shdr->sh_link >= shnum)) {
427 sections(const char *file, Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi)
431 for (seccnt = 1; seccnt < shnum; seccnt++) {
759 unwind(Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, uchar_t osabi,
802 for (cnt = 1; cnt < shnum; cnt++)
4209 size_t ndx, shstrndx, shnum, phnum; local
    [all...]
fake_shdr.c 1044 * cache, shnum - Addresses of variables to receive resulting
1048 * On success, *cache and *shnum are set, and True (1) is returned.
1058 Cache **cache, size_t *shnum)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/mcs/common/
file.c 61 static void initialize(int shnum, Cmd_Info *, file_state_t *);
250 size_t shnum; local
261 if (elf_getshdrnum(elf, &shnum) == -1) {
276 initialize(shnum, cmd_info, &state);
327 size_t shstrndx, shnum; local
331 if (elf_getshdrnum(elf, &shnum) == -1) {
518 if ((tmp_shdr.sh_link < shnum) &&
586 for (i = 1; i < shnum; i++) {
637 for (i = 1; i < shnum; i++) {
693 size_t shnum, shstrndx local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/libld/common/
order.c 94 * If sh_info is in the range (1 <= value < shnum), then this input section
173 Word shnum = ifl->ifl_shnum; local
190 if ((isp2_ndx == 0) || (isp2_ndx >= shnum)) {
234 if (++iter >= shnum) {
  /onnv/onnv-gate/usr/src/cmd/sgs/libelf/demo/
dcom.c 101 size_t shnum; local
114 if (elf_getshdrnum(elf, &shnum) == -1) {
136 shndx = calloc(shnum, sizeof (int));
  /onnv/onnv-gate/usr/src/cmd/sgs/elfedit/common/
util.c 402 * shnum - Number of sections in the ELF file
412 elfedit_atoshndx(const char *str, size_t shnum)
417 if ((ndx >= shnum) && ((ndx < SHN_LORESERVE) || (ndx > SHN_HIRESERVE)))
419 EC_WORD(ndx), EC_WORD(shnum-1));
util_machelf.c 123 Word shnum = obj_state->os_shnum; local
125 for (ndx = 0; ndx < shnum; ndx++, sec++) {
159 Word shnum = obj_state->os_shnum; local
161 for (ndx = 0; ndx < shnum; ndx++, sec++) {
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/dump/common/
dump.c 773 size_t shnum; local
792 if (elf_getshdrnum(elf_file, &shnum) == -1) {
801 (p_scns->p_shdr.sh_link >= (GElf_Word)shnum)) {
1658 size_t shnum; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/elfedit/modules/common/
ehdr.c 1065 Word shnum = (Word) elfedit_atoui(argstate.argv[0], local
1073 if (shnum >= SHN_LORESERVE) {
1075 sh_size = shnum;
1077 e_shnum = shnum;
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/include/
elfedit.h 802 extern elfedit_atoui_t elfedit_atoshndx(const char *str, size_t shnum);
    [all...]

Completed in 6198 milliseconds