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

SBT-instrumentation:一种可配置的LLVM位码插装工具

SBT-instrumentation: A Tool for Configurable Instrumentation of LLVM Bitcode

Martina Vitovská, Marek Chalupa, Jan Strejček

摘要:

本文描述了Symbiotic工具箱的一个成员,称为sbt-instrumentation,这是一个用于LLVM位代码的可配置插装工具。该工具使用户能够指定指令的模式,并定义函数,这些函数的调用将被插入到与模式匹配的指令之前或之后。此外,该工具还提供了额外的功能。首先,仪器可以被划分为多个阶段,以便将在较早阶段中获取的信息传递到较晚阶段。第二,它可以通过将其作为插件连接来利用某些外部静态分析的结果。sbt-instrumentation工具是Symbiotic的一部分,负责插入内存安全检查。然而,它的可配置性为将其用于许多不同的目的开辟了道路。

英文摘要:

The paper describes a member of the Symbiotic toolbox called sbt-instrumentation, which is a tool for configurable instrumentation of LLVM bitcode. The tool enables a user to specify patterns of instructions and to define functions whose calls will be inserted before or after instructions that match the patterns. Moreover, the tool offers additional functionality. First, the instrumentation can be divided into phases in order to pass information acquired in an earlier phase to the later phases. Second, it can utilize results of some external static analysis by connecting it as a plugin. The sbt-instrumentation tool has been developed as the part of Symbiotic responsible for inserting memory safety checks. However, its configurability opens the way to use it for many various purposes.

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

↑