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

Function env_arg

qltui.py:97–109  ·  view source on GitHub ↗

Function to read env parameter

(value)

Source from the content-addressed store, hash-verified

95 ql.save()
96
97def env_arg(value):
98 """
99 Function to read env parameter
100 """
101 if value == "{}":
102 return {}
103 else:
104 if os.path.exists(value):
105 with open(value, 'rb') as f:
106 env = pickle.load(f)
107 else:
108 env = ast.literal_eval(value)
109 return env
110
111
112def verbose_arg(value):

Callers 1

ask_additional_optionsFunction · 0.85

Calls 2

existsMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected