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 Add Rules



This was just sort of example. I have right now 100+ rules.
Like: Each "case" of a "switch" statement shall have "break" at the end of
"case" and many more.
So I just want to know how to begin.

Thanking you

Regards,
Gaurav

On Tue, Jun 2, 2015 at 5:04 PM, David MENTRE <dmentre at linux-france.org>
wrote:

> Hello,
>
> Le 02/06/2015 12:59, Gaurav Tripathi a écrit :
>
>> I am very new to Frama-C. I have come up with my rules which I want to
>> add in frama-c for my purpose.
>>
>> For example: No space shall be give between condition or loop(e.g. if,
>> switch, for)  and "("
>>
>
> I doubt Frama-C is the right tool for such purpose. You should look for
> "pretty printers" for C code.
>
> Best regards,
> david
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20150602/fbbbbe2d/attachment.html>