Lines Matching refs:current_path
46 static const char *current_path; variable
60 if (current_path == NULL) in issue()
63 error (0, e, "%s '%s'", msg, current_path); in issue()
73 error (0, 0, "%s: %s: '%s'", msg, elf_errmsg (-1), current_path); in elf_issue()
84 fprintf (stderr, "debug: processing file: %s\n", current_path); in open_file()
86 file_fd = open (current_path, O_RDONLY | (flag_only_regular_files in open_file()
235 fprintf (stderr, "info: %s: ELF kind: %s (0x%x)\n", current_path, in run_classify()
391 fprintf (stderr, "info: %s: ELF type: %s (0x%x)\n", current_path, in run_classify()
394 fprintf (stderr, "info: %s: PT_LOAD found\n", current_path); in run_classify()
396 fprintf (stderr, "info: %s: has sections\n", current_path); in run_classify()
399 current_path); in run_classify()
402 current_path); in run_classify()
404 fprintf (stderr, "info: %s: dynamic segment found\n", current_path); in run_classify()
406 fprintf (stderr, "info: %s: soname found\n", current_path); in run_classify()
408 fprintf (stderr, "info: %s: DF_1_PIE flag found\n", current_path); in run_classify()
410 fprintf (stderr, "info: %s: DT_DEBUG found\n", current_path); in run_classify()
412 fprintf (stderr, "info: %s: symbol table found\n", current_path); in run_classify()
414 fprintf (stderr, "info: %s: .debug_* section found\n", current_path); in run_classify()
416 fprintf (stderr, "info: %s: .modinfo section found\n", current_path); in run_classify()
420 current_path); in run_classify()
766 fprintf (stderr, "debug: %s: elf\n", current_path); in process_current_path()
768 fprintf (stderr, "debug: %s: elf_file\n", current_path); in process_current_path()
770 fprintf (stderr, "debug: %s: elf_archive\n", current_path); in process_current_path()
772 fprintf (stderr, "debug: %s: core\n", current_path); in process_current_path()
774 fprintf (stderr, "debug: %s: unstripped\n", current_path); in process_current_path()
776 fprintf (stderr, "debug: %s: executable\n", current_path); in process_current_path()
778 fprintf (stderr, "debug: %s: program\n", current_path); in process_current_path()
780 fprintf (stderr, "debug: %s: shared\n", current_path); in process_current_path()
782 fprintf (stderr, "debug: %s: library\n", current_path); in process_current_path()
784 fprintf (stderr, "debug: %s: linux kernel module\n", current_path); in process_current_path()
786 fprintf (stderr, "debug: %s: debug-only\n", current_path); in process_current_path()
788 fprintf (stderr, "debug: %s: loadable\n", current_path); in process_current_path()
823 puts (current_path); in process_current_path()
827 if (fwrite (current_path, strlen (current_path) + 1, 1, stdout) < 1) in process_current_path()
854 current_path = NULL; in process_stdin()
864 current_path = buffer; in process_stdin()
1033 current_path = argv[i]; in main()