Proceedings of the XXth Conference of Open Innovations Association FRUCT (Apr 2017)

Localising unsafe software resource usage with typed code model

  • Lavrentii Tsvetkov,
  • Anton Spivak

DOI
https://doi.org/10.23919/FRUCT.2017.8071349
Journal volume & issue
Vol. 776, no. 20
pp. 466 – 471

Abstract

Read online

The article presents a method for quality assurance on resource leakage by defect search automation using developed model of program code. Resources requested by the program are identified and assigned extended types storing state markers. Detection occurs by assignment of this markers to elements of code model according to resource management functions, evidencing resource availability. Further analysis is taken place by propagation of the markers according to the rules of a model. Rules are structured a in way that prevents unsafe use of resource handles. Inability to apply specific rule at analysis stage signifies that resource is used in unsafe way, creating potential security flaw in a program.

Keywords