Searched defs:elf (Results 1 - 8 of 8) sorted by relevance
/pkg/src/tests/api/ |
H A D | t_elf.py | 31 import pkg.elf as elf namespace 54 """Test that elf routines gracefully handle non-elf objects.""" 56 p = "this-is-not-an-elf-file.so" 59 self.assertEqual(elf.is_elf_object(p), False) 60 self.assertRaises(elf.ElfError, elf.get_dynamic, p) 61 self.assertRaises(elf.ElfError, elf [all...] |
H A D | t_dependencies.py | 41 import pkg.flavor.elf as elf namespace 1146 # In some cases we want to generate an elf binary with no 1158 p.lstrip("/") for p in elf.default_run_paths 1300 """Check that an elf file that requires a library outside its 1332 """Check that an elf file that requires a library inside its 1912 str(elf.BadElfFile("fp", "ex")) 1913 str(elf.UnsupportedDynamicToken("/proto_path", "/install",
|
/pkg/src/modules/flavor/ |
H A D | elf.py | 29 import pkg.elf as elf namespace 35 """Exception that is raised when the elf dependency checker is given 45 return _("{file} had this elf error:{err}").format( 49 """Exception that is used for elf dependencies which have a dynamic 69 as determined by elf.""" 75 [base_name], run_paths, pkg_vars, proto_dir, "elf") 78 """Because elf dependencies can be either warnings or errors, 153 """Produce the elf dependencies for the file delivered in the action 164 'run_paths' contains the run paths which elf binarie [all...] |
/pkg/src/modules/ |
H A D | elfextract.h | 49 Elf *elf; /* elf data -- must be freed */ member in struct:dyninfo
|
H A D | elfextract.c | 193 gethead(Elf *elf) argument 197 if (!elf) { 199 "elf.so`gethead: argument 'elf' must not be NULL"); 208 if (gelf_getehdr(elf, hdr) == 0) { 220 Elf *elf; local 235 if (!(elf = elf_begin(fd, ELF_C_READ, NULL))) { 241 if (!(hdr = gethead(elf))) { 242 (void) elf_end(elf); 254 (void) elf_end(elf); 325 getelfhash(Elf *elf, char *base, unsigned char *elfhash) argument 389 Elf *elf = NULL; local 685 Elf *elf; local [all...] |
/pkg/src/modules/actions/ |
H A D | file.py | 54 import pkg.elf as elf namespace 419 # It's possible for the elf module to 437 elfhash = elf.get_hashes( 546 # Don't allow preserve logic to be applied to elf files; 547 # if we ever stop tagging elf binaries with this
|
/pkg/src/modules/server/ |
H A D | transaction.py | 47 import pkg.elf as elf namespace 503 elf_info = elf.get_info(elf_name) 504 except elf.ElfError as e: 518 hashes = elf.get_hashes(elf_name, 524 except elf.ElfError:
|
/pkg/src/modules/publish/ |
H A D | transaction.py | 42 # If elf module is supported, we will extract ELF information. 44 import pkg.elf as elf namespace 337 elf_info = elf.get_info(elf_name) 338 except elf.ElfError as e: 357 attrs.update(elf.get_hashes( 361 except elf.ElfError:
|
Completed in 29 milliseconds