Home
last modified time | relevance | path

Searched refs:rawdata_base (Results 1 – 8 of 8) sorted by relevance

/external/elfutils/libelf/
Delf_getdata.c144 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()
Delf_strptr.c172 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()
Delf_end.c156 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()
Delf_compress.c322 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()
Delf_newdata.c82 && scn->rawdata_base != NULL in elf_newdata()
DlibelfP.h238 char *rawdata_base; /* The unmodified data of the section. */ member
Delf_begin.c407 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()
DChangeLog472 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 if
811 of rawdata_base != NULL before using rawdata directly.
819 * elf_newdata.c (elf_newdata): Check scn->rawdata_base and update
1144 * elf_begin.c (file_read_elf): Leave section rawdata_base and