Searched refs:rawdata_base (Results 1 – 8 of 8) sorted by relevance
146 if (((((size_t) (char *) scn->rawdata_base)) & (align - 1)) == 0) in convert_data()148 scn->data_base = scn->rawdata_base; in convert_data()159 memcpy (scn->data_base, scn->rawdata_base, size); in convert_data()176 if (((((size_t) (char *) scn->rawdata_base)) & (align - 1)) == 0) in convert_data()177 rawdata_source = scn->rawdata_base; in convert_data()188 memcpy (rawdata_source, scn->rawdata_base, size); in convert_data()196 if (rawdata_source != scn->rawdata_base) in convert_data()315 scn->rawdata_base = scn->rawdata.d.d_buf in __libelf_set_rawdata_wrlock()333 scn->rawdata_base = scn->rawdata.d.d_buf = malloc (size); in __libelf_set_rawdata_wrlock()346 scn->rawdata_base = scn->rawdata.d.d_buf = NULL; in __libelf_set_rawdata_wrlock()
174 if (strscn->rawdata_base == NULL && ! strscn->data_read) in elf_strptr()178 if (strscn->rawdata_base == NULL && ! strscn->data_read in elf_strptr()206 if (likely (validate_str (strscn->rawdata_base, offset, sh_size))) in elf_strptr()207 result = &strscn->rawdata_base[offset]; in elf_strptr()
155 if (scn->zdata_base != scn->rawdata_base) in elf_end()162 if (scn->data_base != scn->rawdata_base) in elf_end()168 || scn->rawdata_base == scn->zdata_base in elf_end()170 free (scn->rawdata_base); in elf_end()
320 if (scn->data_base != scn->rawdata_base) in __libelf_reset_rawdata()324 || scn->rawdata_base == scn->zdata_base in __libelf_reset_rawdata()326 free (scn->rawdata_base); in __libelf_reset_rawdata()328 scn->rawdata_base = buf; in __libelf_reset_rawdata()
82 && scn->rawdata_base != NULL in elf_newdata()
239 char *rawdata_base; /* The unmodified data of the section. */ member
411 elf->state.elf32.scns.data[cnt].rawdata_base = in file_read_elf()510 elf->state.elf64.scns.data[cnt].rawdata_base = in file_read_elf()
606 free rawdata_base when malloced. Set ELF_F_MALLOCED for scn->flags.607 * elf_end.c (elf_end): Check scn->flags and free rawdata_base if945 of rawdata_base != NULL before using rawdata directly.953 * elf_newdata.c (elf_newdata): Check scn->rawdata_base and update1278 * elf_begin.c (file_read_elf): Leave section rawdata_base and