Lines Matching refs:path

282   string				path;
288 /// The path to the elf file.
290 /// @param path the path to the elf file.
291 elf_file(const string& path)
292 : path(path)
294 abigail::tools_utils::base_name(path, name);
295 get_soname_of_elf_file(path, soname);
296 get_type_of_elf_file(path, type);
298 stat(path.c_str(), &estat);
367 /// @param path the path to the package.
373 package(const string& path,
376 : path_(path),
379 type_ = guess_file_type(path);
381 extracted_dir_path_ = path;
386 /// Getter of the path of the package.
388 /// @return the path of the package.
390 path() const
393 /// Setter of the path of the package.
395 /// @param s the new path.
397 path(const string& s)
407 abigail::tools_utils::base_name(path(), name);
411 /// Getter for the path to the root dir where the packages are
414 /// @return the path to the root dir where the packages are
419 /// Getter for the path to the directory where the packages are
422 /// @return the path to the directory where the packages are
428 /// Setter for the path to the directory where the packages are
431 /// @param p the new path.
439 /// @return the common path prefix of package elements.
447 /// @return the common path prefix of package elements.
488 /// Getter for the path <-> elf_file map.
490 /// @return the the path <-> elf_file map.
495 /// Getter for the path <-> elf_file map.
497 /// @return the the path <-> elf_file map.
568 /// Getter of the path to the elf files of the package.
570 /// @return the path tothe elf files of the package.
575 /// Getter of the path to the elf files of the package.
577 /// @return the path tothe elf files of the package.
604 /// Convert the absolute path of an element of this package into a
605 /// path relative to the root path pointing to this package.
608 /// at /root/path/pkg. Suppose an element of that package is named
609 /// is at '/root/path/pkg/somewhere/inside/element'.
611 /// This function will return the path:
614 /// @param path the path to consider.
616 /// @param converted_path the resulting converted path. This is set
619 /// @return true if the path could be converted to being relative to
622 convert_path_to_relative(const string& path, string& converted_path) const
626 string p = path;
631 // Convert the absolute path of an element of this package into a
632 // path relative to the prefix common to the paths of all elements
635 // @param path the path to conver.
637 // @param converted_path the resulting converted path. This is set
640 // @return true iff the function could successfully convert @p path
643 convert_path_to_unique_suffix(const string& path,
645 {return string_suffix(path, common_paths_prefix(), converted_path);}
650 /// And then compute the path prefix that is common to all the
670 /// Create the path of an ABI file to be associated with a given
673 /// @param elf_file_path the path to the binary to consider.
675 /// @param abi_file_path the resulting ABI file path. This is set
678 /// @return true if the ABI file path could be constructed and the
680 /// the resulting ABI file path is set to the @p abi_file_path
788 /// Getter for the path to the parent directory under which packages
791 /// @return the path to the parent directory under which packages
854 << " --debug-info-pkg1|--d1 <path> path of debug-info package of package1\n"
855 << " --debug-info-pkg2|--d2 <path> path of debug-info package of package2\n"
856 << " --devel-pkg1|--devel1 <path> path of devel package of pakage1\n"
857 << " --devel-pkg2|--devel2 <path> path of devel package of pakage1\n"
862 << " --suppressions|--suppr <path> specify supression specification path\n"
863 << " --linux-kernel-abi-whitelist|-w path to a "
865 << " --wp <path> path to a linux kernel abi whitelist package\n"
918 /// @param package_path the path to the package to extract.
920 /// @param extracted_package_dir_path the path where to extract the
963 /// @param package_path the path to the package to extract.
965 /// @param extracted_package_dir_path the path where to extract the
1006 /// @param package_path the path to the archive to extract.
1008 /// @param extracted_package_dir_path the path where to extract the
1109 if (!extract_rpm(package.path(), package.extracted_dir_path(), opts))
1112 << "Error while extracting package " << package.path() << "\n";
1125 if (!extract_deb(package.path(), package.extracted_dir_path(), opts))
1128 << "Error while extracting package" << package.path() << "\n";
1147 if (!extract_tar(package.path(), package.extracted_dir_path(), opts))
1151 << package.path() << "\n";
1304 << elf1.path
1306 << elf2.path
1315 bool files_suppressed = (file_is_suppressed(elf1.path, supprs)
1316 ||file_is_suppressed(elf2.path, supprs));
1323 << elf1.path << " or " << elf2.path
1346 << elf1.path
1358 create_best_elf_based_reader(elf1.path,
1375 << elf1.path
1391 << "while reading file" << elf1.path << "\n";
1408 << "while reading file" << elf1.path << "\n";
1440 << elf1.path
1446 << elf2.path
1457 create_best_elf_based_reader(elf2.path,
1474 << elf2.path
1490 << "while reading file" << elf2.path << "\n";
1507 << "while reading file" << elf2.path << "\n";
1538 << " DONE reading file " << elf2.path << "\n";
1543 << " " << elf1.path << "\n"
1544 << " " << elf2.path << "\n";
1551 << elf1.path
1553 << elf2.path
1604 << elf.path
1610 << elf.path
1622 create_best_elf_based_reader(elf.path,
1635 << elf.path
1647 << elf.path
1657 if (!opts.pkg1->create_abi_file_path(elf.path, abi_file_path))
1662 << elf.path
1837 return get_dsos_provided_by_rpm(pkg.path(), pkg.public_dso_sonames());
1861 /// If it is, then save its file path in a vector of whitelists.
1868 /// are looking for, add its path to this output parameter.
1880 string path = entry->fts_path;
1881 maybe_get_symlink_target_file_path(path, path);
1885 if (string_ends_with(path, kabi_whitelist_name))
1886 whitelists.push_back(path);
1929 /// finds it and saves its file path in the
2240 string path = entry->fts_path;
2241 maybe_get_symlink_target_file_path(path, path);
2246 abigail::tools_utils::base_name(path, name);
2248 paths.insert(path);
2252 if (guess_file_type(path) == abigail::tools_utils::FILE_TYPE_ELF)
2253 paths.insert(path);
2254 else if (opts.abignore && string_ends_with(path, ".abignore"))
2255 opts.suppression_paths.push_back(path);
2325 << package.path()
2347 << " Analysis of " << package.path() << " DONE\n";
2378 << "skipping non-DSO file " << e->path << "\n";
2400 << e->path
2417 << "DSO " << e->path
2423 // base name. So let's consider the full path of the binary
2426 package.convert_path_to_unique_suffix(e->path, key);
2436 // soname. So let's *also* consider the full path of the
2450 << "DSO " << e->path << " of soname " << key
2456 if (package.convert_path_to_unique_suffix(e->path, key))
2471 << " Analysis of " << package.path() << " DONE\n";
2733 // Setting debug-info path of libraries
2843 first_package.convert_path_to_relative((*it)->path, relative_path);
2846 get_soname_of_elf_file((*it)->path, soname);
2863 second_package.convert_path_to_relative((*it)->path, relative_path);
2866 get_soname_of_elf_file((*it)->path, soname);
2904 // Setting debug-info path of libraries
3016 // Setting debug-info path of binaries
3084 << first_package.path() << "' and '"
3085 << second_package.path() << "' are: ===\n";
3088 << first_package.path()
3090 << second_package.path() << "' ===\n\n";
3624 if (!second_package->path().empty()
3652 || (!second_package->path().empty()
3676 if (!second_package->path().empty()
3688 if (!second_package->path().empty()
3700 if (!second_package->path().empty()