Skip to content

Commit

Permalink
Added ISO9660 test file and tests (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
sydp authored Sep 17, 2022
1 parent 2c50029 commit 244e72c
Show file tree
Hide file tree
Showing 4 changed files with 396 additions and 9 deletions.
5 changes: 5 additions & 0 deletions dfvfs/vfs/tsk_file_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ class TSKFileEntry(file_entry.FileEntry):
pytsk3.TSK_FS_TYPE_HFS,
pytsk3.TSK_FS_TYPE_HFS_DETECT]

_TSK_ISO9660_FS_TYPES = [
pytsk3.TSK_FS_TYPE_ISO9660,
pytsk3.TSK_FS_TYPE_ISO9660_DETECT]

_TSK_NTFS_FS_TYPES = [
pytsk3.TSK_FS_TYPE_NTFS,
pytsk3.TSK_FS_TYPE_NTFS_DETECT]
Expand Down Expand Up @@ -222,6 +226,7 @@ class TSKFileEntry(file_entry.FileEntry):
_TSK_CRTIME_FS_TYPES = [pytsk3.TSK_FS_TYPE_EXT4]
_TSK_CRTIME_FS_TYPES.extend(_TSK_FAT_FS_TYPES)
_TSK_CRTIME_FS_TYPES.extend(_TSK_HFS_FS_TYPES)
_TSK_CRTIME_FS_TYPES.extend(_TSK_ISO9660_FS_TYPES)
_TSK_CRTIME_FS_TYPES.extend(_TSK_NTFS_FS_TYPES)

_TSK_DTIME_FS_TYPES = _TSK_EXT_FS_TYPES
Expand Down
Binary file added test_data/iso9660.raw
Binary file not shown.
Loading

0 comments on commit 244e72c

Please sign in to comment.