Patent · US Active

Device and method for automatically repairing memory deallocation errors

US10922209B2 · kind B2 · utility

0Cited by
3References
10Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMay 23, 2019
Grant dateFeb 16, 2021
Priority date
Expiry dateMay 23, 2039

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3608
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A device for automatically repairing memory deallocation errors is disclosed. The device includes: a static analysis unit configured to generate status information for each one of the objects included in the source code of a program by way of a static analysis of the source code, where the status information includes position information, pointer information, and patch information, the position information associated with allocation sites of the objects, the pointer information associated with pointers pointing to the objects, the patch information associated with deallocation statements capable of deallocating the objects; a decision unit configured to choose patch candidates from the patch information and decide on a combination of the patch candidates capable of deallocating each of the objects only once; and a repair unit configured to repair the source code according to the combination of patch candidates.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.