您的位置:首页 > 移动开发 > IOS开发

Android / iOS 静态代码扫描工具调研

2017-07-04 16:30 2991 查看


Android / iOS 静态代码扫描工具调研

已有( 20)人阅读 已有 0人评论  加入收藏 作者: MarcusMa 分享

Android 篇

名称来源功能特点检查SQL 注入检查 NullPointException支持IDE情况
Android LintAndroid SDK针对Android,检查范围广Eclipse、Android Studio
FindBugs国外针对Java程序,失去对Android特性的检查Eclipse、Android Studio
QA Plug国外集合了FindBugs、CheckStyle和PMD的组件插件,失去对Android特性的检查Eclipse、Android Studio
360 火线奇虎360针对Android,依赖规则检查,可以看作是AndroidLint 的扩充Android Studio
godeyes百度针对Android/iOS,依赖规则检查,偏向于检查会引起Crash的内容Eclipse 、Android stuido
inferfacebook针对Android/iOS的检查工具未测试未测试全平台
kiuwankiuwan针对多种语言,有免费版本, 详见参考资料连接   

iOS 篇

名称来源功能特点检查SQL 注入检查 NullPointException支持IDE情况
Clang Static AnalyzerAppleXCode 自带工具未测试XCode
OCLintoclint.org建立在 Clang 上的工具未测试未测试XCode
inferFacebook针对Android/iOS的检查工具未测试未测试全平台
godeyes百度针对iOS,依赖规则检查,偏向于检查会引起Crash的内容Mac

参考资料

静态代码分析知识库
https://www.owasp.org/index.php/Static_Code_Analysis https://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis
FindBugs 
http://findbugs.sourceforge.net/) https://androidbycode.wordpress.com/2015/02/13/static-code-analysis-automation-using-findbugs-android-studio/
pmd
https://pmd.github.io/
checkstyle
https://github.com/checkstyle/checkstyle
kiuman
https://www.kiuwan.com/free/
360 火线
http://magic.360.cn/index.html
Godeyes
http://godeyes.duapp.com/
OCLint 
http://oclint.org/ http://docs.oclint.org/en/stable/ http://www.cnblogs.com/itech/p/5238065.html 
infer
https://github.com/facebook/infer http://fbinfer.com http://blog.csdn.net/elisa1988/article/details/46531745
Clang Static Analyzer
https://developer.apple.com/legacy/library/featuredarticles/StaticAnalysis/FeaturedArticle.html
其他
http://www.jianshu.com/p/b81a9f5bcf34
转摘   http://yiweifen.com/html/news/WaiYu/116044.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: