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

Method diff

qiling/debugger/qdb/utils.py:239–248  ·  view source on GitHub ↗

Diff between previous and current state.

(self, other: State)

Source from the content-addressed store, hash-verified

237 return ram_diff
238
239 def diff(self, other: State) -> DiffedState:
240 """Diff between previous and current state.
241 """
242
243 return DiffedState(
244 self._diff_reg(other),
245 self._diff_xreg(other),
246 self._diff_ram(other),
247 self.loader
248 )
249
250
251class SnapshotManager:

Callers 1

magicMethod · 0.80

Calls 4

_diff_regMethod · 0.95
_diff_xregMethod · 0.95
_diff_ramMethod · 0.95
DiffedStateClass · 0.85

Tested by

no test coverage detected