MCPcopy Create free account
hub / github.com/HexHive/NASS / do_invoke

Method do_invoke

tools/gef.py:5501–5514  ·  view source on GitHub ↗
(self, argv: List[str])

Source from the content-addressed store, hash-verified

5499 return
5500
5501 def do_invoke(self, argv: List[str]) -> None:
5502 if len(argv) == 0:
5503 self.usage()
5504 return
5505
5506 _, structname = self.explode_type(argv[0])
5507 manager = ExternalStructureManager()
5508 result = manager.find(structname)
5509 if result:
5510 _, structure = result
5511 structure.pprint()
5512 else:
5513 err(f"No structure named '{structname}' found")
5514 return
5515
5516
5517@register

Callers

nothing calls this directly

Calls 6

findMethod · 0.95
errFunction · 0.85
usageMethod · 0.80
explode_typeMethod · 0.80
pprintMethod · 0.80

Tested by

no test coverage detected