Package ghidra.pcode.emu.unix
Class BytesEmuUnixFileSystem
java.lang.Object
ghidra.pcode.emu.unix.AbstractEmuUnixFileSystem<byte[]>
ghidra.pcode.emu.unix.BytesEmuUnixFileSystem
- All Implemented Interfaces:
EmuUnixFileSystem<byte[]>
A concrete in-memory file system simulator suitable for UNIX programs
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
A concrete in-memory file suitable for UNIX programsNested classes/interfaces inherited from interface ghidra.pcode.emu.unix.EmuUnixFileSystem
EmuUnixFileSystem.OpenFlag
-
Field Summary
Fields inherited from class ghidra.pcode.emu.unix.AbstractEmuUnixFileSystem
filesByPath
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA factory for constructing a new file (without adding it to the file system)Methods inherited from class ghidra.pcode.emu.unix.AbstractEmuUnixFileSystem
createOrGetFile, getFile, open, putFile, unlink
-
Constructor Details
-
BytesEmuUnixFileSystem
public BytesEmuUnixFileSystem()Construct a new concrete simulated file system
-
-
Method Details
-
newFile
Description copied from interface:EmuUnixFileSystem
A factory for constructing a new file (without adding it to the file system)- Specified by:
newFile
in interfaceEmuUnixFileSystem<byte[]>
- Specified by:
newFile
in classAbstractEmuUnixFileSystem<byte[]>
- Parameters:
pathname
- the path of the filemode
- the mode of the new file- Returns:
- the new file
-