Searched refs:rawdata_base (Results 1 – 8 of 8) sorted by relevance
144 if (((((size_t) (char *) scn->rawdata_base)) & (align - 1)) == 0) in convert_data()146 scn->data_base = scn->rawdata_base; in convert_data()157 memcpy (scn->data_base, scn->rawdata_base, size); in convert_data()174 if (((((size_t) (char *) scn->rawdata_base)) & (align - 1)) == 0) in convert_data()175 rawdata_source = scn->rawdata_base; in convert_data()186 memcpy (rawdata_source, scn->rawdata_base, size); in convert_data()194 if (rawdata_source != scn->rawdata_base) in convert_data()313 scn->rawdata_base = scn->rawdata.d.d_buf in __libelf_set_rawdata_wrlock()331 scn->rawdata_base = scn->rawdata.d.d_buf in __libelf_set_rawdata_wrlock()345 scn->rawdata_base = scn->rawdata.d.d_buf = NULL; in __libelf_set_rawdata_wrlock()
172 if (strscn->rawdata_base == NULL && ! strscn->data_read) in elf_strptr()176 if (strscn->rawdata_base == NULL && ! strscn->data_read in elf_strptr()204 if (likely (validate_str (strscn->rawdata_base, offset, sh_size))) in elf_strptr()205 result = &strscn->rawdata_base[offset]; in elf_strptr()
156 if (scn->zdata_base != scn->rawdata_base) in elf_end()163 if (scn->data_base != scn->rawdata_base) in elf_end()169 || scn->rawdata_base == scn->zdata_base in elf_end()171 free (scn->rawdata_base); in elf_end()
322 if (scn->data_base != scn->rawdata_base) in __libelf_reset_rawdata()326 || scn->rawdata_base == scn->zdata_base in __libelf_reset_rawdata()328 free (scn->rawdata_base); in __libelf_reset_rawdata()330 scn->rawdata_base = buf; in __libelf_reset_rawdata()
82 && scn->rawdata_base != NULL in elf_newdata()
238 char *rawdata_base; /* The unmodified data of the section. */ member
407 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf()504 elf->state.elf64.scns.data[cnt].rawdata_base = in file_read_elf()
472 free rawdata_base when malloced. Set ELF_F_MALLOCED for scn->flags.473 * elf_end.c (elf_end): Check scn->flags and free rawdata_base if811 of rawdata_base != NULL before using rawdata directly.819 * elf_newdata.c (elf_newdata): Check scn->rawdata_base and update1144 * elf_begin.c (file_read_elf): Leave section rawdata_base and