MCPcopy Create free account
hub / github.com/CheckPointSW/Karta / declareMatch

Method declareMatch

src/function_context.py:445–455  ·  view source on GitHub ↗

Declare a match between a source and a bin context. Args: match (BinaryCodeContext): the matching binary context

(self, match)

Source from the content-addressed store, hash-verified

443
444 # Overridden base function
445 def declareMatch(self, match):
446 """Declare a match between a source and a bin context.
447
448 Args:
449 match (BinaryCodeContext): the matching binary context
450 """
451 self.match = match
452 # notify our followers that we are now out of the game
453 for follower in self.followers:
454 follower.removeHint(self, clear=False)
455 self.followers = set()
456
457 # Overridden base function
458 def isPartial(self):

Callers

nothing calls this directly

Calls 1

removeHintMethod · 0.80

Tested by

no test coverage detected