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

Function ask_additional_options

qltui.py:320–402  ·  view source on GitHub ↗

Ask additional options for run/code

()

Source from the content-addressed store, hash-verified

318
319
320def ask_additional_options():
321 """
322 Ask additional options for run/code
323 """
324 options = {}
325
326 verbose = questionary.select(
327 "verbose:",
328 choices=list(verbose_map.keys()),
329 default="default").ask()
330 verbose = verbose_arg(verbose)
331
332 env = questionary.path("env:", default="{}", validate=ENVFilePathValidator).ask()
333 env = env_arg(env)
334
335 debug = questionary.confirm("debug:",
336 default=False, auto_enter=True).ask()
337 gdb = None
338 qdb, rr = False, False
339 if debug:
340 gdb = questionary.text("\tgdb:").ask()
341
342 qdb = questionary.confirm("\tqdb:",
343 default=False, auto_enter=True).ask()
344
345 rr = questionary.confirm("\trr:",
346 default=False, auto_enter=True).ask()
347
348 profile = questionary.text("profile:").ask()
349 if not profile:
350 profile = None
351
352 console = questionary.confirm("console:",
353 default=True, auto_enter=True).ask()
354
355 filter_ = questionary.text("filter:").ask()
356 if not filter_:
357 filter_ = None
358
359 log_file = questionary.path("log-file:", validate=FilePathValidator).ask()
360 if not log_file:
361 log_file = None
362
363 log_plain = questionary.confirm("log-plain:",
364 default=False, auto_enter=True).ask()
365
366 root = questionary.confirm("root:",
367 default=False, auto_enter=True).ask()
368
369 debug_stop = questionary.confirm("debug-stop:",
370 default=False, auto_enter=True).ask()
371
372 multithread = questionary.confirm("multithread:",
373 default=False, auto_enter=True).ask()
374
375 timeout = int(questionary.text("profile:", default="0", validate=IntValidator).ask())
376
377 coverage = questionary.confirm("coverage:",

Callers 1

get_dataFunction · 0.85

Calls 3

verbose_argFunction · 0.85
env_argFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected