MCPcopy Create free account
hub / github.com/qilingframework/qiling / _check_sp

Method _check_sp

qiling/core.py:530–534  ·  view source on GitHub ↗
(ql: Qiling, address: int, size: int)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

emu_stopMethod · 0.45

Tested by

no test coverage detected