Lines Matching +defs:init +defs:data
108 Versym *data; /* Pointer to versym array */
129 struct { /* Extended section index data */
131 Word *data; /* NULL, or extended section index */
133 uint_t n; /* # items in shxndx.data */
331 * Obtain, and verify the symbol table data.
403 * Determine the symbol data and number.
553 uchar_t *data = (uchar_t *)(_cache->c_data->d_buf);
570 if ((data == NULL) || (datasize == 0)) {
593 vers = data[ndx++];
594 frame_ptr_enc = data[ndx++];
595 fde_cnt_enc = data[ndx++];
596 table_enc = data[ndx++];
600 switch (dwarf_ehe_extract(data, datasize, &ndx,
623 switch (dwarf_ehe_extract(data, datasize, &ndx, &fde_cnt,
649 switch (dwarf_ehe_extract(data, datasize, &ndx,
669 switch (dwarf_ehe_extract(data, datasize, &ndx, &table,
704 dump_eh_frame(file, _cache->c_name, data, datasize,
785 * cur_ent - Pointer to data in the struct to be translated
896 * eh_state is used to retain data used by unwind_eh_frame()
986 state->shxndx.data = NULL;
992 * Check the symbol data and per-item size.
1055 state->shxndx.data = _cache->c_data->d_buf;
1152 if (state->shxndx.data) {
1161 state->shxndx.data[symndx]) > state->shnum) {
1191 verndx = test_verndx = state->versym->data[symndx];
1478 * Print the capabilities data.
1882 * associated dynamic section, validate it and get the data buffer
1931 * Get the data buffer for the associated symbol table and string table.
2104 * vnd - Address of verneed data
2221 * vnd - Address of verneed data
2325 /* Record data address for later symbol processing */
2328 versym->data = _cache->c_data->d_buf;
2336 * Ensure the data is non-NULL and the number
2555 * The data for .SUNW_ldynsym and dynsym sections
2648 * Get the data buffer for the associated symbol table and
2766 * expensive in code and time. We would have to build a data structure
2913 Cache *init;
2960 * We want to detect the .init and .fini sections,
2964 * names (i.e. .init/.fini/.interp) that are very
2970 if (sec.init == NULL)
2971 sec.init = _cache;
3121 * requires examining data that spans
3134 * and data length in bytes. We don't
3247 sec.init, cache, shnum, ehdr, osabi, file);
3248 TEST_ADDR(SHT_PROGBITS, init);
3438 * Determine the move data and number.
3452 * Get the data buffer for the associated symbol table and
3533 /* pns_ fields track progress through the data */
3536 size_t pns_size; /* # unprocessed data bytes */
3537 Word *pns_data; /* # to next unused data byte */
3544 const char *pn_desc; /* if (descsx > 0) ptr to data bytes */
3549 * data pointer past it.
3662 * The data buffers size is used to validate references before they are made,
3666 note_entry(Cache *cache, Word *data, size_t size, Ehdr *ehdr, const char *file)
3677 pnstate.pns_data = data;
3779 * the note data is to display it as hex bytes.
3862 * .note.ABI-tag, and must have data.
3976 * Determine the hash table data and size.
3992 * Get the data buffer for the associated symbol table.
4120 * Get the data buffer for the associated symbol table and
4317 * Get the data buffer for the associated symbol table and
4429 * such arbitrary data can be passed, so we are stuck using global data.
4436 * used to access the section headers in order of increasing data offset.
4467 Elf_Data *data;
4476 * Obtain the .shstrtab data buffer to provide the required section
4491 } else if ((data = elf_getdata(scn, NULL)) == NULL) {
4501 } else if ((names = data->d_buf) == NULL)
4520 * each section that has data in the ELF file:
4541 * Traverse the sections of the file. This gathering of data is
4548 * Finally, the data for each section is obtained. This processing is
4553 * course, if there is any section overlap, the data related to the
4555 * of this data that has caused problems with elfdump()'s ability to
4556 * extract the data.
4572 * If this section has data in the file, include it in
4630 * or exceeds the shstrtab data. Fall through to
4644 * If there exists no shstrtab data, or a section header has no
4670 * data from the file is questionable. However, it might still be
4673 * processing to see if any data can be salvaged.
4737 * Obtain the data for each section.
4871 * allows access to data types smaller than 128-bits to be on
5004 * If -w was specified, find and write out the section(s) data.