MCPcopy Create free account
hub / github.com/JonathanSalwan/Triton / restore

Method restore

src/examples/python/multi_threading.py:21–27  ·  view source on GitHub ↗
(self, ctx)

Source from the content-addressed store, hash-verified

19
20
21 def restore(self, ctx):
22 # Restore concrete registers
23 for rid, v in self.cregs.items():
24 ctx.setConcreteRegisterValue(ctx.getRegister(rid), v)
25 # Restore symbolic registers
26 for rid, e in self.sregs.items():
27 ctx.assignSymbolicExpressionToRegister(e, ctx.getRegister(rid))
28
29
30if __name__ == "__main__":

Callers 1

multi_threading.pyFile · 0.80

Tested by

no test coverage detected