Lines Matching refs:section_data
133 Elf_Data *section_data = NULL; in ac_elf_read() local
142 section_data = elf_getdata(section, section_data); in ac_elf_read()
143 binary->code_size = section_data->d_size; in ac_elf_read()
145 memcpy(binary->code, section_data->d_buf, binary->code_size); in ac_elf_read()
147 section_data = elf_getdata(section, section_data); in ac_elf_read()
148 binary->config_size = section_data->d_size; in ac_elf_read()
155 memcpy(binary->config, section_data->d_buf, binary->config_size); in ac_elf_read()
158 section_data = elf_getdata(section, section_data); in ac_elf_read()
159 binary->disasm_string = strndup(section_data->d_buf, in ac_elf_read()
160 section_data->d_size); in ac_elf_read()
162 section_data = elf_getdata(section, section_data); in ac_elf_read()
163 binary->rodata_size = section_data->d_size; in ac_elf_read()
165 memcpy(binary->rodata, section_data->d_buf, binary->rodata_size); in ac_elf_read()
167 symbols = elf_getdata(section, section_data); in ac_elf_read()
171 relocs = elf_getdata(section, section_data); in ac_elf_read()