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

Method do_invoke

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

Source from the content-addressed store, hash-verified

4885 _syntax_ = f"{_cmdline_} REMOTE"
4886
4887 def do_invoke(self, argv: List[str]) -> None:
4888 try:
4889 gdb.execute(f"gef-remote {' '.join(argv)}")
4890 except gdb.error as e:
4891 err(e)
4892 return
4893 # after remote attach, we are stopped so that we can
4894 # get base address to modify our breakpoint
4895 vmmap = gef.memory.maps
4896 base_address = [x.page_start for x in vmmap if x.realpath == get_filepath()][0]
4897
4898 for bp_ins in gef.session.pie_breakpoints.values():
4899 bp_ins.instantiate(base_address)
4900 gdb.execute("context")
4901 return
4902
4903
4904@register

Callers

nothing calls this directly

Calls 4

errFunction · 0.85
get_filepathFunction · 0.85
joinMethod · 0.80
instantiateMethod · 0.45

Tested by

no test coverage detected