Lines Matching refs:FILE
1 /* Print information from ELF file in human-readable form.
3 This file is part of Red Hat elfutils.
63 static void print_version (FILE *stream, struct argp_state *state);
64 void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
75 { "file-header", 'h', NULL, 0, N_("Display the ELF file header"), 0 },
107 Print information from ELF file in human-readable form.");
110 static const char args_doc[] = N_("FILE...");
127 /* True if the file header should be printed. */
199 /* Number of sections in the file. */
252 /* Open the file. */
256 error (0, errno, gettext ("cannot open input file"));
392 fputs (gettext ("Missing file name.\n"), stderr);
413 print_version (FILE *stream, struct argp_state *state __attribute__ ((unused)))
425 /* Check if the file is an archive, and if so dump its index. */
483 /* Print the file name. */
511 /* Process one input file. */
535 /* Let 0 be the logical address of the file (or first in archive). */
541 error (0, errno, gettext ("cannot stat input file"));
543 error (0, 0, gettext ("input file is empty"));
559 /* Process the one or more modules gleaned from this file. */
567 /* Process one ELF file. */
598 /* For an ET_REL file, libdwfl has adjusted the in-core shdrs
600 So we need to get a fresh Elf handle on the file to display those. */
610 /* Read the file afresh. */
673 /* Print file type. */
682 N_("REL (Relocatable file)"),
683 N_("EXEC (Executable file)"),
684 N_("DYN (Shared object file)"),
685 N_("CORE (Core file)")
742 ehdr->e_phoff, gettext ("(bytes into file)"));
745 ehdr->e_shoff, gettext ("(bytes into file)"));
1010 sections by file offset. */
2087 printf (gettext (" %#06x: Version: %hu File: %s Cnt: %hu\n"),
2888 printf (gettext (" File: %11" PRIu32 "\n"),
2964 /* In an ET_REL file there is a section name to refer to. */
4655 /* First comes the file name. */
4670 /* Finally the length of the file. */
4803 define new file: dir=%u, mtime=%" PRIu64 ", length=%" PRIu64 ", name=%s\n"),
4850 /* Takes one uleb128 parameter which is stored in file. */
4852 printf (gettext (" set file to %" PRIu64 "\n"),
5074 /* Get the source file information for all CUs. */
5167 /* The two parameters are line and file index, in this order. */
5171 /* Find the CU DIE for this file. */
6152 In a debuginfo file, the program headers are not reliable. */