Main Qltui function
()
| 403 | |
| 404 | |
| 405 | def get_data(): |
| 406 | """ |
| 407 | Main Qltui function |
| 408 | """ |
| 409 | print(motd) |
| 410 | log("Welcome to Qiling", HEADING_COLOR) |
| 411 | log("Cross Platform and Multi Architecture Advanced Binary Emulation Framework", HEADING_COLOR) |
| 412 | |
| 413 | command = ask_option() |
| 414 | |
| 415 | if command == 'run': |
| 416 | log("Select Run Options", OUTPUT_COLOR) |
| 417 | command_options = ask_run_options() |
| 418 | |
| 419 | log("Select Additional Options", OUTPUT_COLOR) |
| 420 | additional_options = ask_additional_options() |
| 421 | |
| 422 | elif command == 'code': |
| 423 | log("Select Code Options", OUTPUT_COLOR) |
| 424 | command_options = ask_code_options() |
| 425 | |
| 426 | log("Select Additional Options", OUTPUT_COLOR) |
| 427 | additional_options = ask_additional_options() |
| 428 | |
| 429 | else: |
| 430 | log("Error", ERROR_COLOR) |
| 431 | |
| 432 | command_options.update(additional_options) |
| 433 | options = command_options |
| 434 | options['subcommand'] = command |
| 435 | |
| 436 | namespace = argparse.Namespace(**options) |
| 437 | |
| 438 | return namespace |
| 439 | |
| 440 | |
| 441 | def ask_report(): |
nothing calls this directly
no test coverage detected