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

Method save

qiling/debugger/qdb/utils.py:259–264  ·  view source on GitHub ↗

acquire current State by wrapping saved context from ql.save()

(self)

Source from the content-addressed store, hash-verified

257 self.layers: List[DiffedState] = []
258
259 def save(self) -> State:
260 """
261 acquire current State by wrapping saved context from ql.save()
262 """
263
264 return State(self.ql.save(reg=True, mem=True, loader=True))
265
266 @staticmethod
267 def snapshot(func: Callable) -> Callable:

Callers 2

restoreMethod · 0.95
magicMethod · 0.45

Calls 1

StateClass · 0.85

Tested by

no test coverage detected