Package ghidra.formats.gfilesystem
package ghidra.formats.gfilesystem
-
ClassDescriptionCommon base class for tasks that need to extract files from a GFileSystem location.AbstractFileSystem<METADATATYPE>Default implementation of base file system functionality.File caching implementation.Represents a cached file.A best-effort cache of MD5 values of files, where the file is identified by its parent's MD5 combined with the file's path inside its parent's 'namespace'.Events broadcast when a
GFileSystemis closed or has aFileSystemRefchange.FileSystemIndexHelper<METADATATYPE>A helper class used by GFilesystem implementors to track mappings between GFile instances and the underlying container filesystem's native file objects.A callback interface used to choose which filesystem implementation to use when multiple filesystem types indicate that they can open a container file.A handle to aGFileSystemwhich allows tracking the current users of the filesystem.A threadsafe helper class that manages creating and releasingFileSystemRefinstances and broadcasting events toFileSystemEventListenerlisteners.Provides methods for dealing with GFilesystem files andfilesystems.Used bygetDerivedByteProvider()to produce a derivative stream from a source file.Used bygetDerivedByteProviderPush()to produce a derivative stream from a source file.A _F_ile _S_ystem _R_esource _L_ocator, (name and string format patterned after URLs)A type ofFSRLthat is specific to the filesystem's identity.Represents a file in afilesystem.GFileSystem add-on interface that provides MD5 hashing for file located within the filesystemBase implementation of file in afilesystem.GFileimplementation that refers to a real java.io.File on the local file system.Interface that represents a filesystem that contains files.This is the original GFileSystem implementation abstract base class, with most of the initially implemented filesystem types extending this class.Iterates over theGFiles in aGFileSystemdepth-firstGFileSystemadd-on interface that allows a filesystem publish the fact that it supports an import feature allowing the caller to import binaries directly into Ghidra without going through aLoader.GFileSystemadd-on interface to allow filesystems to override how image files are converted into viewableIconinstances.AGFileSystemimplementation giving access to the user's operating system's local file system.AGFileSysteminterface to a part of the user's local / native file system.AByteProvideralong with aFileSystemRefto keep the filesystem pinned in memory.AGFilealong with aFileSystemRefto keep the filesystem pinned in memory.AnInputStreamwrapper that keeps aFileSystemRefpinned.A helper class used by GFilesystem implementors that have a single file to handle lookups and requests for that file.