def __init__(self, _parser, _lst_obj_ast):
self._parser = _parser
self._lst_obj_ast = _lst_obj_ast
self._name = os.path.split(_parser.working_path)[1]
self.file_path = os.path.join(_parser.graph_path, self._name + ".dot")
self._cfg_name = "CFG " + self._name
self.g = pgv.AGraph(name=self._cfg_name, directed=True)
评论列表
文章目录