@@ -20,8 +20,8 @@ make -C src CXX='ccache /usr/bin/g++' cbmc.dir goto-cc.dir goto-diff.dir -j$(npr
20
20
# Get one-line-scan, if we do not have it already
21
21
[ -d one-line-scan ] || git clone https://github.com/awslabs/one-line-scan.git one-line-scan
22
22
23
- # Get Linux v5.10 , if we do not have it already
24
- [ -d linux_5_10 ] || git clone -b v5.10 --depth=1 https://github.com/torvalds/linux/ linux_5_10
23
+ # Get Linux v5.17 , if we do not have it already
24
+ [ -d linux_5_17 ] || git clone -b v5.17 --depth=1 https://github.com/torvalds/linux/ linux_5_17
25
25
26
26
# Prepare compile a part of the kernel with CBMC via one-line-scan
27
27
ln -s goto-cc src/goto-cc/goto-ld
@@ -31,7 +31,7 @@ ln -s goto-cc src/goto-cc/goto-g++
31
31
32
32
configure_linux ()
33
33
{
34
- pushd linux_5_10
34
+ pushd linux_5_17
35
35
36
36
cat > kvm-config << EOF
37
37
CONFIG_64BIT=y
57
57
58
58
# Configure kernel, and compile all of it
59
59
configure_linux
60
- make -C linux_5_10 bzImage -j $( nproc)
60
+ make -C linux_5_17 bzImage -j $( nproc)
61
61
62
62
# Clean files we want to be able to re-compile
63
- find linux_5_10 /arch/x86/kvm/ -name " *.o" -delete
63
+ find linux_5_17 /arch/x86/kvm/ -name " *.o" -delete
64
64
65
65
# Compile Linux with CBMC via one-line-scan, and check for goto-cc section
66
66
# Re-Compile with goto-cc, and measure disk space
@@ -73,14 +73,14 @@ one-line-scan/one-line-scan \
73
73
--trunc-existing \
74
74
--extra-cflags -Wno-error \
75
75
-o CPROVER -j 5 -- \
76
- make -C linux_5_10 bzImage -j $( nproc) || STATUS=$?
76
+ make -C linux_5_17 bzImage -j $( nproc) || STATUS=$?
77
77
du -h --max-depth=1
78
78
79
79
# Check for faulty input
80
80
ls CPROVER/faultyInput/* || true
81
81
82
82
# Check for produced output in the files we deleted above
83
- objdump -h linux_5_10 /arch/x86/kvm/x86.o | grep " goto-cc" || STATUS=$?
83
+ objdump -h linux_5_17 /arch/x86/kvm/x86.o | grep " goto-cc" || STATUS=$?
84
84
85
85
# Propagate failures
86
86
exit " $STATUS "
0 commit comments