MCPcopy Create free account
hub / github.com/qilingframework/qiling / get_data

Function get_data

qltui.py:405–438  ·  view source on GitHub ↗

Main Qltui function

()

Source from the content-addressed store, hash-verified

403
404
405def 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
441def ask_report():

Callers

nothing calls this directly

Calls 6

logFunction · 0.85
ask_optionFunction · 0.85
ask_run_optionsFunction · 0.85
ask_additional_optionsFunction · 0.85
ask_code_optionsFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected