1 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2 <link rel="stylesheet" href="style.css" type="text/css"/>
3 <script src="code.js" type="text/javascript"></script>
5 <h1>qemu range_size() counterexample</h1>
8 /* Get the size of range. */
9 static inline uint64_t range_size(const Range *range)
11 return range->upb - range->lob + 1;
15 ┌─────────────────────────────────────────────────┐
16 │░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
17 └─────────────────────────────────────────────────┘
18 range->lob == 0 range->upb == UINT64_MAX