CYB3RMX / Qu1cksc0pe

All-in-One malware analysis tool.
GNU General Public License v3.0
1.24k stars 176 forks source link

Introduce a proper entrypoint #48

Closed luis261 closed 4 months ago

luis261 commented 4 months ago

It's generally preferred to have a main function which is then "registered" to run only if the program is executed directly (over putting code straight into the uppermost scope to run unconditionally when the module is invoked/loaded).

This is not only a Python convention but also makes the programs functionality/sub-modules available for people to import without forcing an execution of the entire thing.