src/file_abr.c: stricter frama-c annotation
This commit is contained in:
parent
b396d3af19
commit
fa50d166ec
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ static data_check_t data_check_abr(const unsigned char *buffer, const unsigned i
|
|||
}
|
||||
|
||||
/*@
|
||||
@ requires buffer_size > 0;
|
||||
@ requires buffer_size >= 4 + sizeof(struct abr_header) ;
|
||||
@ requires \valid_read(buffer+(0..buffer_size-1));
|
||||
@ requires valid_file_recovery(file_recovery);
|
||||
@ requires \valid(file_recovery_new);
|
||||
|
|
Loading…
Reference in a new issue