(ql: Qiling, address: int, size: int)
| 528 | # Stop on a negative stack pointer |
| 529 | if QL_STOP.STACK_POINTER in self.stop_options: |
| 530 | def _check_sp(ql: Qiling, address: int, size: int): |
| 531 | if not ql.loader.skip_exit_check: |
| 532 | if ql._initial_sp < ql.arch.regs.arch_sp: |
| 533 | self.log.info('Process returned from entrypoint (stackpointer)!') |
| 534 | ql.emu_stop() |
| 535 | |
| 536 | self.hook_code(_check_sp) |
| 537 |