Lines Matching defs:data
64 ElfObject::tryFile(const std::string &fname, size_t len, uint8_t *data,
73 Elf *elf = elf_memory((char*)data, len);
209 ElfObject * result = new ElfObject(fname, len, data, arch, op_sys);
244 char *interp_path = (char*)data + phdr.p_offset;
297 text.size = data.size = bss.size = 0;
298 text.baseAddr = data.baseAddr = bss.baseAddr = 0;
319 } else if (!strcmp(".data", sec_name)) {
336 // out information about the text, data, and bss areas needed by other
360 // Check to see if this is the text or data segment
373 data.baseAddr = phdr.p_paddr;
374 data.size = phdr.p_filesz;
375 data.fileImage = fileData + phdr.p_offset;
378 // load the filesize worth of data
393 text.baseAddr, text.size, data.baseAddr, data.size,
429 Elf_Data *data = elf_getdata(section, NULL);
436 gelf_getsym(data, i, &sym);
574 data.baseAddr += bias_addr;