Django uploader app - e-m-b-a/embark GitHub Wiki

in-Short:

This App provides the main-functionality. As in EMBA. Firmware is defined as a Datatype(Class), Uploaded, Stored, Analyzed by EMBA(Boundedexecuter.py) and the Results send to the backend.

Boundedexecuter.py:

defines a class for pooling and execution of the command required to execute ./emba.sh and get results back Uses Shell-call in subprocess(root)

archiver.py

handels achive files like .gz

models.py

defines the firmware for analysis and the input forms that are used to define emba-flags outputs emba-command flags that are used by boundedexecutor

forms.py

the upload-forms for uploading the firmware and committing it for EMBA to scan

Unit-tests:

TODO unit tests for said classes and functionalities