(self)
| 10714 | return False |
| 10715 | |
| 10716 | def setup(self) -> bool: |
| 10717 | # setup remote adequately depending on remote or qemu mode |
| 10718 | if self.in_qemu_user(): |
| 10719 | dbg(f"Setting up as qemu session, target={self.__qemu}") |
| 10720 | self.__setup_qemu() |
| 10721 | else: |
| 10722 | dbg(f"Setting up as remote session") |
| 10723 | self.__setup_remote() |
| 10724 | |
| 10725 | # refresh gef to consider the binary |
| 10726 | reset_all_caches() |
| 10727 | gef.binary = Elf(self.lfile) |
| 10728 | reset_architecture() |
| 10729 | return True |
| 10730 | |
| 10731 | def __setup_qemu(self) -> bool: |
| 10732 | # setup emulated file in the chroot |
no test coverage detected