src/file_dv.c: additional frama-c annotation
This commit is contained in:
parent
bf0d880332
commit
58d43507e5
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ static void file_check_dv_PAL(file_recovery_t *fr)
|
|||
@ requires \valid(file_recovery_new);
|
||||
@ requires file_recovery_new->blocksize > 0;
|
||||
@ requires separation: \separated(&file_hint_dv, buffer+(..), file_recovery, file_recovery_new);
|
||||
@ ensures \result == 0 || \result == 1;
|
||||
@ ensures \result!=0 ==> valid_file_recovery(file_recovery_new);
|
||||
@*/
|
||||
static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
|
||||
|
|
Loading…
Reference in a new issue