代码拉取完成,页面将自动刷新
This is a small project to do some checking on c codes,mainly using clang's libclang and ASTMatcher to do the task. It runs on Ubuntu 12.04. --------------------------Setting--------------------------------------------------- first, you should set the path of llvm's lib in the 'makefile' then, set the path for clang to search for headers in 'config.ini' just make it copy your test folder in CopyHeaderFile sh fileBash.sh <test folder name> <test.c> cd CopyHeadFile/<test folder name> make run your application like 'sh run.sh' ./matchCheck you will get 'checkLog1.txt' and 'checkLog2.txt' containing the result --------------------------Example--------------------------------------------------- when you are in the directory of 'clangCheckingTool' cp -r otherTest CopyHeadFile/otherTest sh fileBash.sh otherTest otherTest.c cd CopyHeadFile/otherTest make sh runme.sh
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型