Project

General

Profile

Actions

Feature #7481

open

Try to use memory allocating function models by default

Added by Evgeny Novikov almost 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
High
Category:
Requirement specifications
Target version:
-
Start date:
08/17/2016
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

After EMG and CPAchecker became very accurate regarding tracking memory (#7465 and #7454) we need to model as much memory allocating functions as possible. Good news is that the most of them already have models since we have the rule specification for checking common memory leaks. Unfortunately some such functions haven't models. For instance, spi_alloc_master() is such the function. Due to this we lose one target bug (c822fb57ba12~/drivers/spi/spi-pxa2xx-platform.ko/linux:clk1).


Related issues 2 (1 open1 closed)

Related to Klever - Feature #7516: Try to generate models for allocation functions automaticallyNew08/19/2016

Actions
Related to Klever - Bug #7670: Instrumentation of memory allocation functions from driver code should correctly pass size of memoryClosedAnton Vasilyev11/01/2016

Actions
Actions

Also available in: Atom PDF