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] how to set option "-slevel" or "-context-width" by using API function[Not set in command line]
- Subject: [Frama-c-discuss] how to set option "-slevel" or "-context-width" by using API function[Not set in command line]
- From: richard.bonichon at gmail.com (Richard Bonichon)
- Date: Sat, 3 Nov 2012 17:19:16 +0100
- In-reply-to: <005a01cdb9d6$246cea70$6d46bf50$@gmail.com>
- References: <005a01cdb9d6$246cea70$6d46bf50$@gmail.com>
Attached to this reply is an example of small plugin that sets the slevel option to 32 and runs value analysis. This uses what Anne explained. On Sat, Nov 3, 2012 at 4:15 PM, Ben <abiao.yang at gmail.com> wrote: > Dear Anne,**** > > ** ** > > Thank you for timely replying me.**** > > I tried that function you provide.**** > > ** ** > > **1. ** I use the that code to set option ?-context-width?:**** > > Dynamic.Parameter.Int.set ?-context-width? 5; **** > > ** ** > > **2. ** I print out that option:**** > > let cwidth = Parameter.get "-context-width" in**** > > let cw_str = Parameter.get_value cwidth in**** > > Format.printf " %s " cw_str;**** > > ** ** > > It seems that option did not changed either.**** > > ** ** > > If possible, I hope you can help me on Monday.**** > > Thank you in advance.**** > > ** ** > > Ben**** > > 2012-11-03**** > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss > -- Richard Bonichon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121103/b09bc3b9/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: myplugin.tgz Type: application/x-gzip Size: 722 bytes Desc: not available URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121103/b09bc3b9/attachment-0001.bin>
- References:
- [Frama-c-discuss] how to set option "-slevel" or "-context-width" by using API function[Not set in command line]
- From: abiao.yang at gmail.com (Ben)
- [Frama-c-discuss] how to set option "-slevel" or "-context-width" by using API function[Not set in command line]
- Prev by Date: [Frama-c-discuss] how to set option "-slevel" or "-context-width" by using API function[Not set in command line]
- Next by Date: [Frama-c-discuss] how to set option "-slevel" or
- Previous by thread: [Frama-c-discuss] how to set option "-slevel" or "-context-width" by using API function[Not set in command line]
- Next by thread: [Frama-c-discuss] how to set option "-slevel" or
- Index(es):