Lines Matching defs:file

1 /* Print information from ELF file in human-readable form.
3 This file is part of elfutils.
5 This file is free software; you can redistribute it and/or modify
102 "with the Split Compile units in a .dwo input file"), 0 },
107 { "file-header", 'h', NULL, 0, N_("Display the ELF file header"), 0 },
157 Print information from ELF file in human-readable form.");
174 /* If non-null, the file that contains the skeleton CUs. */
182 /* True if the file header should be printed. */
291 /* Numbers of sections and program headers in the file. */
387 /* Open the file. */
391 error (0, errno, _("cannot open input file '%s'"), argv[remaining]);
603 fputs (_("Missing file name.\n"), stderr);
636 /* Create a file descriptor to read the data from the
637 elf_input_section given a file descriptor to an ELF file. */
703 /* Create (and immediately unlink) a temporary file to store
704 section data in to create a file descriptor for it. */
714 error (0, 0, _("cannot create temp file '%s'"),
736 error (0, 0, _("error while rewinding file descriptor"));
751 /* Check if the file is an archive, and if so dump its index. */
809 /* Print the file name. */
824 Only used for finding the alternate debug file if the Dwarf comes from
825 the main file. We are not interested in separate debuginfo. */
840 elf file but is only missing the alternate debug link. If dwbias
868 /* Let 0 be the logical address of the file (or first in archive). */
874 error (0, errno, _("cannot stat input file"));
876 error (0, 0, _("input file is empty"));
889 /* Process one input file. */
924 /* Process the one or more modules gleaned from this file. */
939 /* Check whether there are any compressed sections in the ELF file. */
954 /* Process one ELF file. */
988 /* For an ET_REL file, libdwfl has adjusted the in-core shdrs and
992 file to display those. */
1004 /* Read the file afresh. */
1070 /* Print file type. */
1079 N_("REL (Relocatable file)"),
1080 N_("EXEC (Executable file)"),
1081 N_("DYN (Shared object file)"),
1082 N_("CORE (Core file)")
1144 ehdr->e_phoff, _("(bytes into file)"));
1147 ehdr->e_shoff, _("(bytes into file)"));
1426 /* If we are sure the file offset is valid then we can show
1428 there is a section at the file offset. Normally there
1432 not valid another reason could be because the ELF file
1465 /* No sections in the file. Punt. */
1507 sections by file offset. */
3868 /* In an ET_REL file there is a section name to refer to. */
4876 /* Turn the addresses into file offsets by using the phdrs. */
5782 DWARF (.dwo) file. */
7558 /* Try to get the actual file, the current interface only
7559 gives us full paths, but we only want to show the file
7577 error (0, 0, _("invalid file (%" PRId64 "): %s"),
8262 const char *file = dwarf_linesrc (line, &mtime, &length);
8263 if (file == NULL)
8268 else if (strcmp (last_file, file) != 0)
8271 file, mtime, length);
8272 last_file = file;
8896 /* First comes the file name. */
8915 /* Finally the length of the file. */
9069 define new file: dir=%u, mtime=%" PRIu64 ", length=%" PRIu64 ", name=%s\n"),
9185 /* Takes one uleb128 parameter which is stored in file. */
9189 printf (_(" set file to %" PRIu64 "\n"),
10060 /* Get the source file information for all CUs. */
10154 /* The two parameters are line and file index, in this order. */
10165 /* Find the CU DIE for this file. */
10223 /* Get the source file information for all CUs. Uses same
10512 // XXX Needs support for reading from supplementary object file.
10703 in the case this is a version 5 split DWARF file. */
11421 /* Used for skeleton file, if necessary for split DWARF. */
11445 /* If we are asked about a split dwarf (.dwo) file, use the user
11446 provided, or find the corresponding skeleton file. If we got
11447 a skeleton file, replace the given dwflmod and dbg, with one
11448 derived from the skeleton file to provide enough context. */
11456 /* Replace file.dwo with file.o and see if that matches. */
11479 fprintf (stderr, "Warning: Couldn't open DWARF skeleton file"
11572 "Warning: split DWARF file, but no skeleton found.\n");
11576 " but not a split DWARF file\n");
11713 /* Turn implicit and/or explicit back on in case we go over another file. */
12618 /* Where file names are stored. */
12766 In a debuginfo file, the program headers are not reliable. */