Моделирование и анализ информационных систем (Dec 2011)

LLVM-based Static Analysis Tool Using Type and Effect Systems

  • M. A. Belyaev,
  • V. A. Tsesko

Journal volume & issue
Vol. 18, no. 4
pp. 45 – 55

Abstract

Read online

The intention of this paper is to describe a static analysis tool under development. The principal idea behind the design of this tool is to use type and effect systems for static analysis of real programs. The tool uses LLVM bitcode files as input, thus extending the set of analyzed languages to those supported by LLVM compiler infrastructure. It uses its own parser of bitcode files and a program model similar to that of LLVM. The approach taken is to research feasibility of designing instruments for static analysis by applying known type and effect system based algorithms for detecting defects to LLVM bitcode language and effectively to the original source code.

Keywords