Lines Matching refs:elf
17 #include <elf.h>
147 Elf elf(memory);
148 if (!elf.Init(true) || !elf.valid()) {
149 printf("%s is not a valid elf file.\n", file);
153 ElfInterface* interface = elf.interface();
154 uint64_t load_bias = elf.GetLoadBias();
161 if (elf.GetSoname(&soname)) {
170 PrintRegInformation(section, memory, pc - load_bias, elf.class_type());
178 PrintRegInformation(section, memory, pc - load_bias, elf.class_type());
185 ElfInterface* gnu_debugdata_interface = elf.gnu_debugdata_interface();
190 PrintRegInformation(section, gnu_debugdata_interface->memory(), pc, elf.class_type());
199 PrintRegInformation(section, gnu_debugdata_interface->memory(), pc, elf.class_type());
217 printf(" The path to an elf file.\n");