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

Method load_plugin

tools/gef.py:9403–9410  ·  view source on GitHub ↗
(fpath: pathlib.Path)

Source from the content-addressed store, hash-verified

9401
9402 def load_extra_plugins(self) -> int:
9403 def load_plugin(fpath: pathlib.Path) -> bool:
9404 try:
9405 dbg(f"Loading '{fpath}'")
9406 gdb.execute(f"source {fpath}")
9407 except Exception as e:
9408 warn(f"Exception while loading {fpath}: {str(e)}")
9409 return False
9410 return True
9411
9412 nb_added = -1
9413 start_time = time.perf_counter()

Callers

nothing calls this directly

Calls 2

dbgFunction · 0.85
warnFunction · 0.85

Tested by

no test coverage detected