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