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

Method __dict_diff

qiling/debugger/qdb/utils.py:182–183  ·  view source on GitHub ↗
(d0: Mapping[_K, _V], d1: Mapping[_K, _V])

Source from the content-addressed store, hash-verified

180
181 @staticmethod
182 def __dict_diff(d0: Mapping[_K, _V], d1: Mapping[_K, _V]) -> Dict[_K, _V]:
183 return {k: v for k, v in d0.items() if v != d1.get(k)}
184
185 def _diff_reg(self, other: State) -> Dict[str, int]:
186 return State.__dict_diff(self.reg, other.reg)

Callers 2

_diff_regMethod · 0.80
_diff_xregMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected