Closed Alan-Jowett closed 4 months ago
Test to check behavior of dependent reads.
1) Check that packet size is > 4 bytes. 2) If true, set flag. 3) If flag is set, access packet.
alanjo@alanjo-dev2:~/ebpf-verifier$ sudo ./check ebpf-samples/build/dependent_read.o --dom linux 1,0.000427,4996 alanjo@alanjo-dev2:~/ebpf-verifier$ sudo ./check ebpf-samples/build/dependent_read.o 0,0.008814,5024
Verification of this sample passes on Linux verifier, but fails with prevail.
Need to account for different packet layout on Linux vs Windows.
Working on getting a version that passes Linux verifier, but fails prevail.
Test to check behavior of dependent reads.
1) Check that packet size is > 4 bytes. 2) If true, set flag. 3) If flag is set, access packet.
Verification of this sample passes on Linux verifier, but fails with prevail.