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

Method selfCheck

src/function_context.py:833–838  ·  view source on GitHub ↗

Double checks our hints, and keeps only those who match our possible file candidates.

(self)

Source from the content-addressed store, hash-verified

831
832 # Overridden base function
833 def selfCheck(self):
834 """Double checks our hints, and keeps only those who match our possible file candidates."""
835 for hint in set(self.xref_hints) | (self.call_hints if self.call_hints is not None else set()):
836 # bye bye, hint
837 if not hint.isValidCandidate(self):
838 self.removeHint(hint)
839
840 # Overridden base function
841 def isLinkerOptimizationCandidate(self, src_ctx):

Callers

nothing calls this directly

Calls 2

removeHintMethod · 0.95
isValidCandidateMethod · 0.80

Tested by

no test coverage detected