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

Method setFrame

src/function_context.py:360–366  ·  view source on GitHub ↗

Set the size of the stack frame for our function. Args: frame (int): frame size (in bytes) of our function

(self, frame)

Source from the content-addressed store, hash-verified

358 self.is_static = False # False by default
359
360 def setFrame(self, frame):
361 """Set the size of the stack frame for our function.
362
363 Args:
364 frame (int): frame size (in bytes) of our function
365 """
366 self.frame = frame
367
368 def setInstrCount(self, num_instrs):
369 """Set the number of code instructions in our function.

Callers 2

deserializeMethod · 0.80
analyzeFunctionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected