(self, argv: List[str])
| 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 |
nothing calls this directly
no test coverage detected