Project

General

Profile

Actions

Feature #1886

closed

Function pointer calls if there's only one potential function to call is required

Added by Pavel Shved over 12 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Published in build:

Description

BLAST had some support for function pointer calls, and it may be turned on with -fp option. However, it didn't work.

I turned it back on, and fixed post- and precondition for such pointer function calls. However, I stumbled into two issues:

  1. Handling of Return-s from called-by-pointer functions is buggy. It prints an exception.
  2. Function pointers that may be distpatched to several functions can't be verified correctly because pointer inequality problem. See bug #327 and the test source:tests/files/callfpointer_distpatch.c

I think, at least the first issue should be fixed prior to the competition.


Related issues 1 (1 open0 closed)

Related to BLAST - Feature #1902: Function pointer inequality support for calls by function pointers OpenPavel Shved10/14/2011

Actions
Actions

Also available in: Atom PDF