src/adv.c: add Frama-C annotation for interface_adv()

This commit is contained in:
Christophe Grenier 2023-10-08 13:57:07 +02:00
parent 28e29554f7
commit b05dfc200b

View file

@ -460,6 +460,7 @@ void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const
assert(current_cmd!=NULL); assert(current_cmd!=NULL);
log_info("\nInterface Advanced\n"); log_info("\nInterface Advanced\n");
list_part=disk_car->arch->read_part(disk_car,verbose,0); list_part=disk_car->arch->read_part(disk_car,verbose,0);
/*@ assert valid_list_part(list_part); */
current_element=list_part; current_element=list_part;
log_all_partitions(disk_car, list_part); log_all_partitions(disk_car, list_part);
while(1) while(1)