parameters: (self, slot, address)
return_statement: return slot
docstring: Assume we have a framepointer if we find 4 consecutive links
docstring_summary: Assume we have a framepointer if we find 4 consecutive links
docstring_tokens: Assume we have a framepointer if we find 4 consecutive links
function: def TryInferFramePointer(self, slot, address):
      """ Assume we have a framepointer if we find 4 consecutive links """
      for i in range(0, 4):
        if not self.reader.IsExceptionStackAddress(address): return 0
        next_address = self.reader.ReadUIntPtr(address)
        if next_address == address: return 0
        address = next_address
      return slot
function_tokens: def TryInferFramePointer ( self , slot , address ) : for i in range ( 0 , 4 ) : if not self . reader . IsExceptionStackAddress ( address ) : return 0 next_address = self . reader . ReadUIntPtr ( address ) if next_address == address : return 0 address = next_address return slot