executioner.sandbox.firejail.FireJail(NoSandBox) class documentationexecutioner.sandbox.firejail
(View In Hierarchy)
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 |
generate the firejail cmd command
generate command to compile program