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

Method setInstrCount

src/function_context.py:368–374  ·  view source on GitHub ↗

Set the number of code instructions in our function. Args: num_instrs (int): number of instructions in the function

(self, num_instrs)

Source from the content-addressed store, hash-verified

366 self.frame = frame
367
368 def setInstrCount(self, num_instrs):
369 """Set the number of code instructions in our function.
370
371 Args:
372 num_instrs (int): number of instructions in the function
373 """
374 self.instrs = num_instrs
375
376 def recordBlock(self, block):
377 """Record a code block in our function's code flow.

Callers 2

deserializeMethod · 0.80
analyzeFunctionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected