在C#或一般的.NetÇ分析器 [英] C Parser in C# or generally .Net

查看:106
本文介绍了在C#或一般的.NetÇ分析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关我的毕业论文我需要实现一定的静态C code分析,我拼命地寻找一个框架/库,让我来解析C ++源$ C ​​$ C,其分解成单一的功能,每一个功能确定的函数体改变哪些变量,并推导出自动code一定的注解。
有没有写在C#或通常作为.NET类用于此目的?

For my diploma thesis I need to implement certain static C code analysis and I am desperately looking for a framework/library that would allow me to parse C source code, split it up into single functions, for every function determine what variables are changed in the function body and derive certain annotations for the code automatically. Is there any good framework written in C# or generally as .Net class for this purpose?

推荐答案

什么是写在C·C分析器google搜索?

What about googling for "C Parser written in C#"?

我这是第一个链接: HTTP://$c$c.google.com/p / CPP-开膛手/

另外,我觉得的C语法可以在相当多的地方找到,所以你可能只是想打开你的的lex / yacc的的NET变种,并从那里走?

Also, I think the C grammar can be found in quite a lot of places, so you might just want to open up your .NET variant of lex/yacc and go from there?

这篇关于在C#或一般的.NetÇ分析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆