Class GFileSystemBaseFactory

java.lang.Object
ghidra.formats.gfilesystem.factory.GFileSystemBaseFactory
All Implemented Interfaces:
GFileSystemFactory<GFileSystemBase>, GFileSystemFactoryByteProvider<GFileSystemBase>, GFileSystemProbe, GFileSystemProbeByteProvider

public class GFileSystemBaseFactory extends Object implements GFileSystemFactoryByteProvider<GFileSystemBase>, GFileSystemProbeByteProvider
A GFileSystemFactory implementation that probes and creates instances of GFileSystemBase which use the legacy filesystem lifecycle pattern.

For each operation, this factory will mint a new instance of a GFileSystemBase-derived fs, using its 3 param constructor, and call its isValid() or open().

After an isValid() call, the newly minted filesystem instance is thrown away.

This class requires special support in the FileSystemFactoryMgr to push the fsClass into each factory instance after it is constructed.