kirancodes.me
To Proof Maintenance & Beyond!

Mining Resource-Operation Knowledge to Support Resource Leak Detection

Chong Wang, Yiling Lou, Xin Peng, Jianan Liu, Baihan Zou

Abstract

Resource leaks, which are caused by acquired resources not being released, often result in performance degradation and system crashes. Resource leak detection relies on two essential components: identifying potential Resource Acquisition and Release (RAR) API pairs, and subsequently analyze code to uncover instances where the corresponding release API call is absent after an acquisition API call. Yet, existing techniques confine themselves to an incomplete pair pool, either pre-defined manually or mined from project-specific code corpus, thus limiting coverage across libraries/APIs and po- tentially overlooking latent resource leaks.

BibTeX
@inproceedings{Wang-al:FSE23,
  author    = {Chong Wang and
               Yiling Lou and
               Xin Peng and
               Jianan Liu and
               Baihan Zou},
  title     = {Mining {Resource-Operation} Knowledge to Support Resource Leak Detection},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {986--998},
  publisher = {{ACM}},
  year      = {2023},
}

Related papers