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

Method using_psp

qiling/arch/cortex_m.py:107–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 return self.regs.ipsr > 1
106
107 def using_psp(self) -> bool:
108 return not self.is_handler_mode() and (self.regs.control & CONTROL.SPSEL) > 0
109
110 def init_context(self) -> None:
111 self.regs.lr = 0xffffffff

Callers 1

interrupt_handlerMethod · 0.95

Calls 1

is_handler_modeMethod · 0.95

Tested by

no test coverage detected