--- layout: fc_discuss_archives title: Message 3 from Frama-C-discuss on July 2018 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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>