(self, slot, address)
return slot
Assume we have a framepointer if we find 4 consecutive links
Assume we have a framepointer if we find 4 consecutive links
Assume we have a framepointer if we find 4 consecutive links
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
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