Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Casting to a generic function pointer


  • Subject: [Frama-c-discuss] Casting to a generic function pointer
  • From: divya84 at gmail.com (Divya Muthukumaran)
  • Date: Tue, 3 Jul 2018 12:48:22 +0100

Hello,

I am trying to analyse nginx source code with Frama-C, and I want to run
Impact analysis on the preprocessed files. I ran into an issue where a
function declaration accepts a generic void (*) (void)
function pointer but the call to that function passes it something with a
different signature. Frama-c gives me this complaint.

[kernel] src/event/ngx_event_openssl_stapling.c:185: Failure:

  conversion between function types with different number of arguments:

  int (*)(SSL *ssl_conn, void *data)

  and

  void (*)(void)

Any ideas how how I can get past this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20180703/27029c56/attachment.html>