python将c语言程序转变为抽象语法树(ast)
python使用pycparser库将c语言程序转变为抽象语法树(ast)pycparser库github地址:https://github.com/eliben/pycparser封装方法from __future__ import print_functionfrom pycparser.c_ast import *from util.remove_zs import rm_emptyline, rm_includeline, rmCommentsInCFilesys.path.ex