tree: bbe5be013618c25f13b7b02b05a035186d3dc561 [path history] [tgz]
  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. OWNERS
  10. README.md
  11. safe_archive_analyzer.cc
  12. safe_archive_analyzer.h
  13. single_file_tar_file_extractor.cc
  14. single_file_tar_file_extractor.h
  15. single_file_tar_file_extractor_unittest.cc
  16. single_file_tar_reader.cc
  17. single_file_tar_reader.h
  18. single_file_tar_reader_fuzzer.cc
  19. single_file_tar_reader_unittest.cc
  20. single_file_tar_xz_file_extractor.cc
  21. single_file_tar_xz_file_extractor.h
  22. single_file_tar_xz_file_extractor_unittest.cc
  23. zip_file_creator.cc
  24. 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.