谷歌Chrome浏览器插件
订阅小程序
在清言上使用

Bridging the gap between source code and high-level concepts in static code analysis

Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing(2022)

引用 1|浏览1
暂无评分
摘要
Static code analysis has proven beneficial for many domains, including security assessment, error detection, and more. As systems have grown more reliant on conceptual components without a one-to-one mapping in the source code, however, traditional static code analysis tools have become less ideal for the task. This is greatly because current static code analysis libraries focus on individual code constructs, forcing the library's user to manually combine these into high-level components before performing any meaningful analysis. To bridge this gap, we put forth a novel approach for extracting components from programs using sets of parsers called Relative Static Structure Analyzers (ReSSA). This approach builds a grammar to match structures within an abstract syntax tree, abstracting away the boilerplate of manually traversing, matching, and extracting data. This empowers the user to focus on the structure of components in their chosen language and framework, and their final output. Our approach holds potential to greatly simplify static code analysis, allowing for fast and accurate identification of important components without needing to utilize arcane parsing libraries.
更多
查看译文
关键词
source code,static,concepts,high-level
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要