Functions | |
| bool | export_range (DiskReader &reader, uint64_t offset, uint64_t size, const fs::path &out_path, std::string &error, std::function< bool()> cancel_cb) |
| bool | should_export (const ScanResult &r) |
| std::string | sanitize (const std::string &s) |
| void | write_recovery_manifest (const fs::path &output_dir, const ScanReport &report, const std::unordered_set< size_t > &selected_indices, bool filter_results, const RecoverySummary &summary, const std::vector< RecoveredFileRecord > &fs_recovered, const std::vector< CarvedFile > &carved, std::string &error) |
| std::vector< std::pair< uint64_t, uint64_t > > | selected_carve_ranges (const ScanReport &report, const std::unordered_set< size_t > &selected_indices, bool filter_results, uint64_t source_size) |
| bool anonymous_namespace{recovery_exporter.cpp}::export_range | ( | DiskReader & | reader, |
| uint64_t | offset, | ||
| uint64_t | size, | ||
| const fs::path & | out_path, | ||
| std::string & | error, | ||
| std::function< bool()> | cancel_cb ) |
Definition at line 20 of file recovery_exporter.cpp.
References export_range(), DiskReader::read_at(), and trs().
Referenced by export_range().
| std::string anonymous_namespace{recovery_exporter.cpp}::sanitize | ( | const std::string & | s | ) |
Definition at line 79 of file recovery_exporter.cpp.
References sanitize().
Referenced by sanitize().
| std::vector< std::pair< uint64_t, uint64_t > > anonymous_namespace{recovery_exporter.cpp}::selected_carve_ranges | ( | const ScanReport & | report, |
| const std::unordered_set< size_t > & | selected_indices, | ||
| bool | filter_results, | ||
| uint64_t | source_size ) |
Definition at line 148 of file recovery_exporter.cpp.
References FilesystemCandidate, FilesystemVolume, LostPartitionCandidate, NtfsMetadata, NtfsVolume, Partition, ScanReport::results, and selected_carve_ranges().
Referenced by selected_carve_ranges().
| bool anonymous_namespace{recovery_exporter.cpp}::should_export | ( | const ScanResult & | r | ) |
Definition at line 71 of file recovery_exporter.cpp.
References FilesystemVolume, LostPartitionCandidate, NtfsVolume, Partition, and should_export().
Referenced by should_export().
| void anonymous_namespace{recovery_exporter.cpp}::write_recovery_manifest | ( | const fs::path & | output_dir, |
| const ScanReport & | report, | ||
| const std::unordered_set< size_t > & | selected_indices, | ||
| bool | filter_results, | ||
| const RecoverySummary & | summary, | ||
| const std::vector< RecoveredFileRecord > & | fs_recovered, | ||
| const std::vector< CarvedFile > & | carved, | ||
| std::string & | error ) |
Definition at line 97 of file recovery_exporter.cpp.
References RecoverySummary::exported_images, ScanReport::input_path, RecoverySummary::recovered_files, trs(), and write_recovery_manifest().
Referenced by write_recovery_manifest().