Lines Matching full:elf
5 # Test for the elf module
11 import elf
34 This has the minimum feature set needed to support testing elf functions.
55 """Test that we can obtain a symbol from the ELF file"""
57 syms = elf.GetSymbols(fname, [])
61 """Test that we can obtain from the ELF file by regular expression"""
63 syms = elf.GetSymbols(fname, ['ucode'])
65 syms = elf.GetSymbols(fname, ['missing'])
67 syms = elf.GetSymbols(fname, ['missing', 'ucode'])
75 syms = elf.LookupAndWriteSymbols('missing-file', entry, section)
85 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
98 self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, section),
111 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
124 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
128 """Check that enabling debug in the elf module produced debug output"""
129 elf.debug = True
134 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
135 elf.debug = False