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

Method path

qiling/core.py:335–343  ·  view source on GitHub ↗

Emulated binary path as specified in argv. Example: >>> ql = Qiling([r'myrootfs/path/to/target.bin', 'arg1'], 'myrootfs') >>> ql.targetname 'myrootfs/path/to/target.bin'

(self)

Source from the content-addressed store, hash-verified

333
334 @property
335 def path(self) -> str:
336 """Emulated binary path as specified in argv.
337
338 Example:
339 >>> ql = Qiling([r'myrootfs/path/to/target.bin', 'arg1'], 'myrootfs')
340 >>> ql.targetname
341 'myrootfs/path/to/target.bin'
342 """
343 return self.argv[0]
344
345 @property
346 def targetname(self) -> str:

Callers 3

ask_run_optionsFunction · 0.80
ask_code_optionsFunction · 0.80
ask_additional_optionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected