getPointedBy method
Gets all variables that may point to a specific heap object.
Implementation
Set<int> getPointedBy(String heapId) {
final results = _engine.query('VarPointsTo');
return results
.where((tuple) => tuple[1] == heapId)
.map((tuple) => tuple[0] as int)
.toSet();
}