Skip to content

Commit ef7039a

Browse files
committed
Add test 98-bitwise-operations/07-bitfield63-interval
1 parent 11b2bd5 commit ef7039a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// PARAM: --enable ana.int.interval
2+
#include <stdint.h>
3+
4+
// NOCRASH: global initializer for 63-bit bitfield used to crash with Z.Overflow in interval domain
5+
// From: sv-benchmarks/c/intel-tdx-module/tdg_vp_vmcall__requirement__invalid_input_bitmap_havoc_memory.i
6+
struct
7+
{
8+
uint64_t notify_ept_faults : 1;
9+
uint64_t reserved_63_1 : 63;
10+
} g;
11+
12+
int main() {
13+
return 0;
14+
}

0 commit comments

Comments
 (0)