Project

General

Profile

Actions

Feature #10488

closed

Develop models for devm memory allocating functions

Added by Evgeny Novikov over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Urgent
Category:
Environment models
Target version:
Start date:
09/03/2020
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

At the moment there just models for devm_kzalloc and devm_iio_device_alloc used for checking memory safety. Those models are not accurate since allocated memory is not tracked by CPAchecker SMG.

I suggest to develop accurate models that will cause a verifier to track the memory. In addition, they will store pointers to allocated memory within a global list, but just for memory safety checking since lists are too complicated for reachability checking.

Actions

Also available in: Atom PDF