arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.05675cs.SE
收藏

嵌入式系统代码中指针分析技术与模式的关联有效性

Correlating Effectiveness of Pointer Analysis Techniques with Patterns in Embedded System Code

Komal Pathade

摘要:

指针分析将程序中的指针映射到它们所指向的内存位置。在这项工作中,我们研究了三种口味的指针分析,即流敏感,流不敏感,上下文敏感的分析在行业中使用的七个嵌入式代码集的有效性。我们比较精度增益,在这些设置中的每一个中由指针指向的伪存储器位置的数量的减少。我们发现,在90%的情况下,指针信息在所有三种设置中是相同的。在其他情况下,上下文敏感分析比流量敏感分析精确2.6%,平均比流量不敏感分析精确6.8%。我们将精度增益与嵌入式系统中的编码模式相关联,我们认为这是第一次此类活动。

英文摘要:

A pointer analysis maps the pointers in a program to the memory locations they point to. In this work, we study the effectiveness of the three flavors of pointer analysis namely flow sensitive, flow insensitive, and context sensitive analysis on seven embedded code sets used in the industry. We compare precision gain i.e., the reduction in the number of spurious memory locations pointed by a pointer in each of these settings. We found that in 90% of cases the pointer information was same in all three settings. In other cases, context sensitive analysis was 2.6% more precise than flow sensitive analysis which was 6.8% more precise than flow insensitive analysis on average. We correlate precision gain with coding patterns in the embedded systems-which we believe to be first of its kind activity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑