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] Why does a string literal not satisfy valid_read_string?
- Subject: [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- From: rod at proteancode.com (Roderick Chapman)
- Date: Mon, 22 Jul 2019 15:12:21 +0100
- In-reply-to: <8af05f42-279f-d08b-dc08-9d35c44f7bb4@proteancode.com>
- References: <ddaabc8a-e9b9-3d2d-c73c-7bc89ef672e2@proteancode.com> <7b1af00b-e12a-d3f0-4479-1af11273f0a8@proteancode.com> <8af05f42-279f-d08b-dc08-9d35c44f7bb4@proteancode.com>
I have also just tried (having RTFM) the -wp-literals options and this seems to have no affect. Can anyone explain what I am doing wrong please?  Thanks,  Rod On 22/07/2019 11:04, Roderick Chapman wrote: > On 18/07/2019 09:00, Roderick Chapman wrote: >>  I possibly silly question. The the code below - I get an unproved VC >> for the precondition of the call to "d2". So.. why is a string >> literal not considered to satisfy "valid_read_string"?? I am using >> Frama-C 19... > > With a bit more experimenting, I find that a string literal satisifies > "valid_read" but not "valid_read_string". Can anyone please explain this? > >  Thanks, > >  Rod > > > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > https://lists.gforge.inria.fr/mailman/listinfo/frama-c-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20190722/2f54c133/attachment-0001.html>
- Follow-Ups:
- [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- References:
- [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- From: rod at proteancode.com (Roderick Chapman)
- [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- From: rod at proteancode.com (Roderick Chapman)
- [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- Prev by Date: [Frama-c-discuss] problem with frama-c to Coq inductive type definition
- Next by Date: [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- Previous by thread: [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- Next by thread: [Frama-c-discuss] Why does a string literal not satisfy valid_read_string?
- Index(es):