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] frama-c -lib-entry not working anymore?
- Subject: [Frama-c-discuss] frama-c -lib-entry not working anymore?
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- Date: Tue Oct 7 18:25:17 2008
- In-reply-to: <14791e30810070903n6820d031he464f8f16b4fd574@mail.gmail.com>
- References: <14791e30810070903n6820d031he464f8f16b4fd574@mail.gmail.com>
Le mar 07 oct 2008 18:03:54 CEST, "Yannick Moy" <yannick.moy@gmail.com> a ?crit : > Hello, > > The following command > frama-c -lib-entry -val file.c > on an incomplete program returns with the message > Could not find entry point: main > Is it something expected? > Yes. -val performs a global analysis starting from a given function as an entry point. -lib-entry only specifies that your entry point is to be understood as a library function (i.e. that the global environment can be more or less anything instead of 0-initialized variables). It does not change the name of the entry point which is by default main. Use -main f to set the entry point of the analysis to f (thus the command should be the following, as already pointed out by David: frama-c -lib-entry -main f -val file.c) Best regards, -- E tutto per oggi, a la prossima volta. Virgile
- References:
- [Frama-c-discuss] frama-c -lib-entry not working anymore?
- From: yannick.moy at gmail.com (Yannick Moy)
- [Frama-c-discuss] frama-c -lib-entry not working anymore?
- Prev by Date: [Frama-c-discuss] frama-c -lib-entry not working anymore?
- Next by Date: [Frama-c-discuss] Compiling the gui with gtkSourceView 2.0
- Previous by thread: [Frama-c-discuss] frama-c -lib-entry not working anymore?
- Next by thread: [Frama-c-discuss] Any thought on C++ support also?
- Index(es):