Project

General

Profile

Actions

Feature #1902

open

Function pointer inequality support for calls by function pointers

Added by Pavel Shved about 13 years ago. Updated almost 13 years ago.

Status:
Open
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/14/2011
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Function pointers that may be distpatched to several functions can't be verified correctly even in -fp mode because of the pointer inequality problem. See bug #327 and the test source:tests/files/callfpointer_distpatch.c.

While the generic pointer inequality would definitely be a solution here, we should note that:

  • even if pointer inequality is implemented, it may be incomplete and not work for functions;
  • function pointer calls are usually distpatched to small amount of functions, so it may be OK to go for an assumption of O(n²) inequalities prior to the GuardedFunctionCall.

Related issues 2 (1 open1 closed)

Related to BLAST - Feature #1886: Function pointer calls if there's only one potential function to call is requiredClosedPavel Shved10/08/2011

Actions
Related to BLAST - Feature #327: Reasoning about pointer inequalities is necessary for analysisOpen08/03/2010

Actions
Actions

Also available in: Atom PDF