FireJail SandBox class

Class Variable supported_languages The supported languages of this sandbox
Class Variable sandbox_command The sandbox's command to be executed
Method generate_command generate the firejail cmd command
Method generate_compile_command generate command to compile program
Method generate_execute_command generate command to execute program

Inherited from NoSandBox:

Class Variable error_reg regular expression to extract error text and time
Method __init__ initialize object variables
Instance Variable file_location The file location of the current program
Instance Variable compile_file_location The compiled file location of the current program
Method get_compiled_file get the file location of compiled file
Method process_error get error and real time taken
Method setup_file set up the file in file system
Method identify_error identify the error
Method compile compile the Program
Method execute execute the Program
Method delete cleanup program related data from sandbox

Inherited from SandBox (via NoSandBox):

Method to_json_object convert to JSON object
Static Method from_json_object Generate Program object from JSON object
Method __eq__ Undocumented
supported_languages =

The supported languages of this sandbox

(type: List[str])
sandbox_command =

The sandbox's command to be executed

(type: str)
def generate_command(self, command, file_location, time_limit, mem_limit):

generate the firejail cmd command

def generate_compile_command(self, command, file_location, _, time_limit, mem_limit):

generate command to compile program

def generate_execute_command(self, command, file_location, time_limit, mem_limit):

generate command to execute program

API Documentation for EXecutioner, generated by pydoctor at 2021-09-20 12:53:40.