[Imprint][Data Privacy Statement][E-Mail]

View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Theorem read-vidhdr

ubi_io_read_vidhdr#(PNUM, PAGESIZE, PEBS; AVHDR; BITFLIPS, ERR) {if PNUM < # PEBS ∧ ¬ PEBS[PNUM].bad then let BUF = mkbuf(PAGESIZE) in {ubi_io_read#(PNUM, PAGESIZE, 0, PAGESIZE, PEBS; BUF; BITFLIPS, ERR); if ERR = ESUCCESS then if isempty(BUF) then AVHDR := empty else let VHDR = ? in {decode_vidheader#(PAGESIZE, BUF; VHDR; ERR); if ERR = ESUCCESS then AVHDR := avidhdr(VHDR.vol, VHDR.leb, VHDR.sqn, VHDR.size, VHDR.checksum)}} else abort }