Lines Matching refs:elf
35 #include <elf.h>
56 using google_breakpad::synth_elf::ELF;
67 void GetElfContents(ELF& elf) {
69 ASSERT_TRUE(elf.GetContents(&contents));
94 ELF elf(EM_386, ELFCLASS32, kLittleEndian);
98 elf.AddSection(".text", text, SHT_PROGBITS);
106 int index = elf.AddSection(".dynstr", table, SHT_STRTAB);
107 elf.AddSection(".dynsym", syms,
114 elf.Finish();
115 GetElfContents(elf);
134 ELF elf(EM_X86_64, ELFCLASS64, kLittleEndian);
138 elf.AddSection(".text", text, SHT_PROGBITS);
146 int index = elf.AddSection(".dynstr", table, SHT_STRTAB);
147 elf.AddSection(".dynsym", syms,
154 elf.Finish();
155 GetElfContents(elf);