class
FileSystemFully emulated symbolic filesystem
❱ Methods
FileAccessor get_fa_by_handle(int handle)
Return the file accessor corresponding to a given handle
Parameters | |
---|---|
handle | The handle identifying the file accessor to get. If invalid the method raises a runtime exception |
delete_fa(int handle, bool weak=False)
Delete the file accessor corresponding to the given handle
Parameters | |
---|---|
handle | The handle identifying the file accessor to delete |
weak | If set to True and the engine restores a snapshot that was taken before the file accessor deletion,the file accessor will be restored as well. If set to False , the file accessor is deleted and never restored.
|
str get_stdin_for_pid(int pid)
Return the path of the standard input file for a process given its PID
Parameters | |
---|---|
pid | The PID of the process |