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] Valid physical address
- Subject: [Frama-c-discuss] Valid physical address
- From: jean-marc.harang at c-s.fr (Jean-Marc Harang)
- Date: Fri, 04 May 2012 09:56:09 +0200
- In-reply-to: <4FA38A43.5080809@free.fr>
- References: <4FA38A43.5080809@free.fr>
Le 04/05/2012 09:50, Anne Pacalet a ?crit : > Hello, > > I am trying to use frama-c value analysis on an application > that reads the memory using some physical addresses. > Something like : > > unsigned char * p = 0xABCD; > if (*(p + 10) == 1) { > ... > } > > Of course, the value analysis emit an alarm : assert \valid(p+10); > Status: **NOT** VALID according to value analysis (under hypotheses) > > hi Anne Perhaps try to use this option : -absolute-valid-range 0xABCD-0xB000 with the correct range ;) -- jean-marc Harang
- Follow-Ups:
- [Frama-c-discuss] Valid physical address
- From: anne.pacalet at free.fr (Anne Pacalet)
- [Frama-c-discuss] Valid physical address
- References:
- [Frama-c-discuss] Valid physical address
- From: anne.pacalet at free.fr (Anne Pacalet)
- [Frama-c-discuss] Valid physical address
- Prev by Date: [Frama-c-discuss] Valid physical address
- Next by Date: [Frama-c-discuss] Valid physical address
- Previous by thread: [Frama-c-discuss] Valid physical address
- Next by thread: [Frama-c-discuss] Valid physical address
- Index(es):