'Get rid of fake returns (i.e., Ijk_FakeRet edges) from this CFG
:return: None'

def remove_fakerets(self):

    fakeret_edges = [(src, dst) for (src, dst, data) in self.graph.edges_iter(data=True) if (data['jumpkind'] == 'Ijk_FakeRet')]
    self.graph.remove_edges_from(fakeret_edges)
