tree: 9e0ee8e4052ff33fe5e905dc624b5e6b8d859ced
  1. public/
  2. BUILD.gn
  3. DEPS
  4. DIR_METADATA
  5. fake_file_util_service.cc
  6. fake_file_util_service.h
  7. file_util_service.cc
  8. file_util_service.h
  9. obfuscated_archive_analysis_delegate.cc
  10. obfuscated_archive_analysis_delegate.h
  11. OWNERS
  12. README.md
  13. regular_archive_analysis_delegate.cc
  14. regular_archive_analysis_delegate.h
  15. safe_archive_analyzer.cc
  16. safe_archive_analyzer.h
  17. single_file_tar_file_extractor.cc
  18. single_file_tar_file_extractor.h
  19. single_file_tar_file_extractor_unittest.cc
  20. single_file_tar_reader.cc
  21. single_file_tar_reader.h
  22. single_file_tar_reader_fuzzer.cc
  23. single_file_tar_reader_unittest.cc
  24. single_file_tar_xz_file_extractor.cc
  25. single_file_tar_xz_file_extractor.h
  26. single_file_tar_xz_file_extractor_unittest.cc
  27. zip_file_creator.cc
  28. zip_file_creator.h
chrome/services/file_util/README.md

The FileUtilService is used to perform operation on archives in a sandboxed utility process. It currently provides the following operations

  • Creation of a ZIP archive from a collection of file handles
  • Extraction of a single file from a .TAR or .TAR.XZ archive
  • Analysis of ZIP, RAR, DMG, and 7Z archives for Safe Browsing

Code in //chrome/services/file_util is expected to run within a restrictive utility process sandbox. Code in //chrome/services/file_util/public/ can be run from privileged processes, including the browser process.