dissect.target icon indicating copy to clipboard operation
dissect.target copied to clipboard

Extend VirtualFilesystem's file mapping methods

Open DissectBot opened this issue 1 year ago • 0 comments

Currently the .map_file() and .map_file_fh() methods only support mapping file entries. This can be extended to also mapping entries representing directories. This would require the creation of a MappedDirectory class.

On top of that, it might be useful to have a similar way to map symlinks. This is a bit trickier as currently the difference between a file and directory is indicated by a final / in the vfspath parameter.

DissectBot avatar Mar 18 '24 14:03 DissectBot