Diff of the two buildlogs: -- --- b1/build.log 2024-07-08 06:55:47.954665708 +0000 +++ b2/build.log 2024-07-08 06:58:48.091011087 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jul 7 18:53:56 -12 2024 -I: pbuilder-time-stamp: 1720421636 +I: Current time: Mon Jul 8 20:55:57 +14 2024 +I: pbuilder-time-stamp: 1720421757 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying auto-gitignore I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/463/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 8 06:56 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='b71b5e38f4db41bbadd9a1198304db81' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='463' - PS1='# ' - PS2='> ' + INVOCATION_ID=e03aaa24a68f4b3aa81faabf8e95f222 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=7190 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.AibWVGj7/pbuilderrc_fW2W --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AibWVGj7/b1 --logfile b1/build.log golang-github-cloudflare-cbpfc_0.0~git20231012.992ed75-2.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.AibWVGj7/pbuilderrc_hxWe --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AibWVGj7/b2 --logfile b2/build.log golang-github-cloudflare-cbpfc_0.0~git20231012.992ed75-2.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64z 6.1.0-22-arm64 #1 SMP Debian 6.1.94-1 (2024-06-21) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-22-armmp-lpae #1 SMP Debian 6.1.94-1 (2024-06-21) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/463/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -178,7 +210,7 @@ Get: 53 http://deb.debian.org/debian unstable/main armhf golang-golang-x-text-dev all 0.15.0-1 [4006 kB] Get: 54 http://deb.debian.org/debian unstable/main armhf golang-golang-x-crypto-dev all 1:0.23.0-1 [1689 kB] Get: 55 http://deb.debian.org/debian unstable/main armhf golang-golang-x-net-dev all 1:0.25.0+dfsg-1 [895 kB] -Fetched 113 MB in 5s (20.7 MB/s) +Fetched 113 MB in 3s (38.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19403 files and directories currently installed.) @@ -413,7 +445,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-cloudflare-cbpfc-0.0~git20231012.992ed75/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-cloudflare-cbpfc_0.0~git20231012.992ed75-2_source.changes +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-cloudflare-cbpfc-0.0~git20231012.992ed75/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-cloudflare-cbpfc_0.0~git20231012.992ed75-2_source.changes dpkg-buildpackage: info: source package golang-github-cloudflare-cbpfc dpkg-buildpackage: info: source version 0.0~git20231012.992ed75-2 dpkg-buildpackage: info: source distribution unstable @@ -431,19 +467,19 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/cloudflare/cbpfc github.com/cloudflare/cbpfc/clang -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/cloudflare/cbpfc github.com/cloudflare/cbpfc/clang +internal/coverage/rtcov internal/goarch internal/cpu -internal/coverage/rtcov +internal/godebugs +internal/unsafeheader internal/abi internal/chacha8rand -internal/bytealg -internal/godebugs internal/goexperiment internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/itoa @@ -453,48 +489,48 @@ math sync/atomic unicode -runtime cmp slices crypto/internal/alias crypto/internal/boring/sig +runtime internal/reflectlite -sync crypto/subtle +sync internal/testlog internal/bisect +internal/godebug errors sort -internal/godebug -strconv io internal/oserror +strconv syscall internal/safefilepath path hash bytes +strings reflect crypto -strings regexp/syntax -internal/syscall/unix time +internal/syscall/unix internal/syscall/execenv regexp internal/fmtsort encoding/binary -internal/poll io/fs +internal/poll context crypto/cipher -os golang.org/x/sys/unix +os crypto/internal/boring crypto/sha1 +io/ioutil path/filepath fmt -io/ioutil os/exec encoding/hex github.com/pkg/errors @@ -510,12 +546,12 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-cloudflare-cbpfc-0.0~git20231012.992ed75' dh_auto_test -- --short - cd _build && go test -vet=off -v -p 3 --short github.com/cloudflare/cbpfc github.com/cloudflare/cbpfc/clang + cd _build && go test -vet=off -v -p 4 --short github.com/cloudflare/cbpfc github.com/cloudflare/cbpfc/clang ? github.com/cloudflare/cbpfc/clang [no test files] === RUN TestFunctionName --- PASS: TestFunctionName (0.00s) === RUN TestNoInline ---- SKIP: TestNoInline (0.11s) +--- SKIP: TestNoInline (0.17s) === RUN TestZero --- PASS: TestZero (0.00s) === RUN TestRaw @@ -612,8 +648,8 @@ return: 20: Exit === RUN TestRewriteLargePacketOffsetsDeadBlock/kernel ---- PASS: TestRewriteLargePacketOffsetsDeadBlock (0.14s) - --- SKIP: TestRewriteLargePacketOffsetsDeadBlock/C (0.09s) +--- PASS: TestRewriteLargePacketOffsetsDeadBlock (0.18s) + --- SKIP: TestRewriteLargePacketOffsetsDeadBlock/C (0.12s) --- SKIP: TestRewriteLargePacketOffsetsDeadBlock/eBPF (0.00s) --- PASS: TestRewriteLargePacketOffsetsDeadBlock/kernel (0.05s) === RUN TestAbsoluteGuardSize @@ -930,29 +966,29 @@ return: 22: Exit === RUN TestLoadIndirectBigOffset/kernel#07 ---- PASS: TestLoadIndirectBigOffset (0.90s) - --- SKIP: TestLoadIndirectBigOffset/C (0.08s) +--- PASS: TestLoadIndirectBigOffset (1.20s) + --- SKIP: TestLoadIndirectBigOffset/C (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel (0.00s) - --- SKIP: TestLoadIndirectBigOffset/C#01 (0.08s) + --- SKIP: TestLoadIndirectBigOffset/C#01 (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF#01 (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel#01 (0.00s) - --- SKIP: TestLoadIndirectBigOffset/C#02 (0.07s) + --- SKIP: TestLoadIndirectBigOffset/C#02 (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF#02 (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel#02 (0.05s) - --- SKIP: TestLoadIndirectBigOffset/C#03 (0.07s) + --- SKIP: TestLoadIndirectBigOffset/C#03 (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF#03 (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel#03 (0.05s) - --- SKIP: TestLoadIndirectBigOffset/C#04 (0.08s) + --- SKIP: TestLoadIndirectBigOffset/C#04 (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF#04 (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel#04 (0.05s) - --- SKIP: TestLoadIndirectBigOffset/C#05 (0.07s) + --- SKIP: TestLoadIndirectBigOffset/C#05 (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF#05 (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel#05 (0.05s) - --- SKIP: TestLoadIndirectBigOffset/C#06 (0.07s) + --- SKIP: TestLoadIndirectBigOffset/C#06 (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF#06 (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel#06 (0.05s) - --- SKIP: TestLoadIndirectBigOffset/C#07 (0.07s) + --- SKIP: TestLoadIndirectBigOffset/C#07 (0.11s) --- SKIP: TestLoadIndirectBigOffset/eBPF#07 (0.00s) --- PASS: TestLoadIndirectBigOffset/kernel#07 (0.05s) === RUN TestLoadIndirectGuardOverflow @@ -997,8 +1033,8 @@ return: 32: Exit === RUN TestLoadIndirectGuardOverflow/kernel ---- PASS: TestLoadIndirectGuardOverflow (0.12s) - --- SKIP: TestLoadIndirectGuardOverflow/C (0.07s) +--- PASS: TestLoadIndirectGuardOverflow (0.16s) + --- SKIP: TestLoadIndirectGuardOverflow/C (0.11s) --- SKIP: TestLoadIndirectGuardOverflow/eBPF (0.00s) --- PASS: TestLoadIndirectGuardOverflow/kernel (0.05s) === RUN TestScratchZero @@ -1049,8 +1085,8 @@ return: 16: Exit === RUN TestALUDivNegative/kernel ---- PASS: TestALUDivNegative (0.07s) - --- SKIP: TestALUDivNegative/C (0.07s) +--- PASS: TestALUDivNegative (0.10s) + --- SKIP: TestALUDivNegative/C (0.10s) --- SKIP: TestALUDivNegative/eBPF (0.00s) --- PASS: TestALUDivNegative/kernel (0.00s) === RUN TestALUOr @@ -1095,18 +1131,288 @@ === PAUSE TestTXA === RUN TestTAX === PAUSE TestTAX -=== CONT TestRetConstant -=== RUN TestRetConstant/C === CONT TestZeroInitA === RUN TestZeroInitA/C +=== CONT TestALUShiftLeft +=== RUN TestALUShiftLeft/C +=== CONT TestScratchX +=== RUN TestScratchX/C +=== CONT TestALUMul +=== RUN TestALUMul/C +=== RUN TestScratchX/eBPF +=== RUN TestZeroInitA/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 0 + 3: Mov32Reg dst: r4 src: r4 + 4: JaImm dst: r0 off: -1 imm: 0 + result: + 5: MovImm dst: r0 imm: 2 + 6: JEqImm dst: r4 off: -1 imm: 0 + 7: MovImm dst: r0 imm: 1 + return: + 8: Exit +=== NAME TestScratchX/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r5 imm: -559038737 + 3: StXMemW dst: rfp src: r5 off: -32 imm: 0 + 4: Mov32Imm dst: r5 imm: 0 + 5: Mov32Imm dst: r5 imm: -1 + 6: StXMemW dst: rfp src: r5 off: -28 imm: 0 + 7: Mov32Imm dst: r5 imm: -1 + 8: StXMemW dst: rfp src: r5 off: -36 imm: 0 + 9: LdXMemW dst: r5 src: rfp off: -32 imm: 0 + 10: Mov32Reg dst: r4 src: r5 + 11: Mov32Imm dst: r6 imm: -559038737 + 12: JEqReg dst: r4 off: -1 src: r6 + filter_block_10: + 13: Mov32Imm dst: r4 imm: 0 + 14: JaImm dst: r0 off: -1 imm: 0 + filter_block_11: + 15: Mov32Imm dst: r4 imm: 1 + 16: JaImm dst: r0 off: -1 imm: 0 + result: + 17: MovImm dst: r0 imm: 2 + 18: JEqImm dst: r4 off: -1 imm: 0 + 19: MovImm dst: r0 imm: 1 + return: + 20: Exit +=== RUN TestScratchX/kernel +=== RUN TestZeroInitA/kernel +=== RUN TestALUMul/eBPF +=== RUN TestALUShiftLeft/eBPF +=== RUN TestScratchX/C#01 +=== NAME TestALUMul/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 0 + 3: Mul32Imm dst: r4 imm: 1 + 4: JEqImm dst: r4 off: -1 imm: 0 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== NAME TestALUShiftLeft/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: LSh32Imm dst: r4 imm: 0 + 4: JEqImm dst: r4 off: -1 imm: 1 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUShiftLeft/kernel +=== RUN TestALUMul/kernel +=== RUN TestALUShiftLeft/C#01 +=== RUN TestALUMul/C#01 +--- PASS: TestZeroInitA (0.17s) + --- SKIP: TestZeroInitA/C (0.11s) + --- SKIP: TestZeroInitA/eBPF (0.00s) + --- PASS: TestZeroInitA/kernel (0.05s) +=== CONT TestTAX +=== RUN TestTAX/C +=== RUN TestScratchX/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r5 imm: 0 + 3: StXMemW dst: rfp src: r5 off: -32 imm: 0 + 4: Mov32Imm dst: r5 imm: 0 + 5: Mov32Imm dst: r5 imm: -1 + 6: StXMemW dst: rfp src: r5 off: -28 imm: 0 + 7: Mov32Imm dst: r5 imm: -1 + 8: StXMemW dst: rfp src: r5 off: -36 imm: 0 + 9: LdXMemW dst: r5 src: rfp off: -32 imm: 0 + 10: Mov32Reg dst: r4 src: r5 + 11: JEqImm dst: r4 off: -1 imm: 0 + filter_block_10: + 12: Mov32Imm dst: r4 imm: 0 + 13: JaImm dst: r0 off: -1 imm: 0 + filter_block_11: + 14: Mov32Imm dst: r4 imm: 1 + 15: JaImm dst: r0 off: -1 imm: 0 + result: + 16: MovImm dst: r0 imm: 2 + 17: JEqImm dst: r4 off: -1 imm: 0 + 18: MovImm dst: r0 imm: 1 + return: + 19: Exit +=== RUN TestScratchX/kernel#01 +=== RUN TestALUShiftLeft/eBPF#01 +--- PASS: TestScratchX (0.23s) + --- SKIP: TestScratchX/C (0.11s) + --- SKIP: TestScratchX/eBPF (0.00s) + --- PASS: TestScratchX/kernel (0.00s) + --- SKIP: TestScratchX/C#01 (0.11s) + --- SKIP: TestScratchX/eBPF#01 (0.00s) + --- PASS: TestScratchX/kernel#01 (0.00s) +=== NAME TestALUShiftLeft/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: Mov32Imm dst: r5 imm: 0 + 4: LSh32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 1 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUShiftLeft/kernel#01 +=== RUN TestALUShiftLeft/C#02 +=== RUN TestALUMul/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 0 + 3: Mov32Imm dst: r5 imm: 1 + 4: Mul32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 0 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUMul/kernel#01 +=== RUN TestALUMul/C#02 +=== CONT TestTXA +=== RUN TestTXA/C +=== RUN TestTAX/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: Mov32Reg dst: r5 src: r4 + 4: Mov32Reg dst: r4 src: r5 + 5: Mov32Reg dst: r4 src: r4 + 6: JaImm dst: r0 off: -1 imm: 0 + result: + 7: MovImm dst: r0 imm: 2 + 8: JEqImm dst: r4 off: -1 imm: 0 + 9: MovImm dst: r0 imm: 1 + return: + 10: Exit +=== RUN TestTAX/kernel +--- PASS: TestTAX (0.12s) + --- SKIP: TestTAX/C (0.12s) + --- SKIP: TestTAX/eBPF (0.00s) + --- PASS: TestTAX/kernel (0.00s) +=== CONT TestRetConstant +=== RUN TestRetConstant/C +=== RUN TestALUShiftLeft/eBPF#02 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: LSh32Imm dst: r4 imm: 4 + 4: JEqImm dst: r4 off: -1 imm: 16 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUShiftLeft/kernel#02 +=== RUN TestALUShiftLeft/C#03 +=== RUN TestTXA/eBPF +=== RUN TestALUMul/eBPF#02 +=== NAME TestTXA/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r5 imm: 1 + 3: Mov32Reg dst: r4 src: r5 + 4: Mov32Reg dst: r4 src: r4 + 5: JaImm dst: r0 off: -1 imm: 0 + result: + 6: MovImm dst: r0 imm: 2 + 7: JEqImm dst: r4 off: -1 imm: 0 + 8: MovImm dst: r0 imm: 1 + return: + 9: Exit +=== RUN TestTXA/kernel +=== NAME TestALUMul/eBPF#02 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 4 + 3: Mul32Imm dst: r4 imm: 13 + 4: JEqImm dst: r4 off: -1 imm: 52 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUMul/kernel#02 +--- PASS: TestTXA (0.12s) + --- SKIP: TestTXA/C (0.12s) + --- SKIP: TestTXA/eBPF (0.00s) + --- PASS: TestTXA/kernel (0.00s) === CONT TestRetA === RUN TestRetA/C -=== CONT TestJumpIfBitsNotSet -=== RUN TestJumpIfBitsNotSet/C -=== RUN TestRetA/eBPF +=== RUN TestALUMul/C#03 === RUN TestRetConstant/eBPF -=== RUN TestZeroInitA/eBPF -=== NAME TestRetConstant/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1119,12 +1425,16 @@ 6: MovImm dst: r0 imm: 1 return: 7: Exit -=== NAME TestZeroInitA/eBPF +=== RUN TestRetConstant/kernel +=== RUN TestRetConstant/C#01 +=== RUN TestRetA/eBPF +=== RUN TestALUShiftLeft/eBPF#03 +=== NAME TestRetA/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 0 + 2: Mov32Imm dst: r4 imm: 1 3: Mov32Reg dst: r4 src: r4 4: JaImm dst: r0 off: -1 imm: 0 result: @@ -1133,62 +1443,74 @@ 7: MovImm dst: r0 imm: 1 return: 8: Exit -=== RUN TestRetConstant/kernel -=== RUN TestZeroInitA/kernel -=== NAME TestRetA/eBPF +=== RUN TestRetA/kernel +=== NAME TestALUShiftLeft/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Reg dst: r4 src: r4 - 4: JaImm dst: r0 off: -1 imm: 0 + 3: Mov32Imm dst: r5 imm: 4 + 4: LSh32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 16 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 result: - 5: MovImm dst: r0 imm: 2 - 6: JEqImm dst: r4 off: -1 imm: 0 - 7: MovImm dst: r0 imm: 1 + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 return: - 8: Exit -=== RUN TestRetA/kernel -=== RUN TestRetConstant/C#01 -=== RUN TestJumpIfBitsNotSet/eBPF ---- PASS: TestRetA (0.07s) - --- SKIP: TestRetA/C (0.07s) + 13: Exit +=== RUN TestALUShiftLeft/kernel#03 +--- PASS: TestRetA (0.12s) + --- SKIP: TestRetA/C (0.11s) --- SKIP: TestRetA/eBPF (0.00s) --- PASS: TestRetA/kernel (0.00s) +--- PASS: TestALUShiftLeft (0.48s) + --- SKIP: TestALUShiftLeft/C (0.12s) + --- SKIP: TestALUShiftLeft/eBPF (0.00s) + --- PASS: TestALUShiftLeft/kernel (0.00s) + --- SKIP: TestALUShiftLeft/C#01 (0.12s) + --- SKIP: TestALUShiftLeft/eBPF#01 (0.00s) + --- PASS: TestALUShiftLeft/kernel#01 (0.00s) + --- SKIP: TestALUShiftLeft/C#02 (0.12s) + --- SKIP: TestALUShiftLeft/eBPF#02 (0.00s) + --- PASS: TestALUShiftLeft/kernel#02 (0.00s) + --- SKIP: TestALUShiftLeft/C#03 (0.12s) + --- SKIP: TestALUShiftLeft/eBPF#03 (0.00s) + --- PASS: TestALUShiftLeft/kernel#03 (0.00s) === CONT TestJumpIfBitsSet === RUN TestJumpIfBitsSet/C -=== NAME TestJumpIfBitsNotSet/eBPF +=== CONT TestJumpIfBitsNotSet +=== RUN TestJumpIfBitsNotSet/C +=== RUN TestALUMul/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 6 - 3: JSetImm dst: r4 off: -1 imm: 4 - 4: JaImm dst: r0 off: -1 imm: 0 - filter_block_2: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r4 imm: 4 + 3: Mov32Imm dst: r5 imm: 13 + 4: Mul32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 52 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 return: - 12: Exit -=== RUN TestJumpIfBitsNotSet/kernel ---- PASS: TestZeroInitA (0.12s) - --- SKIP: TestZeroInitA/C (0.07s) - --- SKIP: TestZeroInitA/eBPF (0.00s) - --- PASS: TestZeroInitA/kernel (0.05s) -=== CONT TestJumpIfLessOrEqual -=== RUN TestJumpIfLessOrEqual/C -=== RUN TestJumpIfBitsNotSet/C#01 + 13: Exit +=== RUN TestALUMul/kernel#03 +=== RUN TestALUMul/C#04 === RUN TestRetConstant/eBPF#01 -=== RUN TestJumpIfBitsSet/eBPF -=== NAME TestRetConstant/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1202,6 +1524,38 @@ return: 7: Exit === RUN TestRetConstant/kernel#01 +--- PASS: TestRetConstant (0.30s) + --- SKIP: TestRetConstant/C (0.12s) + --- SKIP: TestRetConstant/eBPF (0.00s) + --- PASS: TestRetConstant/kernel (0.00s) + --- SKIP: TestRetConstant/C#01 (0.12s) + --- SKIP: TestRetConstant/eBPF#01 (0.00s) + --- PASS: TestRetConstant/kernel#01 (0.05s) +=== CONT TestJumpIfLessOrEqual +=== RUN TestJumpIfLessOrEqual/C +=== RUN TestALUMul/eBPF#04 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 2 + 3: Mul32Imm dst: r4 imm: -2147483648 + 4: JEqImm dst: r4 off: -1 imm: 0 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUMul/kernel#04 +=== RUN TestJumpIfBitsSet/eBPF +=== RUN TestALUMul/C#05 === NAME TestJumpIfBitsSet/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -1223,16 +1577,32 @@ 11: Exit === RUN TestJumpIfBitsSet/kernel === RUN TestJumpIfBitsSet/C#01 ---- PASS: TestRetConstant (0.20s) - --- SKIP: TestRetConstant/C (0.07s) - --- SKIP: TestRetConstant/eBPF (0.00s) - --- PASS: TestRetConstant/kernel (0.00s) - --- SKIP: TestRetConstant/C#01 (0.08s) - --- SKIP: TestRetConstant/eBPF#01 (0.00s) - --- PASS: TestRetConstant/kernel#01 (0.05s) -=== CONT TestJumpIfGreaterOrEqual -=== RUN TestJumpIfGreaterOrEqual/C +=== RUN TestJumpIfBitsNotSet/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 6 + 3: JSetImm dst: r4 off: -1 imm: 4 + 4: JaImm dst: r0 off: -1 imm: 0 + filter_block_2: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestJumpIfBitsNotSet/kernel +=== RUN TestJumpIfBitsNotSet/C#01 +=== RUN TestJumpIfBitsSet/eBPF#01 === RUN TestJumpIfLessOrEqual/eBPF +=== RUN TestALUMul/eBPF#05 +=== NAME TestJumpIfLessOrEqual/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1251,8 +1621,7 @@ 10: MovImm dst: r0 imm: 1 return: 11: Exit -=== RUN TestJumpIfLessOrEqual/kernel -=== RUN TestJumpIfBitsNotSet/eBPF#01 +=== NAME TestJumpIfBitsSet/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1260,8 +1629,8 @@ 2: Mov32Imm dst: r4 imm: 6 3: JEqImm dst: r4 off: -1 imm: 0 filter_block_2: - 4: JSetImm dst: r4 off: -1 imm: 4 - 5: JaImm dst: r0 off: -1 imm: 0 + 4: JSetImm dst: r4 off: -1 imm: 4 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 7: JaImm dst: r0 off: -1 imm: 0 @@ -1277,8 +1646,54 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit -=== RUN TestJumpIfBitsNotSet/kernel#01 -=== RUN TestJumpIfBitsSet/eBPF#01 +=== RUN TestJumpIfLessOrEqual/kernel +=== RUN TestJumpIfBitsSet/kernel#01 +=== NAME TestALUMul/eBPF#05 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 2 + 3: Mov32Imm dst: r5 imm: -2147483648 + 4: Mul32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 0 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUMul/kernel#05 +--- PASS: TestALUMul (0.70s) + --- SKIP: TestALUMul/C (0.11s) + --- SKIP: TestALUMul/eBPF (0.00s) + --- PASS: TestALUMul/kernel (0.00s) + --- SKIP: TestALUMul/C#01 (0.12s) + --- SKIP: TestALUMul/eBPF#01 (0.00s) + --- PASS: TestALUMul/kernel#01 (0.00s) + --- SKIP: TestALUMul/C#02 (0.12s) + --- SKIP: TestALUMul/eBPF#02 (0.00s) + --- PASS: TestALUMul/kernel#02 (0.00s) + --- SKIP: TestALUMul/C#03 (0.12s) + --- SKIP: TestALUMul/eBPF#03 (0.00s) + --- PASS: TestALUMul/kernel#03 (0.00s) + --- SKIP: TestALUMul/C#04 (0.11s) + --- SKIP: TestALUMul/eBPF#04 (0.00s) + --- PASS: TestALUMul/kernel#04 (0.00s) + --- SKIP: TestALUMul/C#05 (0.11s) + --- SKIP: TestALUMul/eBPF#05 (0.00s) + --- PASS: TestALUMul/kernel#05 (0.00s) +=== CONT TestJumpIfGreaterOrEqual +=== RUN TestJumpIfGreaterOrEqual/C +=== RUN TestJumpIfBitsSet/C#02 +=== RUN TestJumpIfLessOrEqual/C#01 +=== RUN TestJumpIfBitsNotSet/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1286,8 +1701,8 @@ 2: Mov32Imm dst: r4 imm: 6 3: JEqImm dst: r4 off: -1 imm: 0 filter_block_2: - 4: JSetImm dst: r4 off: -1 imm: 4 - 5: JaImm dst: r0 off: -1 imm: 0 + 4: JSetImm dst: r4 off: -1 imm: 4 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 7: JaImm dst: r0 off: -1 imm: 0 @@ -1303,11 +1718,11 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit -=== RUN TestJumpIfBitsSet/kernel#01 -=== RUN TestJumpIfBitsSet/C#02 -=== RUN TestJumpIfLessOrEqual/C#01 +=== RUN TestJumpIfBitsNotSet/kernel#01 === RUN TestJumpIfBitsNotSet/C#02 === RUN TestJumpIfGreaterOrEqual/eBPF +=== RUN TestJumpIfBitsSet/eBPF#02 +=== NAME TestJumpIfGreaterOrEqual/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1327,8 +1742,7 @@ return: 11: Exit === RUN TestJumpIfGreaterOrEqual/kernel -=== RUN TestJumpIfGreaterOrEqual/C#01 -=== RUN TestJumpIfBitsSet/eBPF#02 +=== NAME TestJumpIfBitsSet/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1349,6 +1763,7 @@ return: 12: Exit === RUN TestJumpIfBitsSet/kernel#02 +=== RUN TestJumpIfGreaterOrEqual/C#01 === RUN TestJumpIfBitsSet/C#03 === RUN TestJumpIfLessOrEqual/eBPF#01 ebpf_test.go:17: @@ -1376,7 +1791,38 @@ return: 15: Exit === RUN TestJumpIfLessOrEqual/kernel#01 +=== RUN TestJumpIfLessOrEqual/C#02 +=== RUN TestJumpIfBitsSet/eBPF#03 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 6 + 3: Mov32Imm dst: r5 imm: 4 + 4: JEqImm dst: r4 off: -1 imm: 0 + filter_block_3: + 5: JSetReg dst: r4 off: -1 src: r5 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 9: Mov32Imm dst: r4 imm: 0 + 10: JaImm dst: r0 off: -1 imm: 0 + filter_block_6: + 11: Mov32Imm dst: r4 imm: 1 + 12: JaImm dst: r0 off: -1 imm: 0 + result: + 13: MovImm dst: r0 imm: 2 + 14: JEqImm dst: r4 off: -1 imm: 0 + 15: MovImm dst: r0 imm: 1 + return: + 16: Exit +=== RUN TestJumpIfBitsSet/kernel#03 +=== RUN TestJumpIfGreaterOrEqual/eBPF#01 === RUN TestJumpIfBitsNotSet/eBPF#02 +=== RUN TestJumpIfBitsSet/C#04 +=== NAME TestJumpIfBitsNotSet/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1397,8 +1843,7 @@ 12: MovImm dst: r0 imm: 1 return: 13: Exit -=== RUN TestJumpIfBitsNotSet/kernel#02 -=== RUN TestJumpIfGreaterOrEqual/eBPF#01 +=== NAME TestJumpIfGreaterOrEqual/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1423,46 +1868,21 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit +=== RUN TestJumpIfBitsNotSet/kernel#02 === RUN TestJumpIfGreaterOrEqual/kernel#01 === RUN TestJumpIfGreaterOrEqual/C#02 -=== RUN TestJumpIfBitsSet/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 6 - 3: Mov32Imm dst: r5 imm: 4 - 4: JEqImm dst: r4 off: -1 imm: 0 - filter_block_3: - 5: JSetReg dst: r4 off: -1 src: r5 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 9: Mov32Imm dst: r4 imm: 0 - 10: JaImm dst: r0 off: -1 imm: 0 - filter_block_6: - 11: Mov32Imm dst: r4 imm: 1 - 12: JaImm dst: r0 off: -1 imm: 0 - result: - 13: MovImm dst: r0 imm: 2 - 14: JEqImm dst: r4 off: -1 imm: 0 - 15: MovImm dst: r0 imm: 1 - return: - 16: Exit -=== RUN TestJumpIfBitsSet/kernel#03 -=== RUN TestJumpIfBitsSet/C#04 -=== RUN TestJumpIfLessOrEqual/C#02 === RUN TestJumpIfBitsNotSet/C#03 +=== RUN TestJumpIfLessOrEqual/eBPF#02 +=== RUN TestJumpIfBitsSet/eBPF#04 === RUN TestJumpIfGreaterOrEqual/eBPF#02 +=== NAME TestJumpIfLessOrEqual/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 24 3: Mov32Imm dst: r5 imm: 23 - 4: JGEReg dst: r4 off: -1 src: r5 + 4: JLEReg dst: r4 off: -1 src: r5 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 @@ -1475,9 +1895,7 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfGreaterOrEqual/kernel#02 -=== RUN TestJumpIfGreaterOrEqual/C#03 -=== RUN TestJumpIfBitsSet/eBPF#04 +=== NAME TestJumpIfBitsSet/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1496,8 +1914,32 @@ 10: MovImm dst: r0 imm: 1 return: 11: Exit +=== RUN TestJumpIfLessOrEqual/kernel#02 === RUN TestJumpIfBitsSet/kernel#04 +=== NAME TestJumpIfGreaterOrEqual/eBPF#02 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 24 + 3: Mov32Imm dst: r5 imm: 23 + 4: JGEReg dst: r4 off: -1 src: r5 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestJumpIfGreaterOrEqual/kernel#02 === RUN TestJumpIfBitsSet/C#05 +=== RUN TestJumpIfGreaterOrEqual/C#03 +=== RUN TestJumpIfLessOrEqual/C#03 === RUN TestJumpIfBitsNotSet/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -1525,28 +1967,9 @@ return: 16: Exit === RUN TestJumpIfBitsNotSet/kernel#03 -=== RUN TestJumpIfLessOrEqual/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 24 - 3: Mov32Imm dst: r5 imm: 23 - 4: JLEReg dst: r4 off: -1 src: r5 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestJumpIfLessOrEqual/kernel#02 === RUN TestJumpIfGreaterOrEqual/eBPF#03 +=== RUN TestJumpIfBitsNotSet/C#04 +=== NAME TestJumpIfGreaterOrEqual/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1574,8 +1997,6 @@ 16: Exit === RUN TestJumpIfGreaterOrEqual/kernel#03 === RUN TestJumpIfGreaterOrEqual/C#04 -=== RUN TestJumpIfBitsNotSet/C#04 -=== RUN TestJumpIfLessOrEqual/C#03 === RUN TestJumpIfBitsSet/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -1603,30 +2024,7 @@ 15: Exit === RUN TestJumpIfBitsSet/kernel#05 === RUN TestJumpIfBitsSet/C#06 -=== RUN TestJumpIfGreaterOrEqual/eBPF#04 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 23 - 3: JGEImm dst: r4 off: -1 imm: 23 - filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 - return: - 11: Exit -=== RUN TestJumpIfGreaterOrEqual/kernel#04 -=== RUN TestJumpIfGreaterOrEqual/C#05 === RUN TestJumpIfLessOrEqual/eBPF#03 -=== RUN TestJumpIfBitsNotSet/eBPF#04 -=== NAME TestJumpIfLessOrEqual/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1652,18 +2050,23 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== NAME TestJumpIfBitsNotSet/eBPF#04 +=== RUN TestJumpIfLessOrEqual/kernel#03 +=== RUN TestJumpIfLessOrEqual/C#04 +=== RUN TestJumpIfGreaterOrEqual/eBPF#04 +=== RUN TestJumpIfBitsSet/eBPF#06 +=== RUN TestJumpIfBitsNotSet/eBPF#04 +=== NAME TestJumpIfBitsSet/eBPF#06 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 6 - 3: JSetImm dst: r4 off: -1 imm: 2 - 4: JaImm dst: r0 off: -1 imm: 0 - filter_block_2: + 3: Mov32Imm dst: r5 imm: 2 + 4: JSetReg dst: r4 off: -1 src: r5 + filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: + filter_block_4: 7: Mov32Imm dst: r4 imm: 1 8: JaImm dst: r0 off: -1 imm: 0 result: @@ -1672,20 +2075,40 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfLessOrEqual/kernel#03 -=== RUN TestJumpIfBitsNotSet/kernel#04 -=== RUN TestJumpIfBitsSet/eBPF#06 +=== RUN TestJumpIfBitsSet/kernel#06 +=== NAME TestJumpIfGreaterOrEqual/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 6 - 3: Mov32Imm dst: r5 imm: 2 - 4: JSetReg dst: r4 off: -1 src: r5 + 2: Mov32Imm dst: r4 imm: 23 + 3: JGEImm dst: r4 off: -1 imm: 23 + filter_block_2: + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 + result: + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 + return: + 11: Exit +=== RUN TestJumpIfGreaterOrEqual/kernel#04 +=== RUN TestJumpIfBitsSet/C#07 +=== NAME TestJumpIfBitsNotSet/eBPF#04 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 6 + 3: JSetImm dst: r4 off: -1 imm: 2 + 4: JaImm dst: r0 off: -1 imm: 0 + filter_block_2: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: + filter_block_3: 7: Mov32Imm dst: r4 imm: 1 8: JaImm dst: r0 off: -1 imm: 0 result: @@ -1694,38 +2117,33 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfBitsSet/kernel#06 -=== RUN TestJumpIfBitsSet/C#07 -=== RUN TestJumpIfLessOrEqual/C#04 +=== RUN TestJumpIfBitsNotSet/kernel#04 +=== RUN TestJumpIfGreaterOrEqual/C#05 === RUN TestJumpIfBitsNotSet/C#05 -=== RUN TestJumpIfGreaterOrEqual/eBPF#05 +=== RUN TestJumpIfLessOrEqual/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: JEqImm dst: r4 off: -1 imm: 0 + 3: JLEImm dst: r4 off: -1 imm: 23 filter_block_2: - 4: JGEImm dst: r4 off: -1 imm: 23 - 5: JaImm dst: r0 off: -1 imm: 0 + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 8: Mov32Imm dst: r4 imm: 0 - 9: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 10: Mov32Imm dst: r4 imm: 1 - 11: JaImm dst: r0 off: -1 imm: 0 result: - 12: MovImm dst: r0 imm: 2 - 13: JEqImm dst: r4 off: -1 imm: 0 - 14: MovImm dst: r0 imm: 1 + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 return: - 15: Exit -=== RUN TestJumpIfGreaterOrEqual/kernel#05 -=== RUN TestJumpIfGreaterOrEqual/C#06 + 11: Exit +=== RUN TestJumpIfLessOrEqual/kernel#04 +=== RUN TestJumpIfLessOrEqual/C#05 === RUN TestJumpIfBitsSet/eBPF#07 +=== RUN TestJumpIfGreaterOrEqual/eBPF#05 +=== NAME TestJumpIfBitsSet/eBPF#07 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1751,7 +2169,34 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit +=== NAME TestJumpIfGreaterOrEqual/eBPF#05 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 23 + 3: JEqImm dst: r4 off: -1 imm: 0 + filter_block_2: + 4: JGEImm dst: r4 off: -1 imm: 23 + 5: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 8: Mov32Imm dst: r4 imm: 0 + 9: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 + result: + 12: MovImm dst: r0 imm: 2 + 13: JEqImm dst: r4 off: -1 imm: 0 + 14: MovImm dst: r0 imm: 1 + return: + 15: Exit +=== RUN TestJumpIfGreaterOrEqual/kernel#05 === RUN TestJumpIfBitsSet/kernel#07 +=== RUN TestJumpIfGreaterOrEqual/C#06 === RUN TestJumpIfBitsSet/C#08 === RUN TestJumpIfBitsNotSet/eBPF#05 ebpf_test.go:17: @@ -1779,13 +2224,16 @@ return: 15: Exit === RUN TestJumpIfBitsNotSet/kernel#05 -=== RUN TestJumpIfLessOrEqual/eBPF#04 +=== RUN TestJumpIfBitsSet/eBPF#08 +=== RUN TestJumpIfLessOrEqual/eBPF#05 +=== RUN TestJumpIfGreaterOrEqual/eBPF#06 +=== NAME TestJumpIfBitsSet/eBPF#08 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 23 - 3: JLEImm dst: r4 off: -1 imm: 23 + 2: Mov32Imm dst: r4 imm: 6 + 3: JSetImm dst: r4 off: -1 imm: 8 filter_block_2: 4: Mov32Imm dst: r4 imm: 0 5: JaImm dst: r0 off: -1 imm: 0 @@ -1798,9 +2246,8 @@ 10: MovImm dst: r0 imm: 1 return: 11: Exit -=== RUN TestJumpIfLessOrEqual/kernel#04 -=== RUN TestJumpIfLessOrEqual/C#05 -=== RUN TestJumpIfGreaterOrEqual/eBPF#06 +=== RUN TestJumpIfBitsSet/kernel#08 +=== NAME TestJumpIfGreaterOrEqual/eBPF#06 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1821,29 +2268,7 @@ return: 12: Exit === RUN TestJumpIfGreaterOrEqual/kernel#06 -=== RUN TestJumpIfGreaterOrEqual/C#07 -=== RUN TestJumpIfBitsSet/eBPF#08 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 6 - 3: JSetImm dst: r4 off: -1 imm: 8 - filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 - return: - 11: Exit -=== RUN TestJumpIfBitsSet/kernel#08 -=== RUN TestJumpIfBitsNotSet/C#06 -=== RUN TestJumpIfLessOrEqual/eBPF#05 +=== NAME TestJumpIfLessOrEqual/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -1869,8 +2294,32 @@ return: 15: Exit === RUN TestJumpIfLessOrEqual/kernel#05 +=== RUN TestJumpIfGreaterOrEqual/C#07 === RUN TestJumpIfLessOrEqual/C#06 +=== RUN TestJumpIfBitsNotSet/C#06 === RUN TestJumpIfBitsSet/C#09 +=== RUN TestJumpIfLessOrEqual/eBPF#06 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 23 + 3: Mov32Imm dst: r5 imm: 23 + 4: JLEReg dst: r4 off: -1 src: r5 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestJumpIfLessOrEqual/kernel#06 +=== RUN TestJumpIfLessOrEqual/C#07 === RUN TestJumpIfGreaterOrEqual/eBPF#07 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -1921,28 +2370,6 @@ return: 13: Exit === RUN TestJumpIfBitsNotSet/kernel#06 -=== RUN TestJumpIfLessOrEqual/eBPF#06 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 23 - 3: Mov32Imm dst: r5 imm: 23 - 4: JLEReg dst: r4 off: -1 src: r5 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestJumpIfLessOrEqual/kernel#06 -=== RUN TestJumpIfLessOrEqual/C#07 === RUN TestJumpIfBitsSet/eBPF#09 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -1969,6 +2396,8 @@ return: 15: Exit === RUN TestJumpIfBitsSet/kernel#09 +=== RUN TestJumpIfBitsNotSet/C#07 +=== RUN TestJumpIfBitsSet/C#10 === RUN TestJumpIfGreaterOrEqual/eBPF#08 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -1989,9 +2418,6 @@ return: 11: Exit === RUN TestJumpIfGreaterOrEqual/kernel#08 -=== RUN TestJumpIfBitsNotSet/C#07 -=== RUN TestJumpIfBitsSet/C#10 -=== RUN TestJumpIfGreaterOrEqual/C#09 === RUN TestJumpIfLessOrEqual/eBPF#07 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2020,6 +2446,7 @@ 16: Exit === RUN TestJumpIfLessOrEqual/kernel#07 === RUN TestJumpIfLessOrEqual/C#08 +=== RUN TestJumpIfGreaterOrEqual/C#09 === RUN TestJumpIfBitsNotSet/eBPF#07 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2068,32 +2495,7 @@ return: 12: Exit === RUN TestJumpIfBitsSet/kernel#10 -=== RUN TestJumpIfGreaterOrEqual/eBPF#09 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 22 - 3: JEqImm dst: r4 off: -1 imm: 0 - filter_block_2: - 4: JGEImm dst: r4 off: -1 imm: 23 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 8: Mov32Imm dst: r4 imm: 0 - 9: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 10: Mov32Imm dst: r4 imm: 1 - 11: JaImm dst: r0 off: -1 imm: 0 - result: - 12: MovImm dst: r0 imm: 2 - 13: JEqImm dst: r4 off: -1 imm: 0 - 14: MovImm dst: r0 imm: 1 - return: - 15: Exit -=== RUN TestJumpIfGreaterOrEqual/kernel#09 +=== RUN TestJumpIfBitsNotSet/C#08 === RUN TestJumpIfLessOrEqual/eBPF#08 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2115,10 +2517,8 @@ 11: Exit === RUN TestJumpIfLessOrEqual/kernel#08 === RUN TestJumpIfLessOrEqual/C#09 -=== RUN TestJumpIfBitsNotSet/C#08 === RUN TestJumpIfBitsSet/C#11 -=== RUN TestJumpIfGreaterOrEqual/C#10 -=== RUN TestJumpIfLessOrEqual/eBPF#09 +=== RUN TestJumpIfGreaterOrEqual/eBPF#09 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -2126,7 +2526,7 @@ 2: Mov32Imm dst: r4 imm: 22 3: JEqImm dst: r4 off: -1 imm: 0 filter_block_2: - 4: JLEImm dst: r4 off: -1 imm: 23 + 4: JGEImm dst: r4 off: -1 imm: 23 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 @@ -2143,8 +2543,8 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit -=== RUN TestJumpIfLessOrEqual/kernel#09 -=== RUN TestJumpIfLessOrEqual/C#10 +=== RUN TestJumpIfGreaterOrEqual/kernel#09 +=== RUN TestJumpIfGreaterOrEqual/C#10 === RUN TestJumpIfBitsNotSet/eBPF#08 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2167,6 +2567,33 @@ 12: Exit === RUN TestJumpIfBitsNotSet/kernel#08 === RUN TestJumpIfBitsNotSet/C#09 +=== RUN TestJumpIfLessOrEqual/eBPF#09 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 22 + 3: JEqImm dst: r4 off: -1 imm: 0 + filter_block_2: + 4: JLEImm dst: r4 off: -1 imm: 23 + 5: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 8: Mov32Imm dst: r4 imm: 0 + 9: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 + result: + 12: MovImm dst: r0 imm: 2 + 13: JEqImm dst: r4 off: -1 imm: 0 + 14: MovImm dst: r0 imm: 1 + return: + 15: Exit +=== RUN TestJumpIfLessOrEqual/kernel#09 +=== RUN TestJumpIfLessOrEqual/C#10 === RUN TestJumpIfBitsSet/eBPF#11 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2194,7 +2621,48 @@ return: 16: Exit === RUN TestJumpIfBitsSet/kernel#11 +--- PASS: TestJumpIfBitsSet (1.58s) + --- SKIP: TestJumpIfBitsSet/C (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF (0.00s) + --- PASS: TestJumpIfBitsSet/kernel (0.00s) + --- SKIP: TestJumpIfBitsSet/C#01 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#01 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#01 (0.00s) + --- SKIP: TestJumpIfBitsSet/C#02 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#02 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#02 (0.00s) + --- SKIP: TestJumpIfBitsSet/C#03 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#03 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#03 (0.00s) + --- SKIP: TestJumpIfBitsSet/C#04 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#04 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#04 (0.00s) + --- SKIP: TestJumpIfBitsSet/C#05 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#05 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#05 (0.00s) + --- SKIP: TestJumpIfBitsSet/C#06 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#06 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#06 (0.00s) + --- SKIP: TestJumpIfBitsSet/C#07 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#07 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#07 (0.00s) + --- SKIP: TestJumpIfBitsSet/C#08 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#08 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#08 (0.05s) + --- SKIP: TestJumpIfBitsSet/C#09 (0.12s) + --- SKIP: TestJumpIfBitsSet/eBPF#09 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#09 (0.05s) + --- SKIP: TestJumpIfBitsSet/C#10 (0.11s) + --- SKIP: TestJumpIfBitsSet/eBPF#10 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#10 (0.05s) + --- SKIP: TestJumpIfBitsSet/C#11 (0.12s) + --- SKIP: TestJumpIfBitsSet/eBPF#11 (0.00s) + --- PASS: TestJumpIfBitsSet/kernel#11 (0.05s) +=== CONT TestJumpIfLessThan +=== RUN TestJumpIfLessThan/C === RUN TestJumpIfGreaterOrEqual/eBPF#10 +=== RUN TestJumpIfBitsNotSet/eBPF#09 +=== NAME TestJumpIfGreaterOrEqual/eBPF#10 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -2214,30 +2682,7 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfGreaterOrEqual/kernel#10 -=== RUN TestJumpIfLessOrEqual/eBPF#10 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 22 - 3: Mov32Imm dst: r5 imm: 23 - 4: JLEReg dst: r4 off: -1 src: r5 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestJumpIfLessOrEqual/kernel#10 -=== RUN TestJumpIfLessOrEqual/C#11 -=== RUN TestJumpIfBitsNotSet/eBPF#09 +=== NAME TestJumpIfBitsNotSet/eBPF#09 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -2262,47 +2707,32 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit +=== RUN TestJumpIfGreaterOrEqual/kernel#10 === RUN TestJumpIfBitsNotSet/kernel#09 +=== RUN TestJumpIfLessOrEqual/eBPF#10 === RUN TestJumpIfBitsNotSet/C#10 ---- PASS: TestJumpIfBitsSet (1.11s) - --- SKIP: TestJumpIfBitsSet/C (0.08s) - --- SKIP: TestJumpIfBitsSet/eBPF (0.00s) - --- PASS: TestJumpIfBitsSet/kernel (0.00s) - --- SKIP: TestJumpIfBitsSet/C#01 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#01 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#01 (0.00s) - --- SKIP: TestJumpIfBitsSet/C#02 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#02 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#02 (0.00s) - --- SKIP: TestJumpIfBitsSet/C#03 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#03 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#03 (0.00s) - --- SKIP: TestJumpIfBitsSet/C#04 (0.08s) - --- SKIP: TestJumpIfBitsSet/eBPF#04 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#04 (0.00s) - --- SKIP: TestJumpIfBitsSet/C#05 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#05 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#05 (0.00s) - --- SKIP: TestJumpIfBitsSet/C#06 (0.08s) - --- SKIP: TestJumpIfBitsSet/eBPF#06 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#06 (0.00s) - --- SKIP: TestJumpIfBitsSet/C#07 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#07 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#07 (0.00s) - --- SKIP: TestJumpIfBitsSet/C#08 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#08 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#08 (0.05s) - --- SKIP: TestJumpIfBitsSet/C#09 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#09 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#09 (0.05s) - --- SKIP: TestJumpIfBitsSet/C#10 (0.08s) - --- SKIP: TestJumpIfBitsSet/eBPF#10 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#10 (0.05s) - --- SKIP: TestJumpIfBitsSet/C#11 (0.07s) - --- SKIP: TestJumpIfBitsSet/eBPF#11 (0.00s) - --- PASS: TestJumpIfBitsSet/kernel#11 (0.05s) -=== CONT TestJumpIfLessThan -=== RUN TestJumpIfLessThan/C +=== NAME TestJumpIfLessOrEqual/eBPF#10 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 22 + 3: Mov32Imm dst: r5 imm: 23 + 4: JLEReg dst: r4 off: -1 src: r5 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestJumpIfLessOrEqual/kernel#10 +=== RUN TestJumpIfLessOrEqual/C#11 === RUN TestJumpIfGreaterOrEqual/C#11 === RUN TestJumpIfLessThan/eBPF ebpf_test.go:17: @@ -2324,7 +2754,31 @@ return: 11: Exit === RUN TestJumpIfLessThan/kernel +=== RUN TestJumpIfBitsNotSet/eBPF#10 === RUN TestJumpIfLessOrEqual/eBPF#11 +=== NAME TestJumpIfBitsNotSet/eBPF#10 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 6 + 3: Mov32Imm dst: r5 imm: 8 + 4: JSetReg dst: r4 off: -1 src: r5 + 5: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestJumpIfBitsNotSet/kernel#10 +=== NAME TestJumpIfLessOrEqual/eBPF#11 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -2351,68 +2805,47 @@ return: 16: Exit === RUN TestJumpIfLessOrEqual/kernel#11 ---- PASS: TestJumpIfLessOrEqual (1.13s) - --- SKIP: TestJumpIfLessOrEqual/C (0.08s) +=== RUN TestJumpIfBitsNotSet/C#11 +--- PASS: TestJumpIfLessOrEqual (1.61s) + --- SKIP: TestJumpIfLessOrEqual/C (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel (0.05s) - --- SKIP: TestJumpIfLessOrEqual/C#01 (0.08s) + --- SKIP: TestJumpIfLessOrEqual/C#01 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#01 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#01 (0.05s) - --- SKIP: TestJumpIfLessOrEqual/C#02 (0.08s) + --- SKIP: TestJumpIfLessOrEqual/C#02 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#02 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#02 (0.05s) - --- SKIP: TestJumpIfLessOrEqual/C#03 (0.08s) + --- SKIP: TestJumpIfLessOrEqual/C#03 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#03 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#03 (0.05s) - --- SKIP: TestJumpIfLessOrEqual/C#04 (0.08s) + --- SKIP: TestJumpIfLessOrEqual/C#04 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#04 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#04 (0.00s) - --- SKIP: TestJumpIfLessOrEqual/C#05 (0.07s) + --- SKIP: TestJumpIfLessOrEqual/C#05 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#05 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#05 (0.00s) - --- SKIP: TestJumpIfLessOrEqual/C#06 (0.08s) + --- SKIP: TestJumpIfLessOrEqual/C#06 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#06 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#06 (0.00s) - --- SKIP: TestJumpIfLessOrEqual/C#07 (0.07s) + --- SKIP: TestJumpIfLessOrEqual/C#07 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#07 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#07 (0.00s) - --- SKIP: TestJumpIfLessOrEqual/C#08 (0.07s) + --- SKIP: TestJumpIfLessOrEqual/C#08 (0.11s) --- SKIP: TestJumpIfLessOrEqual/eBPF#08 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#08 (0.00s) - --- SKIP: TestJumpIfLessOrEqual/C#09 (0.08s) + --- SKIP: TestJumpIfLessOrEqual/C#09 (0.12s) --- SKIP: TestJumpIfLessOrEqual/eBPF#09 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#09 (0.00s) - --- SKIP: TestJumpIfLessOrEqual/C#10 (0.07s) + --- SKIP: TestJumpIfLessOrEqual/C#10 (0.11s) --- SKIP: TestJumpIfLessOrEqual/eBPF#10 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#10 (0.00s) - --- SKIP: TestJumpIfLessOrEqual/C#11 (0.08s) + --- SKIP: TestJumpIfLessOrEqual/C#11 (0.11s) --- SKIP: TestJumpIfLessOrEqual/eBPF#11 (0.00s) --- PASS: TestJumpIfLessOrEqual/kernel#11 (0.00s) === CONT TestJumpIfGreaterThan === RUN TestJumpIfGreaterThan/C -=== RUN TestJumpIfBitsNotSet/eBPF#10 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 6 - 3: Mov32Imm dst: r5 imm: 8 - 4: JSetReg dst: r4 off: -1 src: r5 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestJumpIfBitsNotSet/kernel#10 -=== RUN TestJumpIfBitsNotSet/C#11 +=== RUN TestJumpIfLessThan/C#01 === RUN TestJumpIfGreaterOrEqual/eBPF#11 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2440,47 +2873,48 @@ return: 16: Exit === RUN TestJumpIfGreaterOrEqual/kernel#11 -=== RUN TestJumpIfLessThan/C#01 ---- PASS: TestJumpIfGreaterOrEqual (1.12s) - --- SKIP: TestJumpIfGreaterOrEqual/C (0.07s) +--- PASS: TestJumpIfGreaterOrEqual (1.60s) + --- SKIP: TestJumpIfGreaterOrEqual/C (0.12s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#01 (0.08s) + --- SKIP: TestJumpIfGreaterOrEqual/C#01 (0.11s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#01 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#01 (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#02 (0.07s) + --- SKIP: TestJumpIfGreaterOrEqual/C#02 (0.11s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#02 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#02 (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#03 (0.07s) + --- SKIP: TestJumpIfGreaterOrEqual/C#03 (0.11s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#03 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#03 (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#04 (0.08s) + --- SKIP: TestJumpIfGreaterOrEqual/C#04 (0.11s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#04 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#04 (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#05 (0.07s) + --- SKIP: TestJumpIfGreaterOrEqual/C#05 (0.11s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#05 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#05 (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#06 (0.08s) + --- SKIP: TestJumpIfGreaterOrEqual/C#06 (0.11s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#06 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#06 (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#07 (0.07s) + --- SKIP: TestJumpIfGreaterOrEqual/C#07 (0.12s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#07 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#07 (0.00s) - --- SKIP: TestJumpIfGreaterOrEqual/C#08 (0.08s) + --- SKIP: TestJumpIfGreaterOrEqual/C#08 (0.11s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#08 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#08 (0.05s) - --- SKIP: TestJumpIfGreaterOrEqual/C#09 (0.07s) + --- SKIP: TestJumpIfGreaterOrEqual/C#09 (0.12s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#09 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#09 (0.05s) - --- SKIP: TestJumpIfGreaterOrEqual/C#10 (0.08s) + --- SKIP: TestJumpIfGreaterOrEqual/C#10 (0.12s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#10 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#10 (0.05s) - --- SKIP: TestJumpIfGreaterOrEqual/C#11 (0.08s) + --- SKIP: TestJumpIfGreaterOrEqual/C#11 (0.12s) --- SKIP: TestJumpIfGreaterOrEqual/eBPF#11 (0.00s) --- PASS: TestJumpIfGreaterOrEqual/kernel#11 (0.05s) === CONT TestJumpIfNotEqual === RUN TestJumpIfNotEqual/C === RUN TestJumpIfGreaterThan/eBPF +=== RUN TestJumpIfBitsNotSet/eBPF#11 +=== NAME TestJumpIfGreaterThan/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -2500,8 +2934,6 @@ return: 11: Exit === RUN TestJumpIfGreaterThan/kernel -=== RUN TestJumpIfBitsNotSet/eBPF#11 -=== RUN TestJumpIfGreaterThan/C#01 === NAME TestJumpIfBitsNotSet/eBPF#11 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2529,41 +2961,42 @@ return: 16: Exit === RUN TestJumpIfBitsNotSet/kernel#11 ---- PASS: TestJumpIfBitsNotSet (1.33s) - --- SKIP: TestJumpIfBitsNotSet/C (0.07s) +=== RUN TestJumpIfGreaterThan/C#01 +--- PASS: TestJumpIfBitsNotSet (1.84s) + --- SKIP: TestJumpIfBitsNotSet/C (0.11s) --- SKIP: TestJumpIfBitsNotSet/eBPF (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#01 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#01 (0.11s) --- SKIP: TestJumpIfBitsNotSet/eBPF#01 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#01 (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#02 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#02 (0.12s) --- SKIP: TestJumpIfBitsNotSet/eBPF#02 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#02 (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#03 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#03 (0.12s) --- SKIP: TestJumpIfBitsNotSet/eBPF#03 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#03 (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#04 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#04 (0.12s) --- SKIP: TestJumpIfBitsNotSet/eBPF#04 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#04 (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#05 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#05 (0.13s) --- SKIP: TestJumpIfBitsNotSet/eBPF#05 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#05 (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#06 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#06 (0.12s) --- SKIP: TestJumpIfBitsNotSet/eBPF#06 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#06 (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#07 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#07 (0.12s) --- SKIP: TestJumpIfBitsNotSet/eBPF#07 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#07 (0.05s) - --- SKIP: TestJumpIfBitsNotSet/C#08 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#08 (0.12s) --- SKIP: TestJumpIfBitsNotSet/eBPF#08 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#08 (0.00s) - --- SKIP: TestJumpIfBitsNotSet/C#09 (0.07s) + --- SKIP: TestJumpIfBitsNotSet/C#09 (0.11s) --- SKIP: TestJumpIfBitsNotSet/eBPF#09 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#09 (0.00s) - --- SKIP: TestJumpIfBitsNotSet/C#10 (0.08s) + --- SKIP: TestJumpIfBitsNotSet/C#10 (0.11s) --- SKIP: TestJumpIfBitsNotSet/eBPF#10 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#10 (0.00s) - --- SKIP: TestJumpIfBitsNotSet/C#11 (0.07s) + --- SKIP: TestJumpIfBitsNotSet/C#11 (0.12s) --- SKIP: TestJumpIfBitsNotSet/eBPF#11 (0.00s) --- PASS: TestJumpIfBitsNotSet/kernel#11 (0.00s) === CONT TestJumpIfEqual @@ -2594,6 +3027,7 @@ return: 15: Exit === RUN TestJumpIfLessThan/kernel#01 +=== RUN TestJumpIfLessThan/C#02 === RUN TestJumpIfNotEqual/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2614,34 +3048,8 @@ return: 11: Exit === RUN TestJumpIfNotEqual/kernel -=== RUN TestJumpIfGreaterThan/eBPF#01 === RUN TestJumpIfEqual/eBPF -=== NAME TestJumpIfGreaterThan/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 24 - 3: JEqImm dst: r4 off: -1 imm: 0 - filter_block_2: - 4: JGTImm dst: r4 off: -1 imm: 23 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 8: Mov32Imm dst: r4 imm: 0 - 9: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 10: Mov32Imm dst: r4 imm: 1 - 11: JaImm dst: r0 off: -1 imm: 0 - result: - 12: MovImm dst: r0 imm: 2 - 13: JEqImm dst: r4 off: -1 imm: 0 - 14: MovImm dst: r0 imm: 1 - return: - 15: Exit -=== RUN TestJumpIfGreaterThan/kernel#01 +=== RUN TestJumpIfGreaterThan/eBPF#01 === NAME TestJumpIfEqual/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2662,19 +3070,15 @@ return: 11: Exit === RUN TestJumpIfEqual/kernel -=== RUN TestJumpIfGreaterThan/C#02 -=== RUN TestJumpIfEqual/C#01 -=== RUN TestJumpIfLessThan/C#02 -=== RUN TestJumpIfNotEqual/C#01 -=== RUN TestJumpIfEqual/eBPF#01 +=== NAME TestJumpIfGreaterThan/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 23 + 2: Mov32Imm dst: r4 imm: 24 3: JEqImm dst: r4 off: -1 imm: 0 filter_block_2: - 4: JEqImm dst: r4 off: -1 imm: 23 + 4: JGTImm dst: r4 off: -1 imm: 23 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 @@ -2691,16 +3095,18 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit -=== RUN TestJumpIfEqual/kernel#01 -=== RUN TestJumpIfEqual/C#02 -=== RUN TestJumpIfGreaterThan/eBPF#02 +=== RUN TestJumpIfGreaterThan/kernel#01 +=== RUN TestJumpIfEqual/C#01 +=== RUN TestJumpIfGreaterThan/C#02 +=== RUN TestJumpIfNotEqual/C#01 +=== RUN TestJumpIfLessThan/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 24 3: Mov32Imm dst: r5 imm: 23 - 4: JGTReg dst: r4 off: -1 src: r5 + 4: JLTReg dst: r4 off: -1 src: r5 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 @@ -2713,16 +3119,15 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfGreaterThan/kernel#02 -=== RUN TestJumpIfGreaterThan/C#03 -=== RUN TestJumpIfLessThan/eBPF#02 +=== RUN TestJumpIfLessThan/kernel#02 +=== RUN TestJumpIfGreaterThan/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 24 3: Mov32Imm dst: r5 imm: 23 - 4: JLTReg dst: r4 off: -1 src: r5 + 4: JGTReg dst: r4 off: -1 src: r5 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 @@ -2735,8 +3140,9 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfLessThan/kernel#02 -=== RUN TestJumpIfNotEqual/eBPF#01 +=== RUN TestJumpIfGreaterThan/kernel#02 +=== RUN TestJumpIfGreaterThan/C#03 +=== RUN TestJumpIfEqual/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -2744,7 +3150,7 @@ 2: Mov32Imm dst: r4 imm: 23 3: JEqImm dst: r4 off: -1 imm: 0 filter_block_2: - 4: JNEImm dst: r4 off: -1 imm: 23 + 4: JEqImm dst: r4 off: -1 imm: 23 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 @@ -2761,35 +3167,37 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit -=== RUN TestJumpIfNotEqual/kernel#01 -=== RUN TestJumpIfGreaterThan/eBPF#03 +=== RUN TestJumpIfEqual/kernel#01 +=== RUN TestJumpIfEqual/C#02 +=== RUN TestJumpIfLessThan/C#03 +=== RUN TestJumpIfNotEqual/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 24 - 3: Mov32Imm dst: r5 imm: 23 - 4: JEqImm dst: r4 off: -1 imm: 0 + 2: Mov32Imm dst: r4 imm: 23 + 3: JEqImm dst: r4 off: -1 imm: 0 + filter_block_2: + 4: JNEImm dst: r4 off: -1 imm: 23 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: - 5: JGTReg dst: r4 off: -1 src: r5 - 6: JaImm dst: r0 off: -1 imm: 0 + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 + 8: Mov32Imm dst: r4 imm: 0 + 9: JaImm dst: r0 off: -1 imm: 0 filter_block_5: - 9: Mov32Imm dst: r4 imm: 0 - 10: JaImm dst: r0 off: -1 imm: 0 - filter_block_6: - 11: Mov32Imm dst: r4 imm: 1 - 12: JaImm dst: r0 off: -1 imm: 0 + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 result: - 13: MovImm dst: r0 imm: 2 - 14: JEqImm dst: r4 off: -1 imm: 0 - 15: MovImm dst: r0 imm: 1 + 12: MovImm dst: r0 imm: 2 + 13: JEqImm dst: r4 off: -1 imm: 0 + 14: MovImm dst: r0 imm: 1 return: - 16: Exit -=== RUN TestJumpIfGreaterThan/kernel#03 -=== RUN TestJumpIfGreaterThan/C#04 + 15: Exit +=== RUN TestJumpIfNotEqual/kernel#01 +=== RUN TestJumpIfNotEqual/C#02 +=== RUN TestJumpIfGreaterThan/eBPF#03 === RUN TestJumpIfEqual/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2812,39 +3220,16 @@ 12: Exit === RUN TestJumpIfEqual/kernel#02 === RUN TestJumpIfEqual/C#03 -=== RUN TestJumpIfLessThan/C#03 -=== RUN TestJumpIfNotEqual/C#02 -=== RUN TestJumpIfGreaterThan/eBPF#04 +=== NAME TestJumpIfGreaterThan/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 23 - 3: JGTImm dst: r4 off: -1 imm: 23 - filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 - return: - 11: Exit -=== RUN TestJumpIfEqual/eBPF#03 -=== RUN TestJumpIfGreaterThan/kernel#04 -=== NAME TestJumpIfEqual/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 23 + 2: Mov32Imm dst: r4 imm: 24 3: Mov32Imm dst: r5 imm: 23 4: JEqImm dst: r4 off: -1 imm: 0 filter_block_3: - 5: JEqReg dst: r4 off: -1 src: r5 + 5: JGTReg dst: r4 off: -1 src: r5 6: JaImm dst: r0 off: -1 imm: 0 filter_block_4: 7: Mov32Imm dst: r4 imm: 1 @@ -2861,8 +3246,8 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== RUN TestJumpIfEqual/kernel#03 -=== RUN TestJumpIfEqual/C#04 +=== RUN TestJumpIfGreaterThan/kernel#03 +=== RUN TestJumpIfGreaterThan/C#04 === RUN TestJumpIfLessThan/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -2911,16 +3296,42 @@ return: 12: Exit === RUN TestJumpIfNotEqual/kernel#02 -=== RUN TestJumpIfGreaterThan/C#05 -=== RUN TestJumpIfLessThan/C#04 -=== RUN TestJumpIfNotEqual/C#03 -=== RUN TestJumpIfEqual/eBPF#04 +=== RUN TestJumpIfEqual/eBPF#03 +=== RUN TestJumpIfGreaterThan/eBPF#04 +=== NAME TestJumpIfEqual/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: JEqImm dst: r4 off: -1 imm: 21 + 3: Mov32Imm dst: r5 imm: 23 + 4: JEqImm dst: r4 off: -1 imm: 0 + filter_block_3: + 5: JEqReg dst: r4 off: -1 src: r5 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 9: Mov32Imm dst: r4 imm: 0 + 10: JaImm dst: r0 off: -1 imm: 0 + filter_block_6: + 11: Mov32Imm dst: r4 imm: 1 + 12: JaImm dst: r0 off: -1 imm: 0 + result: + 13: MovImm dst: r0 imm: 2 + 14: JEqImm dst: r4 off: -1 imm: 0 + 15: MovImm dst: r0 imm: 1 + return: + 16: Exit +=== RUN TestJumpIfEqual/kernel#03 +=== NAME TestJumpIfGreaterThan/eBPF#04 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 23 + 3: JGTImm dst: r4 off: -1 imm: 23 filter_block_2: 4: Mov32Imm dst: r4 imm: 0 5: JaImm dst: r0 off: -1 imm: 0 @@ -2933,41 +3344,40 @@ 10: MovImm dst: r0 imm: 1 return: 11: Exit -=== RUN TestJumpIfEqual/kernel#04 -=== RUN TestJumpIfEqual/C#05 -=== RUN TestJumpIfGreaterThan/eBPF#05 +=== RUN TestJumpIfGreaterThan/kernel#04 +=== RUN TestJumpIfEqual/C#04 +=== RUN TestJumpIfLessThan/C#04 +=== RUN TestJumpIfNotEqual/C#03 +=== RUN TestJumpIfGreaterThan/C#05 +=== RUN TestJumpIfLessThan/eBPF#04 +=== RUN TestJumpIfEqual/eBPF#04 +=== NAME TestJumpIfLessThan/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: JEqImm dst: r4 off: -1 imm: 0 + 3: JLTImm dst: r4 off: -1 imm: 23 filter_block_2: - 4: JGTImm dst: r4 off: -1 imm: 23 - 5: JaImm dst: r0 off: -1 imm: 0 + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 8: Mov32Imm dst: r4 imm: 0 - 9: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 10: Mov32Imm dst: r4 imm: 1 - 11: JaImm dst: r0 off: -1 imm: 0 result: - 12: MovImm dst: r0 imm: 2 - 13: JEqImm dst: r4 off: -1 imm: 0 - 14: MovImm dst: r0 imm: 1 + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 return: - 15: Exit -=== RUN TestJumpIfGreaterThan/kernel#05 -=== RUN TestJumpIfLessThan/eBPF#04 + 11: Exit +=== RUN TestJumpIfLessThan/kernel#04 +=== NAME TestJumpIfEqual/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: JLTImm dst: r4 off: -1 imm: 23 + 3: JEqImm dst: r4 off: -1 imm: 21 filter_block_2: 4: Mov32Imm dst: r4 imm: 0 5: JaImm dst: r0 off: -1 imm: 0 @@ -2980,7 +3390,8 @@ 10: MovImm dst: r0 imm: 1 return: 11: Exit -=== RUN TestJumpIfLessThan/kernel#04 +=== RUN TestJumpIfEqual/kernel#04 +=== RUN TestJumpIfGreaterThan/eBPF#05 === RUN TestJumpIfNotEqual/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3008,11 +3419,7 @@ return: 16: Exit === RUN TestJumpIfNotEqual/kernel#03 -=== RUN TestJumpIfGreaterThan/C#06 -=== RUN TestJumpIfLessThan/C#05 -=== RUN TestJumpIfEqual/eBPF#05 -=== RUN TestJumpIfNotEqual/C#04 -=== NAME TestJumpIfEqual/eBPF#05 +=== NAME TestJumpIfGreaterThan/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -3020,7 +3427,7 @@ 2: Mov32Imm dst: r4 imm: 23 3: JEqImm dst: r4 off: -1 imm: 0 filter_block_2: - 4: JEqImm dst: r4 off: -1 imm: 21 + 4: JGTImm dst: r4 off: -1 imm: 23 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 @@ -3037,29 +3444,11 @@ 14: MovImm dst: r0 imm: 1 return: 15: Exit -=== RUN TestJumpIfEqual/kernel#05 -=== RUN TestJumpIfEqual/C#06 -=== RUN TestJumpIfGreaterThan/eBPF#06 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 23 - 3: Mov32Imm dst: r5 imm: 23 - 4: JGTReg dst: r4 off: -1 src: r5 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestJumpIfGreaterThan/kernel#06 +=== RUN TestJumpIfGreaterThan/kernel#05 +=== RUN TestJumpIfEqual/C#05 +=== RUN TestJumpIfLessThan/C#05 +=== RUN TestJumpIfGreaterThan/C#06 +=== RUN TestJumpIfNotEqual/C#04 === RUN TestJumpIfLessThan/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3086,37 +3475,42 @@ return: 15: Exit === RUN TestJumpIfLessThan/kernel#05 -=== RUN TestJumpIfNotEqual/eBPF#04 +=== RUN TestJumpIfEqual/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: JNEImm dst: r4 off: -1 imm: 21 + 3: JEqImm dst: r4 off: -1 imm: 0 filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 + 4: JEqImm dst: r4 off: -1 imm: 21 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: 6: Mov32Imm dst: r4 imm: 1 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 8: Mov32Imm dst: r4 imm: 0 + 9: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 + 12: MovImm dst: r0 imm: 2 + 13: JEqImm dst: r4 off: -1 imm: 0 + 14: MovImm dst: r0 imm: 1 return: - 11: Exit -=== RUN TestJumpIfNotEqual/kernel#04 -=== RUN TestJumpIfNotEqual/C#05 -=== RUN TestJumpIfGreaterThan/C#07 -=== RUN TestJumpIfLessThan/C#06 -=== RUN TestJumpIfEqual/eBPF#06 + 15: Exit +=== RUN TestJumpIfEqual/kernel#05 +=== RUN TestJumpIfGreaterThan/eBPF#06 +=== RUN TestJumpIfNotEqual/eBPF#04 +=== NAME TestJumpIfGreaterThan/eBPF#06 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: Mov32Imm dst: r5 imm: 21 - 4: JEqReg dst: r4 off: -1 src: r5 + 3: Mov32Imm dst: r5 imm: 23 + 4: JGTReg dst: r4 off: -1 src: r5 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 @@ -3129,7 +3523,31 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfEqual/kernel#06 +=== NAME TestJumpIfNotEqual/eBPF#04 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 23 + 3: JNEImm dst: r4 off: -1 imm: 21 + filter_block_2: + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 + result: + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 + return: + 11: Exit +=== RUN TestJumpIfGreaterThan/kernel#06 +=== RUN TestJumpIfNotEqual/kernel#04 +=== RUN TestJumpIfNotEqual/C#05 +=== RUN TestJumpIfLessThan/C#06 +=== RUN TestJumpIfEqual/C#06 +=== RUN TestJumpIfGreaterThan/C#07 === RUN TestJumpIfNotEqual/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3157,42 +3575,37 @@ 15: Exit === RUN TestJumpIfNotEqual/kernel#05 === RUN TestJumpIfNotEqual/C#06 -=== RUN TestJumpIfEqual/C#07 -=== RUN TestJumpIfGreaterThan/eBPF#07 +=== RUN TestJumpIfLessThan/eBPF#06 +=== RUN TestJumpIfEqual/eBPF#06 +=== NAME TestJumpIfLessThan/eBPF#06 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 3: Mov32Imm dst: r5 imm: 23 - 4: JEqImm dst: r4 off: -1 imm: 0 + 4: JLTReg dst: r4 off: -1 src: r5 filter_block_3: - 5: JGTReg dst: r4 off: -1 src: r5 - 6: JaImm dst: r0 off: -1 imm: 0 + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 filter_block_4: 7: Mov32Imm dst: r4 imm: 1 8: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 9: Mov32Imm dst: r4 imm: 0 - 10: JaImm dst: r0 off: -1 imm: 0 - filter_block_6: - 11: Mov32Imm dst: r4 imm: 1 - 12: JaImm dst: r0 off: -1 imm: 0 result: - 13: MovImm dst: r0 imm: 2 - 14: JEqImm dst: r4 off: -1 imm: 0 - 15: MovImm dst: r0 imm: 1 + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 return: - 16: Exit -=== RUN TestJumpIfGreaterThan/kernel#07 -=== RUN TestJumpIfLessThan/eBPF#06 + 12: Exit +=== RUN TestJumpIfLessThan/kernel#06 +=== NAME TestJumpIfEqual/eBPF#06 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: Mov32Imm dst: r5 imm: 23 - 4: JLTReg dst: r4 off: -1 src: r5 + 3: Mov32Imm dst: r5 imm: 21 + 4: JEqReg dst: r4 off: -1 src: r5 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 @@ -3205,7 +3618,37 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestJumpIfLessThan/kernel#06 +=== RUN TestJumpIfEqual/kernel#06 +=== RUN TestJumpIfGreaterThan/eBPF#07 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 23 + 3: Mov32Imm dst: r5 imm: 23 + 4: JEqImm dst: r4 off: -1 imm: 0 + filter_block_3: + 5: JGTReg dst: r4 off: -1 src: r5 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 9: Mov32Imm dst: r4 imm: 0 + 10: JaImm dst: r0 off: -1 imm: 0 + filter_block_6: + 11: Mov32Imm dst: r4 imm: 1 + 12: JaImm dst: r0 off: -1 imm: 0 + result: + 13: MovImm dst: r0 imm: 2 + 14: JEqImm dst: r4 off: -1 imm: 0 + 15: MovImm dst: r0 imm: 1 + return: + 16: Exit +=== RUN TestJumpIfGreaterThan/kernel#07 +=== RUN TestJumpIfLessThan/C#07 +=== RUN TestJumpIfEqual/C#07 +=== RUN TestJumpIfGreaterThan/C#08 === RUN TestJumpIfNotEqual/eBPF#06 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3228,18 +3671,18 @@ 12: Exit === RUN TestJumpIfNotEqual/kernel#06 === RUN TestJumpIfNotEqual/C#07 -=== RUN TestJumpIfLessThan/C#07 -=== RUN TestJumpIfGreaterThan/C#08 +=== RUN TestJumpIfLessThan/eBPF#07 === RUN TestJumpIfEqual/eBPF#07 +=== NAME TestJumpIfLessThan/eBPF#07 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: Mov32Imm dst: r5 imm: 21 + 3: Mov32Imm dst: r5 imm: 23 4: JEqImm dst: r4 off: -1 imm: 0 filter_block_3: - 5: JEqReg dst: r4 off: -1 src: r5 + 5: JLTReg dst: r4 off: -1 src: r5 6: JaImm dst: r0 off: -1 imm: 0 filter_block_4: 7: Mov32Imm dst: r4 imm: 1 @@ -3256,8 +3699,8 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== RUN TestJumpIfEqual/kernel#07 -=== RUN TestJumpIfNotEqual/eBPF#07 +=== RUN TestJumpIfLessThan/kernel#07 +=== NAME TestJumpIfEqual/eBPF#07 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -3266,7 +3709,7 @@ 3: Mov32Imm dst: r5 imm: 21 4: JEqImm dst: r4 off: -1 imm: 0 filter_block_3: - 5: JNEReg dst: r4 off: -1 src: r5 + 5: JEqReg dst: r4 off: -1 src: r5 6: JaImm dst: r0 off: -1 imm: 0 filter_block_4: 7: Mov32Imm dst: r4 imm: 1 @@ -3283,71 +3726,65 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== RUN TestJumpIfNotEqual/kernel#07 ---- PASS: TestJumpIfNotEqual (0.81s) - --- SKIP: TestJumpIfNotEqual/C (0.08s) - --- SKIP: TestJumpIfNotEqual/eBPF (0.00s) - --- PASS: TestJumpIfNotEqual/kernel (0.05s) - --- SKIP: TestJumpIfNotEqual/C#01 (0.07s) - --- SKIP: TestJumpIfNotEqual/eBPF#01 (0.00s) - --- PASS: TestJumpIfNotEqual/kernel#01 (0.05s) - --- SKIP: TestJumpIfNotEqual/C#02 (0.08s) - --- SKIP: TestJumpIfNotEqual/eBPF#02 (0.00s) - --- PASS: TestJumpIfNotEqual/kernel#02 (0.05s) - --- SKIP: TestJumpIfNotEqual/C#03 (0.08s) - --- SKIP: TestJumpIfNotEqual/eBPF#03 (0.00s) - --- PASS: TestJumpIfNotEqual/kernel#03 (0.05s) - --- SKIP: TestJumpIfNotEqual/C#04 (0.07s) - --- SKIP: TestJumpIfNotEqual/eBPF#04 (0.00s) - --- PASS: TestJumpIfNotEqual/kernel#04 (0.00s) - --- SKIP: TestJumpIfNotEqual/C#05 (0.07s) - --- SKIP: TestJumpIfNotEqual/eBPF#05 (0.00s) - --- PASS: TestJumpIfNotEqual/kernel#05 (0.00s) - --- SKIP: TestJumpIfNotEqual/C#06 (0.08s) - --- SKIP: TestJumpIfNotEqual/eBPF#06 (0.00s) - --- PASS: TestJumpIfNotEqual/kernel#06 (0.00s) - --- SKIP: TestJumpIfNotEqual/C#07 (0.07s) - --- SKIP: TestJumpIfNotEqual/eBPF#07 (0.00s) - --- PASS: TestJumpIfNotEqual/kernel#07 (0.00s) -=== CONT TestJump0 -=== RUN TestJump0/C ---- PASS: TestJumpIfEqual (0.81s) - --- SKIP: TestJumpIfEqual/C (0.07s) +=== RUN TestJumpIfEqual/kernel#07 +=== RUN TestJumpIfGreaterThan/eBPF#08 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 22 + 3: JGTImm dst: r4 off: -1 imm: 23 + filter_block_2: + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 + result: + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 + return: + 11: Exit +=== RUN TestJumpIfGreaterThan/kernel#08 +--- PASS: TestJumpIfEqual (1.12s) + --- SKIP: TestJumpIfEqual/C (0.11s) --- SKIP: TestJumpIfEqual/eBPF (0.00s) --- PASS: TestJumpIfEqual/kernel (0.00s) - --- SKIP: TestJumpIfEqual/C#01 (0.08s) + --- SKIP: TestJumpIfEqual/C#01 (0.11s) --- SKIP: TestJumpIfEqual/eBPF#01 (0.00s) --- PASS: TestJumpIfEqual/kernel#01 (0.00s) - --- SKIP: TestJumpIfEqual/C#02 (0.08s) + --- SKIP: TestJumpIfEqual/C#02 (0.11s) --- SKIP: TestJumpIfEqual/eBPF#02 (0.00s) --- PASS: TestJumpIfEqual/kernel#02 (0.00s) - --- SKIP: TestJumpIfEqual/C#03 (0.08s) + --- SKIP: TestJumpIfEqual/C#03 (0.11s) --- SKIP: TestJumpIfEqual/eBPF#03 (0.00s) --- PASS: TestJumpIfEqual/kernel#03 (0.00s) - --- SKIP: TestJumpIfEqual/C#04 (0.07s) + --- SKIP: TestJumpIfEqual/C#04 (0.12s) --- SKIP: TestJumpIfEqual/eBPF#04 (0.00s) --- PASS: TestJumpIfEqual/kernel#04 (0.05s) - --- SKIP: TestJumpIfEqual/C#05 (0.07s) + --- SKIP: TestJumpIfEqual/C#05 (0.12s) --- SKIP: TestJumpIfEqual/eBPF#05 (0.00s) --- PASS: TestJumpIfEqual/kernel#05 (0.05s) - --- SKIP: TestJumpIfEqual/C#06 (0.07s) + --- SKIP: TestJumpIfEqual/C#06 (0.12s) --- SKIP: TestJumpIfEqual/eBPF#06 (0.00s) --- PASS: TestJumpIfEqual/kernel#06 (0.05s) - --- SKIP: TestJumpIfEqual/C#07 (0.08s) + --- SKIP: TestJumpIfEqual/C#07 (0.12s) --- SKIP: TestJumpIfEqual/eBPF#07 (0.00s) --- PASS: TestJumpIfEqual/kernel#07 (0.05s) -=== CONT TestJump -=== RUN TestJump/C -=== RUN TestJumpIfLessThan/eBPF#07 +=== RUN TestJumpIfLessThan/C#08 +=== CONT TestJump0 +=== RUN TestJump0/C +=== RUN TestJumpIfNotEqual/eBPF#07 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 23 - 3: Mov32Imm dst: r5 imm: 23 + 3: Mov32Imm dst: r5 imm: 21 4: JEqImm dst: r4 off: -1 imm: 0 filter_block_3: - 5: JLTReg dst: r4 off: -1 src: r5 + 5: JNEReg dst: r4 off: -1 src: r5 6: JaImm dst: r0 off: -1 imm: 0 filter_block_4: 7: Mov32Imm dst: r4 imm: 1 @@ -3364,14 +3801,42 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== RUN TestJumpIfLessThan/kernel#07 -=== RUN TestJumpIfGreaterThan/eBPF#08 +=== RUN TestJumpIfNotEqual/kernel#07 +--- PASS: TestJumpIfNotEqual (1.15s) + --- SKIP: TestJumpIfNotEqual/C (0.11s) + --- SKIP: TestJumpIfNotEqual/eBPF (0.00s) + --- PASS: TestJumpIfNotEqual/kernel (0.05s) + --- SKIP: TestJumpIfNotEqual/C#01 (0.12s) + --- SKIP: TestJumpIfNotEqual/eBPF#01 (0.00s) + --- PASS: TestJumpIfNotEqual/kernel#01 (0.05s) + --- SKIP: TestJumpIfNotEqual/C#02 (0.12s) + --- SKIP: TestJumpIfNotEqual/eBPF#02 (0.00s) + --- PASS: TestJumpIfNotEqual/kernel#02 (0.05s) + --- SKIP: TestJumpIfNotEqual/C#03 (0.11s) + --- SKIP: TestJumpIfNotEqual/eBPF#03 (0.00s) + --- PASS: TestJumpIfNotEqual/kernel#03 (0.05s) + --- SKIP: TestJumpIfNotEqual/C#04 (0.11s) + --- SKIP: TestJumpIfNotEqual/eBPF#04 (0.00s) + --- PASS: TestJumpIfNotEqual/kernel#04 (0.00s) + --- SKIP: TestJumpIfNotEqual/C#05 (0.13s) + --- SKIP: TestJumpIfNotEqual/eBPF#05 (0.00s) + --- PASS: TestJumpIfNotEqual/kernel#05 (0.00s) + --- SKIP: TestJumpIfNotEqual/C#06 (0.12s) + --- SKIP: TestJumpIfNotEqual/eBPF#06 (0.00s) + --- PASS: TestJumpIfNotEqual/kernel#06 (0.00s) + --- SKIP: TestJumpIfNotEqual/C#07 (0.12s) + --- SKIP: TestJumpIfNotEqual/eBPF#07 (0.00s) + --- PASS: TestJumpIfNotEqual/kernel#07 (0.00s) +=== CONT TestJump +=== RUN TestJump/C +=== RUN TestJumpIfGreaterThan/C#09 +=== RUN TestJumpIfLessThan/eBPF#08 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 22 - 3: JGTImm dst: r4 off: -1 imm: 23 + 3: JLTImm dst: r4 off: -1 imm: 23 filter_block_2: 4: Mov32Imm dst: r4 imm: 0 5: JaImm dst: r0 off: -1 imm: 0 @@ -3384,12 +3849,9 @@ 10: MovImm dst: r0 imm: 1 return: 11: Exit -=== RUN TestJumpIfGreaterThan/kernel#08 -=== RUN TestJumpIfLessThan/C#08 -=== RUN TestJumpIfGreaterThan/C#09 +=== RUN TestJumpIfLessThan/kernel#08 +=== RUN TestJumpIfLessThan/C#09 === RUN TestJump0/eBPF -=== RUN TestJump/eBPF -=== NAME TestJump0/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -3415,7 +3877,7 @@ return: 16: Exit === RUN TestJump0/kernel -=== NAME TestJump/eBPF +=== RUN TestJump/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -3442,34 +3904,6 @@ return: 16: Exit === RUN TestJump/kernel -=== RUN TestJumpIfLessThan/eBPF#08 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 22 - 3: JLTImm dst: r4 off: -1 imm: 23 - filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 - return: - 11: Exit -=== RUN TestJumpIfLessThan/kernel#08 ---- PASS: TestJump (0.13s) - --- SKIP: TestJump/C (0.08s) - --- SKIP: TestJump/eBPF (0.00s) - --- PASS: TestJump/kernel (0.05s) -=== CONT TestNegateA -=== RUN TestNegateA/C -=== RUN TestJumpIfLessThan/C#09 -=== RUN TestJump0/C#01 === RUN TestJumpIfGreaterThan/eBPF#09 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3496,6 +3930,13 @@ return: 15: Exit === RUN TestJumpIfGreaterThan/kernel#09 +=== RUN TestJump0/C#01 +--- PASS: TestJump (0.17s) + --- SKIP: TestJump/C (0.12s) + --- SKIP: TestJump/eBPF (0.00s) + --- PASS: TestJump/kernel (0.05s) +=== CONT TestNegateA +=== RUN TestNegateA/C === RUN TestJumpIfGreaterThan/C#10 === RUN TestJumpIfLessThan/eBPF#09 ebpf_test.go:17: @@ -3572,21 +4013,15 @@ return: 16: Exit === RUN TestJump0/kernel#01 ---- PASS: TestJump0 (0.21s) - --- SKIP: TestJump0/C (0.08s) +--- PASS: TestJump0 (0.31s) + --- SKIP: TestJump0/C (0.13s) --- SKIP: TestJump0/eBPF (0.00s) --- PASS: TestJump0/kernel (0.05s) - --- SKIP: TestJump0/C#01 (0.08s) + --- SKIP: TestJump0/C#01 (0.13s) --- SKIP: TestJump0/eBPF#01 (0.00s) --- PASS: TestJump0/kernel#01 (0.00s) === CONT TestALUXor === RUN TestALUXor/C ---- PASS: TestNegateA (0.13s) - --- SKIP: TestNegateA/C (0.08s) - --- SKIP: TestNegateA/eBPF (0.00s) - --- PASS: TestNegateA/kernel (0.05s) -=== CONT TestALUMod -=== RUN TestALUMod/C === RUN TestJumpIfGreaterThan/eBPF#10 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3628,9 +4063,16 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestALUXor/eBPF === RUN TestJumpIfLessThan/kernel#10 -=== NAME TestALUXor/eBPF +=== RUN TestJumpIfLessThan/C#11 +--- PASS: TestNegateA (0.17s) + --- SKIP: TestNegateA/C (0.12s) + --- SKIP: TestNegateA/eBPF (0.00s) + --- PASS: TestNegateA/kernel (0.05s) +=== CONT TestALUMod +=== RUN TestALUMod/C +=== RUN TestJumpIfGreaterThan/C#11 +=== RUN TestALUXor/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -3651,9 +4093,8 @@ return: 12: Exit === RUN TestALUXor/kernel -=== RUN TestJumpIfLessThan/C#11 === RUN TestALUXor/C#01 -=== RUN TestJumpIfGreaterThan/C#11 +=== RUN TestJumpIfLessThan/eBPF#11 === RUN TestALUMod/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3674,9 +4115,7 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestALUMod/kernel -=== RUN TestALUMod/C#01 -=== RUN TestJumpIfLessThan/eBPF#11 +=== NAME TestJumpIfLessThan/eBPF#11 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -3702,69 +4141,48 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit +=== RUN TestALUMod/kernel === RUN TestJumpIfLessThan/kernel#11 ---- PASS: TestJumpIfLessThan (1.32s) - --- SKIP: TestJumpIfLessThan/C (0.07s) +=== RUN TestALUMod/C#01 +--- PASS: TestJumpIfLessThan (1.86s) + --- SKIP: TestJumpIfLessThan/C (0.12s) --- SKIP: TestJumpIfLessThan/eBPF (0.00s) --- PASS: TestJumpIfLessThan/kernel (0.05s) - --- SKIP: TestJumpIfLessThan/C#01 (0.08s) + --- SKIP: TestJumpIfLessThan/C#01 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#01 (0.00s) --- PASS: TestJumpIfLessThan/kernel#01 (0.05s) - --- SKIP: TestJumpIfLessThan/C#02 (0.08s) + --- SKIP: TestJumpIfLessThan/C#02 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#02 (0.00s) --- PASS: TestJumpIfLessThan/kernel#02 (0.05s) - --- SKIP: TestJumpIfLessThan/C#03 (0.08s) + --- SKIP: TestJumpIfLessThan/C#03 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#03 (0.00s) --- PASS: TestJumpIfLessThan/kernel#03 (0.05s) - --- SKIP: TestJumpIfLessThan/C#04 (0.08s) + --- SKIP: TestJumpIfLessThan/C#04 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#04 (0.00s) --- PASS: TestJumpIfLessThan/kernel#04 (0.05s) - --- SKIP: TestJumpIfLessThan/C#05 (0.07s) + --- SKIP: TestJumpIfLessThan/C#05 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#05 (0.00s) --- PASS: TestJumpIfLessThan/kernel#05 (0.05s) - --- SKIP: TestJumpIfLessThan/C#06 (0.08s) + --- SKIP: TestJumpIfLessThan/C#06 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#06 (0.00s) --- PASS: TestJumpIfLessThan/kernel#06 (0.05s) - --- SKIP: TestJumpIfLessThan/C#07 (0.08s) + --- SKIP: TestJumpIfLessThan/C#07 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#07 (0.00s) --- PASS: TestJumpIfLessThan/kernel#07 (0.05s) - --- SKIP: TestJumpIfLessThan/C#08 (0.07s) + --- SKIP: TestJumpIfLessThan/C#08 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#08 (0.00s) --- PASS: TestJumpIfLessThan/kernel#08 (0.00s) - --- SKIP: TestJumpIfLessThan/C#09 (0.07s) + --- SKIP: TestJumpIfLessThan/C#09 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#09 (0.00s) --- PASS: TestJumpIfLessThan/kernel#09 (0.00s) - --- SKIP: TestJumpIfLessThan/C#10 (0.08s) + --- SKIP: TestJumpIfLessThan/C#10 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#10 (0.00s) --- PASS: TestJumpIfLessThan/kernel#10 (0.00s) - --- SKIP: TestJumpIfLessThan/C#11 (0.08s) + --- SKIP: TestJumpIfLessThan/C#11 (0.12s) --- SKIP: TestJumpIfLessThan/eBPF#11 (0.00s) --- PASS: TestJumpIfLessThan/kernel#11 (0.00s) === CONT TestALUShiftRight === RUN TestALUShiftRight/C -=== RUN TestALUXor/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Imm dst: r5 imm: 1 - 4: Xor32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 0 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUXor/kernel#01 -=== RUN TestALUXor/C#02 === RUN TestJumpIfGreaterThan/eBPF#11 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -3792,147 +4210,54 @@ return: 16: Exit === RUN TestJumpIfGreaterThan/kernel#11 -=== RUN TestALUMod/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 16 - 3: Mov32Imm dst: r5 imm: 4 - 4: JEqImm dst: r5 off: -1 imm: 0 - 5: Mod32Reg dst: r4 src: r5 - 6: JEqImm dst: r4 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 0 - 8: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 9: Mov32Imm dst: r4 imm: 1 - 10: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 11: MovImm dst: r4 imm: 0 - 12: JaImm dst: r0 off: -1 imm: 0 - result: - 13: MovImm dst: r0 imm: 2 - 14: JEqImm dst: r4 off: -1 imm: 0 - 15: MovImm dst: r0 imm: 1 - return: - 16: Exit -=== RUN TestALUMod/kernel#01 -=== RUN TestALUMod/C#02 -=== RUN TestALUXor/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 6 - 3: Mod32Imm dst: r4 imm: 4 - 4: JEqImm dst: r4 off: -1 imm: 2 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUXor/kernel#02 -=== RUN TestALUXor/C#03 -=== RUN TestALUShiftRight/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: RSh32Imm dst: r4 imm: 4 - 4: JEqImm dst: r4 off: -1 imm: 15 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUShiftRight/kernel -=== RUN TestALUShiftRight/C#01 ---- PASS: TestJumpIfGreaterThan (1.33s) - --- SKIP: TestJumpIfGreaterThan/C (0.07s) +--- PASS: TestJumpIfGreaterThan (1.80s) + --- SKIP: TestJumpIfGreaterThan/C (0.12s) --- SKIP: TestJumpIfGreaterThan/eBPF (0.00s) --- PASS: TestJumpIfGreaterThan/kernel (0.00s) - --- SKIP: TestJumpIfGreaterThan/C#01 (0.07s) + --- SKIP: TestJumpIfGreaterThan/C#01 (0.11s) --- SKIP: TestJumpIfGreaterThan/eBPF#01 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#01 (0.00s) - --- SKIP: TestJumpIfGreaterThan/C#02 (0.08s) + --- SKIP: TestJumpIfGreaterThan/C#02 (0.11s) --- SKIP: TestJumpIfGreaterThan/eBPF#02 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#02 (0.00s) - --- SKIP: TestJumpIfGreaterThan/C#03 (0.07s) + --- SKIP: TestJumpIfGreaterThan/C#03 (0.11s) --- SKIP: TestJumpIfGreaterThan/eBPF#03 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#03 (0.00s) - --- SKIP: TestJumpIfGreaterThan/C#04 (0.08s) + --- SKIP: TestJumpIfGreaterThan/C#04 (0.11s) --- SKIP: TestJumpIfGreaterThan/eBPF#04 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#04 (0.05s) - --- SKIP: TestJumpIfGreaterThan/C#05 (0.08s) + --- SKIP: TestJumpIfGreaterThan/C#05 (0.11s) --- SKIP: TestJumpIfGreaterThan/eBPF#05 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#05 (0.05s) - --- SKIP: TestJumpIfGreaterThan/C#06 (0.08s) + --- SKIP: TestJumpIfGreaterThan/C#06 (0.11s) --- SKIP: TestJumpIfGreaterThan/eBPF#06 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#06 (0.05s) - --- SKIP: TestJumpIfGreaterThan/C#07 (0.08s) + --- SKIP: TestJumpIfGreaterThan/C#07 (0.12s) --- SKIP: TestJumpIfGreaterThan/eBPF#07 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#07 (0.05s) - --- SKIP: TestJumpIfGreaterThan/C#08 (0.07s) + --- SKIP: TestJumpIfGreaterThan/C#08 (0.12s) --- SKIP: TestJumpIfGreaterThan/eBPF#08 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#08 (0.05s) - --- SKIP: TestJumpIfGreaterThan/C#09 (0.07s) + --- SKIP: TestJumpIfGreaterThan/C#09 (0.12s) --- SKIP: TestJumpIfGreaterThan/eBPF#09 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#09 (0.05s) - --- SKIP: TestJumpIfGreaterThan/C#10 (0.08s) + --- SKIP: TestJumpIfGreaterThan/C#10 (0.12s) --- SKIP: TestJumpIfGreaterThan/eBPF#10 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#10 (0.05s) - --- SKIP: TestJumpIfGreaterThan/C#11 (0.08s) + --- SKIP: TestJumpIfGreaterThan/C#11 (0.13s) --- SKIP: TestJumpIfGreaterThan/eBPF#11 (0.00s) --- PASS: TestJumpIfGreaterThan/kernel#11 (0.05s) -=== CONT TestALUShiftLeft -=== RUN TestALUShiftLeft/C -=== RUN TestALUMod/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 17 - 3: Mod32Imm dst: r4 imm: 4 - 4: JEqImm dst: r4 off: -1 imm: 1 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUMod/kernel#02 -=== RUN TestALUMod/C#03 -=== RUN TestALUShiftRight/eBPF#01 +=== CONT TestLoadAbsolute +=== RUN TestLoadAbsolute/C +=== RUN TestALUXor/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: Mov32Imm dst: r5 imm: 4 - 4: RSh32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 15 + 2: Mov32Imm dst: r4 imm: 1 + 3: Mov32Imm dst: r5 imm: 1 + 4: Xor32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 0 filter_block_4: 6: Mov32Imm dst: r4 imm: 0 7: JaImm dst: r0 off: -1 imm: 0 @@ -3945,57 +4270,16 @@ 12: MovImm dst: r0 imm: 1 return: 13: Exit -=== RUN TestALUShiftRight/kernel#01 -=== RUN TestALUShiftRight/C#02 -=== RUN TestALUXor/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 6 - 3: Mov32Imm dst: r5 imm: 4 - 4: JEqImm dst: r5 off: -1 imm: 0 - 5: Mod32Reg dst: r4 src: r5 - 6: JEqImm dst: r4 off: -1 imm: 2 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 0 - 8: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 9: Mov32Imm dst: r4 imm: 1 - 10: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 11: MovImm dst: r4 imm: 0 - 12: JaImm dst: r0 off: -1 imm: 0 - result: - 13: MovImm dst: r0 imm: 2 - 14: JEqImm dst: r4 off: -1 imm: 0 - 15: MovImm dst: r0 imm: 1 - return: - 16: Exit -=== RUN TestALUXor/kernel#03 ---- PASS: TestALUXor (0.31s) - --- SKIP: TestALUXor/C (0.07s) - --- SKIP: TestALUXor/eBPF (0.00s) - --- PASS: TestALUXor/kernel (0.00s) - --- SKIP: TestALUXor/C#01 (0.08s) - --- SKIP: TestALUXor/eBPF#01 (0.00s) - --- PASS: TestALUXor/kernel#01 (0.00s) - --- SKIP: TestALUXor/C#02 (0.08s) - --- SKIP: TestALUXor/eBPF#02 (0.00s) - --- PASS: TestALUXor/kernel#02 (0.00s) - --- SKIP: TestALUXor/C#03 (0.08s) - --- SKIP: TestALUXor/eBPF#03 (0.00s) - --- PASS: TestALUXor/kernel#03 (0.00s) -=== CONT TestALUAnd -=== RUN TestALUAnd/C -=== RUN TestALUShiftLeft/eBPF +=== RUN TestALUXor/kernel#01 +=== RUN TestALUXor/C#02 +=== RUN TestALUShiftRight/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: LSh32Imm dst: r4 imm: 0 - 4: JEqImm dst: r4 off: -1 imm: 1 + 2: Mov32Imm dst: r4 imm: 240 + 3: RSh32Imm dst: r4 imm: 4 + 4: JEqImm dst: r4 off: -1 imm: 15 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 @@ -4008,18 +4292,19 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestALUShiftLeft/kernel -=== RUN TestALUShiftLeft/C#01 -=== RUN TestALUMod/eBPF#03 +=== RUN TestALUShiftRight/kernel +=== RUN TestALUMod/eBPF#01 +=== RUN TestALUShiftRight/C#01 +=== NAME TestALUMod/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 17 + 2: Mov32Imm dst: r4 imm: 16 3: Mov32Imm dst: r5 imm: 4 4: JEqImm dst: r5 off: -1 imm: 0 5: Mod32Reg dst: r4 src: r5 - 6: JEqImm dst: r4 off: -1 imm: 1 + 6: JEqImm dst: r4 off: -1 imm: 0 filter_block_4: 7: Mov32Imm dst: r4 imm: 0 8: JaImm dst: r0 off: -1 imm: 0 @@ -4035,355 +4320,16 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== RUN TestALUMod/kernel#03 ---- PASS: TestALUMod (0.30s) - --- SKIP: TestALUMod/C (0.08s) - --- SKIP: TestALUMod/eBPF (0.00s) - --- PASS: TestALUMod/kernel (0.00s) - --- SKIP: TestALUMod/C#01 (0.08s) - --- SKIP: TestALUMod/eBPF#01 (0.00s) - --- PASS: TestALUMod/kernel#01 (0.00s) - --- SKIP: TestALUMod/C#02 (0.07s) - --- SKIP: TestALUMod/eBPF#02 (0.00s) - --- PASS: TestALUMod/kernel#02 (0.00s) - --- SKIP: TestALUMod/C#03 (0.08s) - --- SKIP: TestALUMod/eBPF#03 (0.00s) - --- PASS: TestALUMod/kernel#03 (0.00s) -=== CONT TestALUOr -=== RUN TestALUOr/C -=== RUN TestALUShiftRight/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: RSh32Imm dst: r4 imm: 8 - 4: JEqImm dst: r4 off: -1 imm: 0 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUShiftRight/kernel#02 -=== RUN TestALUAnd/eBPF -=== RUN TestALUShiftRight/C#03 -=== NAME TestALUAnd/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: And32Imm dst: r4 imm: 0 - 4: JEqImm dst: r4 off: -1 imm: 0 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUAnd/kernel -=== RUN TestALUAnd/C#01 -=== RUN TestALUShiftLeft/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Imm dst: r5 imm: 0 - 4: LSh32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 1 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUShiftLeft/kernel#01 -=== RUN TestALUShiftLeft/C#02 -=== RUN TestALUOr/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Or32Imm dst: r4 imm: 0 - 4: JEqImm dst: r4 off: -1 imm: 1 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUOr/kernel -=== RUN TestALUOr/C#01 -=== RUN TestALUShiftRight/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: Mov32Imm dst: r5 imm: 8 - 4: RSh32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 0 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUShiftRight/kernel#03 ---- PASS: TestALUShiftRight (0.31s) - --- SKIP: TestALUShiftRight/C (0.08s) - --- SKIP: TestALUShiftRight/eBPF (0.00s) - --- PASS: TestALUShiftRight/kernel (0.00s) - --- SKIP: TestALUShiftRight/C#01 (0.07s) - --- SKIP: TestALUShiftRight/eBPF#01 (0.00s) - --- PASS: TestALUShiftRight/kernel#01 (0.00s) - --- SKIP: TestALUShiftRight/C#02 (0.08s) - --- SKIP: TestALUShiftRight/eBPF#02 (0.00s) - --- PASS: TestALUShiftRight/kernel#02 (0.00s) - --- SKIP: TestALUShiftRight/C#03 (0.08s) - --- SKIP: TestALUShiftRight/eBPF#03 (0.00s) - --- PASS: TestALUShiftRight/kernel#03 (0.00s) -=== CONT TestALUDivZero -=== RUN TestALUDivZero/C -=== RUN TestALUAnd/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Imm dst: r5 imm: 0 - 4: And32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 0 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUAnd/kernel#01 -=== RUN TestALUAnd/C#02 -=== RUN TestALUShiftLeft/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: LSh32Imm dst: r4 imm: 4 - 4: JEqImm dst: r4 off: -1 imm: 16 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUShiftLeft/kernel#02 -=== RUN TestALUShiftLeft/C#03 -=== RUN TestALUOr/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Imm dst: r5 imm: 0 - 4: Or32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 1 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUOr/kernel#01 -=== RUN TestALUOr/C#02 -=== RUN TestALUAnd/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: And32Imm dst: r4 imm: 128 - 4: JEqImm dst: r4 off: -1 imm: 128 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUAnd/kernel#02 -=== RUN TestALUAnd/C#03 -=== RUN TestALUDivZero/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 1 - 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemB dst: r4 src: r2 off: 0 imm: 0 - 6: Mov32Reg dst: r5 src: r4 - 7: Mov32Imm dst: r4 imm: 10 - 8: JEqImm dst: r5 off: -1 imm: 0 - 9: Div32Reg dst: r4 src: r5 - 10: Mov32Imm dst: r4 imm: 1 - 11: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 12: MovImm dst: r4 imm: 0 - 13: JaImm dst: r0 off: -1 imm: 0 - result: - 14: MovImm dst: r0 imm: 2 - 15: JEqImm dst: r4 off: -1 imm: 0 - 16: MovImm dst: r0 imm: 1 - return: - 17: Exit -=== RUN TestALUDivZero/kernel -=== RUN TestALUShiftLeft/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Imm dst: r5 imm: 4 - 4: LSh32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 16 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUShiftLeft/kernel#03 ---- PASS: TestALUShiftLeft (0.31s) - --- SKIP: TestALUShiftLeft/C (0.08s) - --- SKIP: TestALUShiftLeft/eBPF (0.00s) - --- PASS: TestALUShiftLeft/kernel (0.00s) - --- SKIP: TestALUShiftLeft/C#01 (0.08s) - --- SKIP: TestALUShiftLeft/eBPF#01 (0.00s) - --- PASS: TestALUShiftLeft/kernel#01 (0.00s) - --- SKIP: TestALUShiftLeft/C#02 (0.08s) - --- SKIP: TestALUShiftLeft/eBPF#02 (0.00s) - --- PASS: TestALUShiftLeft/kernel#02 (0.00s) - --- SKIP: TestALUShiftLeft/C#03 (0.08s) - --- SKIP: TestALUShiftLeft/eBPF#03 (0.00s) - --- PASS: TestALUShiftLeft/kernel#03 (0.00s) -=== CONT TestALUDiv -=== RUN TestALUDiv/C -=== RUN TestALUOr/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: Or32Imm dst: r4 imm: 15 - 4: JEqImm dst: r4 off: -1 imm: 255 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUOr/kernel#02 -=== RUN TestALUOr/C#03 -=== RUN TestALUDivZero/C#01 -=== RUN TestALUAnd/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: Mov32Imm dst: r5 imm: 128 - 4: And32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 128 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUAnd/kernel#03 -=== RUN TestALUAnd/C#04 -=== RUN TestALUDiv/eBPF +=== RUN TestALUMod/kernel#01 +=== RUN TestALUMod/C#02 +=== RUN TestALUXor/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 2 - 3: Div32Imm dst: r4 imm: 2 - 4: JEqImm dst: r4 off: -1 imm: 1 + 2: Mov32Imm dst: r4 imm: 6 + 3: Mod32Imm dst: r4 imm: 4 + 4: JEqImm dst: r4 off: -1 imm: 2 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 6: JaImm dst: r0 off: -1 imm: 0 @@ -4396,115 +4342,22 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestALUDiv/kernel -=== RUN TestALUDiv/C#01 -=== RUN TestALUOr/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: Mov32Imm dst: r5 imm: 15 - 4: Or32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 255 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUOr/kernel#03 ---- PASS: TestALUOr (0.31s) - --- SKIP: TestALUOr/C (0.08s) - --- SKIP: TestALUOr/eBPF (0.00s) - --- PASS: TestALUOr/kernel (0.00s) - --- SKIP: TestALUOr/C#01 (0.08s) - --- SKIP: TestALUOr/eBPF#01 (0.00s) - --- PASS: TestALUOr/kernel#01 (0.00s) - --- SKIP: TestALUOr/C#02 (0.08s) - --- SKIP: TestALUOr/eBPF#02 (0.00s) - --- PASS: TestALUOr/kernel#02 (0.00s) - --- SKIP: TestALUOr/C#03 (0.08s) - --- SKIP: TestALUOr/eBPF#03 (0.00s) - --- PASS: TestALUOr/kernel#03 (0.00s) -=== CONT TestALUMul -=== RUN TestALUMul/C -=== RUN TestALUDivZero/eBPF#01 +=== RUN TestALUXor/kernel#02 +=== RUN TestALUXor/C#03 +=== RUN TestLoadAbsolute/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 1 + 3: AddImm dst: r6 imm: 3 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemB dst: r4 src: r2 off: 0 imm: 0 - 6: Mov32Reg dst: r5 src: r4 - 7: Mov32Imm dst: r4 imm: 10 - 8: JEqImm dst: r5 off: -1 imm: 0 - 9: Div32Reg dst: r4 src: r5 - 10: Mov32Imm dst: r4 imm: 1 - 11: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 12: MovImm dst: r4 imm: 0 - 13: JaImm dst: r0 off: -1 imm: 0 - result: - 14: MovImm dst: r0 imm: 2 - 15: JEqImm dst: r4 off: -1 imm: 0 - 16: MovImm dst: r0 imm: 1 - return: - 17: Exit -=== RUN TestALUDivZero/kernel#01 ---- PASS: TestALUDivZero (0.22s) - --- SKIP: TestALUDivZero/C (0.08s) - --- SKIP: TestALUDivZero/eBPF (0.00s) - --- PASS: TestALUDivZero/kernel (0.05s) - --- SKIP: TestALUDivZero/C#01 (0.08s) - --- SKIP: TestALUDivZero/eBPF#01 (0.00s) - --- PASS: TestALUDivZero/kernel#01 (0.00s) -=== CONT TestALUSub -=== RUN TestALUSub/C -=== RUN TestALUAnd/eBPF#04 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 240 - 3: And32Imm dst: r4 imm: 15 - 4: JEqImm dst: r4 off: -1 imm: 0 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUAnd/kernel#04 -=== RUN TestALUAnd/C#05 -=== RUN TestALUDiv/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 2 - 3: Mov32Imm dst: r5 imm: 2 - 4: JEqImm dst: r5 off: -1 imm: 0 - 5: Div32Reg dst: r4 src: r5 - 6: JEqImm dst: r4 off: -1 imm: 1 - filter_block_4: + 5: LdXMemB dst: r4 src: r2 off: 2 imm: 0 + 6: JEqImm dst: r4 off: -1 imm: 5 + filter_block_2: 7: Mov32Imm dst: r4 imm: 0 8: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: + filter_block_3: 9: Mov32Imm dst: r4 imm: 1 10: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: @@ -4516,149 +4369,19 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== RUN TestALUDiv/kernel#01 -=== RUN TestALUDiv/C#02 -=== RUN TestALUMul/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 0 - 3: Mul32Imm dst: r4 imm: 1 - 4: JEqImm dst: r4 off: -1 imm: 0 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUMul/kernel -=== RUN TestALUMul/C#01 -=== RUN TestALUSub/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Sub32Imm dst: r4 imm: 1 - 4: JEqImm dst: r4 off: -1 imm: 0 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUSub/kernel -=== RUN TestALUSub/C#01 -=== RUN TestALUAnd/eBPF#05 +=== RUN TestLoadAbsolute/kernel +=== RUN TestLoadAbsolute/C#01 +=== RUN TestALUShiftRight/eBPF#01 +=== RUN TestALUMod/eBPF#02 +=== NAME TestALUShiftRight/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: Mov32Imm dst: r4 imm: 240 - 3: Mov32Imm dst: r5 imm: 15 - 4: And32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 0 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUAnd/kernel#05 ---- PASS: TestALUAnd (0.46s) - --- SKIP: TestALUAnd/C (0.08s) - --- SKIP: TestALUAnd/eBPF (0.00s) - --- PASS: TestALUAnd/kernel (0.00s) - --- SKIP: TestALUAnd/C#01 (0.08s) - --- SKIP: TestALUAnd/eBPF#01 (0.00s) - --- PASS: TestALUAnd/kernel#01 (0.00s) - --- SKIP: TestALUAnd/C#02 (0.08s) - --- SKIP: TestALUAnd/eBPF#02 (0.00s) - --- PASS: TestALUAnd/kernel#02 (0.00s) - --- SKIP: TestALUAnd/C#03 (0.08s) - --- SKIP: TestALUAnd/eBPF#03 (0.00s) - --- PASS: TestALUAnd/kernel#03 (0.00s) - --- SKIP: TestALUAnd/C#04 (0.07s) - --- SKIP: TestALUAnd/eBPF#04 (0.00s) - --- PASS: TestALUAnd/kernel#04 (0.00s) - --- SKIP: TestALUAnd/C#05 (0.07s) - --- SKIP: TestALUAnd/eBPF#05 (0.00s) - --- PASS: TestALUAnd/kernel#05 (0.00s) -=== CONT TestALUAdd -=== RUN TestALUAdd/C -=== RUN TestALUDiv/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 19 - 3: Div32Imm dst: r4 imm: 3 - 4: JEqImm dst: r4 off: -1 imm: 6 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUDiv/kernel#02 -=== RUN TestALUDiv/C#03 -=== RUN TestALUMul/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 0 - 3: Mov32Imm dst: r5 imm: 1 - 4: Mul32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 0 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUMul/kernel#01 -=== RUN TestALUMul/C#02 -=== RUN TestALUSub/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Imm dst: r5 imm: 1 - 4: Sub32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 0 + 3: Mov32Imm dst: r5 imm: 4 + 4: RSh32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 15 filter_block_4: 6: Mov32Imm dst: r4 imm: 0 7: JaImm dst: r0 off: -1 imm: 0 @@ -4671,15 +4394,14 @@ 12: MovImm dst: r0 imm: 1 return: 13: Exit -=== RUN TestALUSub/kernel#01 -=== RUN TestALUSub/C#02 -=== RUN TestALUAdd/eBPF +=== RUN TestALUShiftRight/kernel#01 +=== NAME TestALUMod/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Add32Imm dst: r4 imm: 0 + 2: Mov32Imm dst: r4 imm: 17 + 3: Mod32Imm dst: r4 imm: 4 4: JEqImm dst: r4 off: -1 imm: 1 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 @@ -4693,18 +4415,19 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestALUAdd/kernel -=== RUN TestALUAdd/C#01 -=== RUN TestALUDiv/eBPF#03 +=== RUN TestALUMod/kernel#02 +=== RUN TestALUShiftRight/C#02 +=== RUN TestALUMod/C#03 +=== RUN TestALUXor/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 19 - 3: Mov32Imm dst: r5 imm: 3 + 2: Mov32Imm dst: r4 imm: 6 + 3: Mov32Imm dst: r5 imm: 4 4: JEqImm dst: r5 off: -1 imm: 0 - 5: Div32Reg dst: r4 src: r5 - 6: JEqImm dst: r4 off: -1 imm: 6 + 5: Mod32Reg dst: r4 src: r5 + 6: JEqImm dst: r4 off: -1 imm: 2 filter_block_4: 7: Mov32Imm dst: r4 imm: 0 8: JaImm dst: r0 off: -1 imm: 0 @@ -4720,200 +4443,23 @@ 15: MovImm dst: r0 imm: 1 return: 16: Exit -=== RUN TestALUDiv/kernel#03 ---- PASS: TestALUDiv (0.30s) - --- SKIP: TestALUDiv/C (0.07s) - --- SKIP: TestALUDiv/eBPF (0.00s) - --- PASS: TestALUDiv/kernel (0.00s) - --- SKIP: TestALUDiv/C#01 (0.07s) - --- SKIP: TestALUDiv/eBPF#01 (0.00s) - --- PASS: TestALUDiv/kernel#01 (0.00s) - --- SKIP: TestALUDiv/C#02 (0.07s) - --- SKIP: TestALUDiv/eBPF#02 (0.00s) - --- PASS: TestALUDiv/kernel#02 (0.00s) - --- SKIP: TestALUDiv/C#03 (0.08s) - --- SKIP: TestALUDiv/eBPF#03 (0.00s) - --- PASS: TestALUDiv/kernel#03 (0.00s) -=== CONT TestLoadExtLen -=== RUN TestLoadExtLen/C -=== RUN TestALUMul/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 4 - 3: Mul32Imm dst: r4 imm: 13 - 4: JEqImm dst: r4 off: -1 imm: 52 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUMul/kernel#02 -=== RUN TestALUMul/C#03 -=== RUN TestALUAdd/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Imm dst: r5 imm: 0 - 4: Add32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 1 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUAdd/kernel#01 -=== RUN TestALUSub/eBPF#02 -=== RUN TestALUAdd/C#02 -=== NAME TestALUSub/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 13 - 3: Sub32Imm dst: r4 imm: 9 - 4: JEqImm dst: r4 off: -1 imm: 4 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUSub/kernel#02 -=== RUN TestALUSub/C#03 -=== RUN TestLoadExtLen/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: MovReg dst: r4 src: r3 - 3: Sub32Reg dst: r4 src: r2 - 4: JEqImm dst: r4 off: -1 imm: 16 - filter_block_2: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestLoadExtLen/kernel ---- PASS: TestLoadExtLen (0.08s) - --- SKIP: TestLoadExtLen/C (0.08s) - --- SKIP: TestLoadExtLen/eBPF (0.00s) - --- PASS: TestLoadExtLen/kernel (0.00s) -=== CONT TestMemShift -=== RUN TestMemShift/C -=== RUN TestALUMul/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 4 - 3: Mov32Imm dst: r5 imm: 13 - 4: Mul32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 52 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUMul/kernel#03 -=== RUN TestALUMul/C#04 -=== RUN TestALUSub/eBPF#03 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 13 - 3: Mov32Imm dst: r5 imm: 9 - 4: Sub32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 4 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUSub/kernel#03 ---- PASS: TestALUSub (0.31s) - --- SKIP: TestALUSub/C (0.08s) - --- SKIP: TestALUSub/eBPF (0.00s) - --- PASS: TestALUSub/kernel (0.00s) - --- SKIP: TestALUSub/C#01 (0.08s) - --- SKIP: TestALUSub/eBPF#01 (0.00s) - --- PASS: TestALUSub/kernel#01 (0.00s) - --- SKIP: TestALUSub/C#02 (0.08s) - --- SKIP: TestALUSub/eBPF#02 (0.00s) - --- PASS: TestALUSub/kernel#02 (0.00s) - --- SKIP: TestALUSub/C#03 (0.07s) - --- SKIP: TestALUSub/eBPF#03 (0.00s) - --- PASS: TestALUSub/kernel#03 (0.00s) -=== CONT TestScratchX -=== RUN TestScratchX/C -=== RUN TestALUAdd/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 4 - 3: Add32Imm dst: r4 imm: 13 - 4: JEqImm dst: r4 off: -1 imm: 17 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestALUAdd/kernel#02 -=== RUN TestALUAdd/C#03 -=== RUN TestMemShift/eBPF +=== RUN TestALUXor/kernel#03 +--- PASS: TestALUXor (0.49s) + --- SKIP: TestALUXor/C (0.12s) + --- SKIP: TestALUXor/eBPF (0.00s) + --- PASS: TestALUXor/kernel (0.00s) + --- SKIP: TestALUXor/C#01 (0.12s) + --- SKIP: TestALUXor/eBPF#01 (0.00s) + --- PASS: TestALUXor/kernel#01 (0.00s) + --- SKIP: TestALUXor/C#02 (0.12s) + --- SKIP: TestALUXor/eBPF#02 (0.00s) + --- PASS: TestALUXor/kernel#02 (0.00s) + --- SKIP: TestALUXor/C#03 (0.12s) + --- SKIP: TestALUXor/eBPF#03 (0.00s) + --- PASS: TestALUXor/kernel#03 (0.00s) +=== CONT TestScratchA +=== RUN TestScratchA/C +=== RUN TestLoadAbsolute/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -4921,35 +4467,33 @@ 2: MovReg dst: r6 src: r2 3: AddImm dst: r6 imm: 3 4: JGTReg dst: r6 off: -1 src: r3 - 5: Mov32Imm dst: r4 imm: 40 - 6: LdXMemB dst: r5 src: r2 off: 2 imm: 0 - 7: And32Imm dst: r5 imm: 15 - 8: LSh32Imm dst: r5 imm: 2 - 9: JEqReg dst: r4 off: -1 src: r5 + 5: LdXMemB dst: r4 src: r2 off: 2 imm: 0 + 6: JEqImm dst: r4 off: -1 imm: 6 + filter_block_2: + 7: Mov32Imm dst: r4 imm: 0 + 8: JaImm dst: r0 off: -1 imm: 0 filter_block_3: - 10: Mov32Imm dst: r4 imm: 0 - 11: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 12: Mov32Imm dst: r4 imm: 1 - 13: JaImm dst: r0 off: -1 imm: 0 + 9: Mov32Imm dst: r4 imm: 1 + 10: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: - 14: MovImm dst: r4 imm: 0 - 15: JaImm dst: r0 off: -1 imm: 0 + 11: MovImm dst: r4 imm: 0 + 12: JaImm dst: r0 off: -1 imm: 0 result: - 16: MovImm dst: r0 imm: 2 - 17: JEqImm dst: r4 off: -1 imm: 0 - 18: MovImm dst: r0 imm: 1 + 13: MovImm dst: r0 imm: 2 + 14: JEqImm dst: r4 off: -1 imm: 0 + 15: MovImm dst: r0 imm: 1 return: - 19: Exit -=== RUN TestMemShift/kernel -=== RUN TestMemShift/C#01 -=== RUN TestALUMul/eBPF#04 + 16: Exit +=== RUN TestLoadAbsolute/kernel#01 +=== RUN TestALUShiftRight/eBPF#02 +=== RUN TestALUMod/eBPF#03 +=== NAME TestALUShiftRight/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 2 - 3: Mul32Imm dst: r4 imm: -2147483648 + 2: Mov32Imm dst: r4 imm: 240 + 3: RSh32Imm dst: r4 imm: 8 4: JEqImm dst: r4 off: -1 imm: 0 filter_block_3: 5: Mov32Imm dst: r4 imm: 0 @@ -4963,158 +4507,50 @@ 11: MovImm dst: r0 imm: 1 return: 12: Exit -=== RUN TestALUMul/kernel#04 -=== RUN TestALUMul/C#05 -=== RUN TestALUAdd/eBPF#03 +=== RUN TestALUShiftRight/kernel#02 +=== NAME TestALUMod/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 4 - 3: Mov32Imm dst: r5 imm: 13 - 4: Add32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 17 + 2: Mov32Imm dst: r4 imm: 17 + 3: Mov32Imm dst: r5 imm: 4 + 4: JEqImm dst: r5 off: -1 imm: 0 + 5: Mod32Reg dst: r4 src: r5 + 6: JEqImm dst: r4 off: -1 imm: 1 filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 + 7: Mov32Imm dst: r4 imm: 0 + 8: JaImm dst: r0 off: -1 imm: 0 filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUAdd/kernel#03 -=== RUN TestScratchX/eBPF ---- PASS: TestALUAdd (0.30s) - --- SKIP: TestALUAdd/C (0.08s) - --- SKIP: TestALUAdd/eBPF (0.00s) - --- PASS: TestALUAdd/kernel (0.00s) - --- SKIP: TestALUAdd/C#01 (0.07s) - --- SKIP: TestALUAdd/eBPF#01 (0.00s) - --- PASS: TestALUAdd/kernel#01 (0.00s) - --- SKIP: TestALUAdd/C#02 (0.08s) - --- SKIP: TestALUAdd/eBPF#02 (0.00s) - --- PASS: TestALUAdd/kernel#02 (0.00s) - --- SKIP: TestALUAdd/C#03 (0.08s) - --- SKIP: TestALUAdd/eBPF#03 (0.00s) - --- PASS: TestALUAdd/kernel#03 (0.00s) -=== CONT TestScratchA -=== RUN TestScratchA/C -=== NAME TestScratchX/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r5 imm: -559038737 - 3: StXMemW dst: rfp src: r5 off: -32 imm: 0 - 4: Mov32Imm dst: r5 imm: 0 - 5: Mov32Imm dst: r5 imm: -1 - 6: StXMemW dst: rfp src: r5 off: -28 imm: 0 - 7: Mov32Imm dst: r5 imm: -1 - 8: StXMemW dst: rfp src: r5 off: -36 imm: 0 - 9: LdXMemW dst: r5 src: rfp off: -32 imm: 0 - 10: Mov32Reg dst: r4 src: r5 - 11: Mov32Imm dst: r6 imm: -559038737 - 12: JEqReg dst: r4 off: -1 src: r6 - filter_block_10: - 13: Mov32Imm dst: r4 imm: 0 - 14: JaImm dst: r0 off: -1 imm: 0 - filter_block_11: - 15: Mov32Imm dst: r4 imm: 1 - 16: JaImm dst: r0 off: -1 imm: 0 - result: - 17: MovImm dst: r0 imm: 2 - 18: JEqImm dst: r4 off: -1 imm: 0 - 19: MovImm dst: r0 imm: 1 - return: - 20: Exit -=== RUN TestScratchX/kernel -=== RUN TestScratchX/C#01 -=== RUN TestMemShift/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 3 - 4: JGTReg dst: r6 off: -1 src: r3 - 5: Mov32Imm dst: r4 imm: 0 - 6: LdXMemB dst: r5 src: r2 off: 2 imm: 0 - 7: And32Imm dst: r5 imm: 15 - 8: LSh32Imm dst: r5 imm: 2 - 9: JEqReg dst: r4 off: -1 src: r5 - filter_block_3: - 10: Mov32Imm dst: r4 imm: 0 - 11: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 12: Mov32Imm dst: r4 imm: 1 - 13: JaImm dst: r0 off: -1 imm: 0 + 9: Mov32Imm dst: r4 imm: 1 + 10: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: - 14: MovImm dst: r4 imm: 0 - 15: JaImm dst: r0 off: -1 imm: 0 + 11: MovImm dst: r4 imm: 0 + 12: JaImm dst: r0 off: -1 imm: 0 result: - 16: MovImm dst: r0 imm: 2 - 17: JEqImm dst: r4 off: -1 imm: 0 - 18: MovImm dst: r0 imm: 1 + 13: MovImm dst: r0 imm: 2 + 14: JEqImm dst: r4 off: -1 imm: 0 + 15: MovImm dst: r0 imm: 1 return: - 19: Exit -=== RUN TestMemShift/kernel#01 ---- PASS: TestMemShift (0.16s) - --- SKIP: TestMemShift/C (0.08s) - --- SKIP: TestMemShift/eBPF (0.00s) - --- PASS: TestMemShift/kernel (0.00s) - --- SKIP: TestMemShift/C#01 (0.08s) - --- SKIP: TestMemShift/eBPF#01 (0.00s) - --- PASS: TestMemShift/kernel#01 (0.00s) + 16: Exit +=== RUN TestALUMod/kernel#03 +=== RUN TestALUShiftRight/C#03 +--- PASS: TestALUMod (0.48s) + --- SKIP: TestALUMod/C (0.12s) + --- SKIP: TestALUMod/eBPF (0.00s) + --- PASS: TestALUMod/kernel (0.00s) + --- SKIP: TestALUMod/C#01 (0.12s) + --- SKIP: TestALUMod/eBPF#01 (0.00s) + --- PASS: TestALUMod/kernel#01 (0.00s) + --- SKIP: TestALUMod/C#02 (0.12s) + --- SKIP: TestALUMod/eBPF#02 (0.00s) + --- PASS: TestALUMod/kernel#02 (0.00s) + --- SKIP: TestALUMod/C#03 (0.12s) + --- SKIP: TestALUMod/eBPF#03 (0.00s) + --- PASS: TestALUMod/kernel#03 (0.00s) === CONT TestScratchZero === RUN TestScratchZero/C -=== RUN TestALUMul/eBPF#05 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 2 - 3: Mov32Imm dst: r5 imm: -2147483648 - 4: Mul32Reg dst: r4 src: r5 - 5: JEqImm dst: r4 off: -1 imm: 0 - filter_block_4: - 6: Mov32Imm dst: r4 imm: 0 - 7: JaImm dst: r0 off: -1 imm: 0 - filter_block_5: - 8: Mov32Imm dst: r4 imm: 1 - 9: JaImm dst: r0 off: -1 imm: 0 - result: - 10: MovImm dst: r0 imm: 2 - 11: JEqImm dst: r4 off: -1 imm: 0 - 12: MovImm dst: r0 imm: 1 - return: - 13: Exit -=== RUN TestALUMul/kernel#05 ---- PASS: TestALUMul (0.47s) - --- SKIP: TestALUMul/C (0.08s) - --- SKIP: TestALUMul/eBPF (0.00s) - --- PASS: TestALUMul/kernel (0.00s) - --- SKIP: TestALUMul/C#01 (0.08s) - --- SKIP: TestALUMul/eBPF#01 (0.00s) - --- PASS: TestALUMul/kernel#01 (0.00s) - --- SKIP: TestALUMul/C#02 (0.08s) - --- SKIP: TestALUMul/eBPF#02 (0.00s) - --- PASS: TestALUMul/kernel#02 (0.00s) - --- SKIP: TestALUMul/C#03 (0.08s) - --- SKIP: TestALUMul/eBPF#03 (0.00s) - --- PASS: TestALUMul/kernel#03 (0.00s) - --- SKIP: TestALUMul/C#04 (0.08s) - --- SKIP: TestALUMul/eBPF#04 (0.00s) - --- PASS: TestALUMul/kernel#04 (0.00s) - --- SKIP: TestALUMul/C#05 (0.08s) - --- SKIP: TestALUMul/eBPF#05 (0.00s) - --- PASS: TestALUMul/kernel#05 (0.00s) -=== CONT TestLoadIndirect -=== RUN TestLoadIndirect/constant_valid -=== RUN TestLoadIndirect/constant_valid/C +=== RUN TestLoadAbsolute/C#02 === RUN TestScratchA/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5144,44 +4580,31 @@ 19: Exit === RUN TestScratchA/kernel === RUN TestScratchA/C#01 -=== RUN TestScratchX/eBPF#01 +=== RUN TestALUShiftRight/eBPF#03 +=== RUN TestScratchZero/eBPF +=== NAME TestALUShiftRight/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r5 imm: 0 - 3: StXMemW dst: rfp src: r5 off: -32 imm: 0 - 4: Mov32Imm dst: r5 imm: 0 - 5: Mov32Imm dst: r5 imm: -1 - 6: StXMemW dst: rfp src: r5 off: -28 imm: 0 - 7: Mov32Imm dst: r5 imm: -1 - 8: StXMemW dst: rfp src: r5 off: -36 imm: 0 - 9: LdXMemW dst: r5 src: rfp off: -32 imm: 0 - 10: Mov32Reg dst: r4 src: r5 - 11: JEqImm dst: r4 off: -1 imm: 0 - filter_block_10: - 12: Mov32Imm dst: r4 imm: 0 - 13: JaImm dst: r0 off: -1 imm: 0 - filter_block_11: - 14: Mov32Imm dst: r4 imm: 1 - 15: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r4 imm: 240 + 3: Mov32Imm dst: r5 imm: 8 + 4: RSh32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 0 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 result: - 16: MovImm dst: r0 imm: 2 - 17: JEqImm dst: r4 off: -1 imm: 0 - 18: MovImm dst: r0 imm: 1 + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 return: - 19: Exit -=== RUN TestScratchX/kernel#01 ---- PASS: TestScratchX (0.16s) - --- SKIP: TestScratchX/C (0.08s) - --- SKIP: TestScratchX/eBPF (0.00s) - --- PASS: TestScratchX/kernel (0.00s) - --- SKIP: TestScratchX/C#01 (0.08s) - --- SKIP: TestScratchX/eBPF#01 (0.00s) - --- PASS: TestScratchX/kernel#01 (0.00s) -=== CONT TestLoadAbsoluteBigOffset -=== RUN TestLoadAbsoluteBigOffset/C -=== RUN TestScratchZero/eBPF + 13: Exit +=== RUN TestALUShiftRight/kernel#03 +=== NAME TestScratchZero/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -5204,46 +4627,56 @@ return: 14: Exit === RUN TestScratchZero/kernel ---- PASS: TestScratchZero (0.08s) - --- SKIP: TestScratchZero/C (0.08s) +--- PASS: TestALUShiftRight (0.49s) + --- SKIP: TestALUShiftRight/C (0.12s) + --- SKIP: TestALUShiftRight/eBPF (0.00s) + --- PASS: TestALUShiftRight/kernel (0.00s) + --- SKIP: TestALUShiftRight/C#01 (0.12s) + --- SKIP: TestALUShiftRight/eBPF#01 (0.00s) + --- PASS: TestALUShiftRight/kernel#01 (0.00s) + --- SKIP: TestALUShiftRight/C#02 (0.12s) + --- SKIP: TestALUShiftRight/eBPF#02 (0.00s) + --- PASS: TestALUShiftRight/kernel#02 (0.00s) + --- SKIP: TestALUShiftRight/C#03 (0.12s) + --- SKIP: TestALUShiftRight/eBPF#03 (0.00s) + --- PASS: TestALUShiftRight/kernel#03 (0.00s) +--- PASS: TestScratchZero (0.12s) + --- SKIP: TestScratchZero/C (0.12s) --- SKIP: TestScratchZero/eBPF (0.00s) --- PASS: TestScratchZero/kernel (0.00s) -=== CONT TestLoadAbsolute -=== RUN TestLoadAbsolute/C -=== RUN TestLoadIndirect/constant_valid/eBPF +=== CONT TestLoadIndirect +=== RUN TestLoadIndirect/constant_valid +=== RUN TestLoadIndirect/constant_valid/C +=== CONT TestLoadAbsoluteBigOffset +=== RUN TestLoadAbsoluteBigOffset/C +=== RUN TestLoadAbsolute/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r5 imm: -2147483644 - 3: MovReg dst: r7 src: r5 - 4: LShImm dst: r7 imm: 32 - 5: ArShImm dst: r7 imm: 32 - 6: AddImm dst: r7 imm: 2147483647 - 7: JGEImm dst: r7 off: -1 imm: 65535 - 8: AddReg dst: r7 src: r2 - 9: MovReg dst: r6 src: r7 - 10: AddImm dst: r6 imm: 1 - 11: JGTReg dst: r6 off: -1 src: r3 - 12: LdXMemB dst: r4 src: r7 off: 0 imm: 0 - 13: JEqImm dst: r4 off: -1 imm: 5 + 2: MovReg dst: r6 src: r2 + 3: AddImm dst: r6 imm: 4 + 4: JGTReg dst: r6 off: -1 src: r3 + 5: LdXMemH dst: r4 src: r2 off: 2 imm: 0 + 6: SwapBE dst: r4 imm: 16 + 7: JEqImm dst: r4 off: -1 imm: 57005 + filter_block_2: + 8: Mov32Imm dst: r4 imm: 0 + 9: JaImm dst: r0 off: -1 imm: 0 filter_block_3: - 14: Mov32Imm dst: r4 imm: 0 - 15: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 16: Mov32Imm dst: r4 imm: 1 - 17: JaImm dst: r0 off: -1 imm: 0 + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: - 18: MovImm dst: r4 imm: 0 - 19: JaImm dst: r0 off: -1 imm: 0 + 12: MovImm dst: r4 imm: 0 + 13: JaImm dst: r0 off: -1 imm: 0 result: - 20: MovImm dst: r0 imm: 2 - 21: JEqImm dst: r4 off: -1 imm: 0 - 22: MovImm dst: r0 imm: 1 + 14: MovImm dst: r0 imm: 2 + 15: JEqImm dst: r4 off: -1 imm: 0 + 16: MovImm dst: r0 imm: 1 return: - 23: Exit -=== RUN TestLoadIndirect/constant_valid/kernel -=== RUN TestLoadIndirect/constant_valid/C#01 + 17: Exit +=== RUN TestLoadAbsolute/kernel#02 +=== RUN TestLoadAbsolute/C#03 === RUN TestScratchA/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5271,15 +4704,15 @@ return: 18: Exit === RUN TestScratchA/kernel#01 ---- PASS: TestScratchA (0.15s) - --- SKIP: TestScratchA/C (0.08s) +--- PASS: TestScratchA (0.26s) + --- SKIP: TestScratchA/C (0.12s) --- SKIP: TestScratchA/eBPF (0.00s) --- PASS: TestScratchA/kernel (0.00s) - --- SKIP: TestScratchA/C#01 (0.07s) + --- SKIP: TestScratchA/C#01 (0.13s) --- SKIP: TestScratchA/eBPF#01 (0.00s) --- PASS: TestScratchA/kernel#01 (0.00s) -=== CONT TestLoadConstantX -=== RUN TestLoadConstantX/C +=== CONT TestLoadConstantA +=== RUN TestLoadConstantA/C === RUN TestLoadAbsoluteBigOffset/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5304,34 +4737,90 @@ return: 16: Exit === RUN TestLoadAbsoluteBigOffset/kernel -=== RUN TestLoadAbsolute/eBPF +=== RUN TestLoadIndirect/constant_valid/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r5 imm: -2147483644 + 3: MovReg dst: r7 src: r5 + 4: LShImm dst: r7 imm: 32 + 5: ArShImm dst: r7 imm: 32 + 6: AddImm dst: r7 imm: 2147483647 + 7: JGEImm dst: r7 off: -1 imm: 65535 + 8: AddReg dst: r7 src: r2 + 9: MovReg dst: r6 src: r7 + 10: AddImm dst: r6 imm: 1 + 11: JGTReg dst: r6 off: -1 src: r3 + 12: LdXMemB dst: r4 src: r7 off: 0 imm: 0 + 13: JEqImm dst: r4 off: -1 imm: 5 + filter_block_3: + 14: Mov32Imm dst: r4 imm: 0 + 15: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 16: Mov32Imm dst: r4 imm: 1 + 17: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 18: MovImm dst: r4 imm: 0 + 19: JaImm dst: r0 off: -1 imm: 0 + result: + 20: MovImm dst: r0 imm: 2 + 21: JEqImm dst: r4 off: -1 imm: 0 + 22: MovImm dst: r0 imm: 1 + return: + 23: Exit +=== RUN TestLoadIndirect/constant_valid/kernel +=== RUN TestLoadIndirect/constant_valid/C#01 +=== RUN TestLoadAbsolute/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 3 + 3: AddImm dst: r6 imm: 4 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemB dst: r4 src: r2 off: 2 imm: 0 - 6: JEqImm dst: r4 off: -1 imm: 5 + 5: LdXMemH dst: r4 src: r2 off: 2 imm: 0 + 6: SwapBE dst: r4 imm: 16 + 7: JEqImm dst: r4 off: -1 imm: 57007 filter_block_2: - 7: Mov32Imm dst: r4 imm: 0 - 8: JaImm dst: r0 off: -1 imm: 0 + 8: Mov32Imm dst: r4 imm: 0 + 9: JaImm dst: r0 off: -1 imm: 0 filter_block_3: - 9: Mov32Imm dst: r4 imm: 1 - 10: JaImm dst: r0 off: -1 imm: 0 + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: - 11: MovImm dst: r4 imm: 0 - 12: JaImm dst: r0 off: -1 imm: 0 + 12: MovImm dst: r4 imm: 0 + 13: JaImm dst: r0 off: -1 imm: 0 result: - 13: MovImm dst: r0 imm: 2 - 14: JEqImm dst: r4 off: -1 imm: 0 - 15: MovImm dst: r0 imm: 1 + 14: MovImm dst: r0 imm: 2 + 15: JEqImm dst: r4 off: -1 imm: 0 + 16: MovImm dst: r0 imm: 1 return: - 16: Exit -=== RUN TestLoadAbsolute/kernel -=== RUN TestLoadAbsolute/C#01 + 17: Exit +=== RUN TestLoadAbsolute/kernel#03 === RUN TestLoadAbsoluteBigOffset/C#01 +=== RUN TestLoadConstantA/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: JEqImm dst: r4 off: -1 imm: 1 + filter_block_2: + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 + result: + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 + return: + 11: Exit +=== RUN TestLoadConstantA/kernel +=== RUN TestLoadConstantA/C#01 +=== RUN TestLoadAbsolute/C#04 === RUN TestLoadIndirect/constant_valid/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5365,93 +4854,104 @@ return: 23: Exit === RUN TestLoadIndirect/constant_valid/kernel#01 -=== RUN TestLoadConstantX/eBPF +=== RUN TestLoadAbsoluteBigOffset/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r5 imm: 1 - 3: Mov32Reg dst: r4 src: r5 - 4: JEqImm dst: r4 off: -1 imm: 1 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r4 imm: 0 + 3: JaImm dst: r0 off: -1 imm: 0 result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 + 4: MovImm dst: r0 imm: 2 + 5: JEqImm dst: r4 off: -1 imm: 0 + 6: MovImm dst: r0 imm: 1 return: - 12: Exit -=== RUN TestLoadConstantX/kernel -=== RUN TestLoadConstantX/C#01 -=== RUN TestLoadAbsolute/eBPF#01 + 7: Exit +=== RUN TestLoadAbsoluteBigOffset/kernel#01 +=== RUN TestLoadConstantA/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 3 - 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemB dst: r4 src: r2 off: 2 imm: 0 - 6: JEqImm dst: r4 off: -1 imm: 6 + 2: Mov32Imm dst: r4 imm: 28 + 3: JEqImm dst: r4 off: -1 imm: 28 filter_block_2: - 7: Mov32Imm dst: r4 imm: 0 - 8: JaImm dst: r0 off: -1 imm: 0 + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: - 9: Mov32Imm dst: r4 imm: 1 - 10: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 11: MovImm dst: r4 imm: 0 - 12: JaImm dst: r0 off: -1 imm: 0 + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 result: - 13: MovImm dst: r0 imm: 2 - 14: JEqImm dst: r4 off: -1 imm: 0 - 15: MovImm dst: r0 imm: 1 + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 return: - 16: Exit -=== RUN TestLoadAbsolute/kernel#01 + 11: Exit +=== RUN TestLoadConstantA/kernel#01 +=== RUN TestLoadConstantA/C#02 === RUN TestLoadIndirect/constant_valid/C#02 -=== RUN TestLoadAbsoluteBigOffset/eBPF#01 +=== RUN TestLoadAbsolute/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 0 - 3: JaImm dst: r0 off: -1 imm: 0 + 2: MovReg dst: r6 src: r2 + 3: AddImm dst: r6 imm: 6 + 4: JGTReg dst: r6 off: -1 src: r3 + 5: LdXMemW dst: r4 src: r2 off: 2 imm: 0 + 6: SwapBE dst: r4 imm: 32 + 7: Mov32Imm dst: r6 imm: -559038737 + 8: JEqReg dst: r4 off: -1 src: r6 + filter_block_2: + 9: Mov32Imm dst: r4 imm: 0 + 10: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 11: Mov32Imm dst: r4 imm: 1 + 12: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 13: MovImm dst: r4 imm: 0 + 14: JaImm dst: r0 off: -1 imm: 0 result: - 4: MovImm dst: r0 imm: 2 - 5: JEqImm dst: r4 off: -1 imm: 0 - 6: MovImm dst: r0 imm: 1 + 15: MovImm dst: r0 imm: 2 + 16: JEqImm dst: r4 off: -1 imm: 0 + 17: MovImm dst: r0 imm: 1 return: - 7: Exit -=== RUN TestLoadAbsoluteBigOffset/kernel#01 -=== RUN TestLoadConstantX/eBPF#01 + 18: Exit +=== RUN TestLoadAbsolute/kernel#04 +=== RUN TestLoadAbsolute/C#05 +=== RUN TestLoadAbsoluteBigOffset/C#02 +=== RUN TestLoadConstantA/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r5 imm: 28 - 3: Mov32Reg dst: r4 src: r5 - 4: JEqImm dst: r4 off: -1 imm: 28 + 2: Mov32Imm dst: r4 imm: 0 + 3: JEqImm dst: r4 off: -1 imm: 0 + filter_block_2: + 4: Mov32Imm dst: r4 imm: 0 + 5: JaImm dst: r0 off: -1 imm: 0 filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 + 6: Mov32Imm dst: r4 imm: 1 + 7: JaImm dst: r0 off: -1 imm: 0 result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 + 8: MovImm dst: r0 imm: 2 + 9: JEqImm dst: r4 off: -1 imm: 0 + 10: MovImm dst: r0 imm: 1 return: - 12: Exit -=== RUN TestLoadConstantX/kernel#01 -=== RUN TestLoadConstantX/C#02 -=== RUN TestLoadAbsolute/C#02 -=== RUN TestLoadAbsoluteBigOffset/C#02 + 11: Exit +=== RUN TestLoadConstantA/kernel#02 +--- PASS: TestLoadConstantA (0.34s) + --- SKIP: TestLoadConstantA/C (0.11s) + --- SKIP: TestLoadConstantA/eBPF (0.00s) + --- PASS: TestLoadConstantA/kernel (0.00s) + --- SKIP: TestLoadConstantA/C#01 (0.11s) + --- SKIP: TestLoadConstantA/eBPF#01 (0.00s) + --- PASS: TestLoadConstantA/kernel#01 (0.00s) + --- SKIP: TestLoadConstantA/C#02 (0.12s) + --- SKIP: TestLoadConstantA/eBPF#02 (0.00s) + --- PASS: TestLoadConstantA/kernel#02 (0.00s) +=== CONT TestLoadConstantX +=== RUN TestLoadConstantX/C === RUN TestLoadIndirect/constant_valid/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5487,67 +4987,34 @@ 24: Exit === RUN TestLoadIndirect/constant_valid/kernel#02 === RUN TestLoadIndirect/constant_valid/C#03 -=== RUN TestLoadConstantX/eBPF#02 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r5 imm: 0 - 3: Mov32Reg dst: r4 src: r5 - 4: JEqImm dst: r4 off: -1 imm: 0 - filter_block_3: - 5: Mov32Imm dst: r4 imm: 0 - 6: JaImm dst: r0 off: -1 imm: 0 - filter_block_4: - 7: Mov32Imm dst: r4 imm: 1 - 8: JaImm dst: r0 off: -1 imm: 0 - result: - 9: MovImm dst: r0 imm: 2 - 10: JEqImm dst: r4 off: -1 imm: 0 - 11: MovImm dst: r0 imm: 1 - return: - 12: Exit -=== RUN TestLoadConstantX/kernel#02 ---- PASS: TestLoadConstantX (0.22s) - --- SKIP: TestLoadConstantX/C (0.07s) - --- SKIP: TestLoadConstantX/eBPF (0.00s) - --- PASS: TestLoadConstantX/kernel (0.00s) - --- SKIP: TestLoadConstantX/C#01 (0.07s) - --- SKIP: TestLoadConstantX/eBPF#01 (0.00s) - --- PASS: TestLoadConstantX/kernel#01 (0.00s) - --- SKIP: TestLoadConstantX/C#02 (0.08s) - --- SKIP: TestLoadConstantX/eBPF#02 (0.00s) - --- PASS: TestLoadConstantX/kernel#02 (0.00s) -=== CONT TestLoadConstantA -=== RUN TestLoadConstantA/C -=== RUN TestLoadAbsolute/eBPF#02 +=== RUN TestLoadAbsolute/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 4 + 3: AddImm dst: r6 imm: 6 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemH dst: r4 src: r2 off: 2 imm: 0 - 6: SwapBE dst: r4 imm: 16 - 7: JEqImm dst: r4 off: -1 imm: 57005 + 5: LdXMemW dst: r4 src: r2 off: 2 imm: 0 + 6: SwapBE dst: r4 imm: 32 + 7: Mov32Imm dst: r6 imm: -558907665 + 8: JEqReg dst: r4 off: -1 src: r6 filter_block_2: - 8: Mov32Imm dst: r4 imm: 0 - 9: JaImm dst: r0 off: -1 imm: 0 + 9: Mov32Imm dst: r4 imm: 0 + 10: JaImm dst: r0 off: -1 imm: 0 filter_block_3: - 10: Mov32Imm dst: r4 imm: 1 - 11: JaImm dst: r0 off: -1 imm: 0 + 11: Mov32Imm dst: r4 imm: 1 + 12: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: - 12: MovImm dst: r4 imm: 0 - 13: JaImm dst: r0 off: -1 imm: 0 + 13: MovImm dst: r4 imm: 0 + 14: JaImm dst: r0 off: -1 imm: 0 result: - 14: MovImm dst: r0 imm: 2 - 15: JEqImm dst: r4 off: -1 imm: 0 - 16: MovImm dst: r0 imm: 1 + 15: MovImm dst: r0 imm: 2 + 16: JEqImm dst: r4 off: -1 imm: 0 + 17: MovImm dst: r0 imm: 1 return: - 17: Exit -=== RUN TestLoadAbsolute/kernel#02 -=== RUN TestLoadAbsolute/C#03 + 18: Exit +=== RUN TestLoadAbsolute/kernel#05 === RUN TestLoadAbsoluteBigOffset/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5573,6 +5040,50 @@ return: 17: Exit === RUN TestLoadAbsoluteBigOffset/kernel#02 +--- PASS: TestLoadAbsolute (0.92s) + --- SKIP: TestLoadAbsolute/C (0.12s) + --- SKIP: TestLoadAbsolute/eBPF (0.00s) + --- PASS: TestLoadAbsolute/kernel (0.00s) + --- SKIP: TestLoadAbsolute/C#01 (0.13s) + --- SKIP: TestLoadAbsolute/eBPF#01 (0.00s) + --- PASS: TestLoadAbsolute/kernel#01 (0.05s) + --- SKIP: TestLoadAbsolute/C#02 (0.14s) + --- SKIP: TestLoadAbsolute/eBPF#02 (0.00s) + --- PASS: TestLoadAbsolute/kernel#02 (0.00s) + --- SKIP: TestLoadAbsolute/C#03 (0.12s) + --- SKIP: TestLoadAbsolute/eBPF#03 (0.00s) + --- PASS: TestLoadAbsolute/kernel#03 (0.05s) + --- SKIP: TestLoadAbsolute/C#04 (0.12s) + --- SKIP: TestLoadAbsolute/eBPF#04 (0.00s) + --- PASS: TestLoadAbsolute/kernel#04 (0.00s) + --- SKIP: TestLoadAbsolute/C#05 (0.13s) + --- SKIP: TestLoadAbsolute/eBPF#05 (0.00s) + --- PASS: TestLoadAbsolute/kernel#05 (0.05s) +=== CONT TestPartialZeroInitX +=== RUN TestPartialZeroInitX/C +=== RUN TestLoadAbsoluteBigOffset/C#03 +=== RUN TestLoadConstantX/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r5 imm: 1 + 3: Mov32Reg dst: r4 src: r5 + 4: JEqImm dst: r4 off: -1 imm: 1 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestLoadConstantX/kernel +=== RUN TestLoadConstantX/C#01 === RUN TestLoadIndirect/constant_valid/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5607,43 +5118,23 @@ return: 24: Exit === RUN TestLoadIndirect/constant_valid/kernel#03 -=== RUN TestLoadConstantA/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: JEqImm dst: r4 off: -1 imm: 1 - filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 - return: - 11: Exit -=== RUN TestLoadConstantA/kernel -=== RUN TestLoadConstantA/C#01 -=== RUN TestLoadAbsolute/eBPF#03 +=== RUN TestLoadIndirect/constant_valid/C#04 +=== RUN TestPartialZeroInitX/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 4 + 3: AddImm dst: r6 imm: 1 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemH dst: r4 src: r2 off: 2 imm: 0 - 6: SwapBE dst: r4 imm: 16 - 7: JEqImm dst: r4 off: -1 imm: 57007 + 5: Mov32Imm dst: r5 imm: 0 + 6: LdXMemB dst: r4 src: r2 off: 0 imm: 0 + 7: JNEImm dst: r4 off: -1 imm: 3 filter_block_2: - 8: Mov32Imm dst: r4 imm: 0 - 9: JaImm dst: r0 off: -1 imm: 0 + 8: Mov32Reg dst: r5 src: r4 filter_block_3: - 10: Mov32Imm dst: r4 imm: 1 + 9: Mov32Reg dst: r4 src: r5 + 10: Mov32Reg dst: r4 src: r4 11: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: 12: MovImm dst: r4 imm: 0 @@ -5654,31 +5145,7 @@ 16: MovImm dst: r0 imm: 1 return: 17: Exit -=== RUN TestLoadAbsolute/kernel#03 -=== RUN TestLoadAbsoluteBigOffset/C#03 -=== RUN TestLoadIndirect/constant_valid/C#04 -=== RUN TestLoadAbsolute/C#04 -=== RUN TestLoadConstantA/eBPF#01 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 28 - 3: JEqImm dst: r4 off: -1 imm: 28 - filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 - filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 - result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 - return: - 11: Exit -=== RUN TestLoadConstantA/kernel#01 -=== RUN TestLoadConstantA/C#02 +=== RUN TestPartialZeroInitX/kernel === RUN TestLoadAbsoluteBigOffset/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5693,6 +5160,30 @@ return: 7: Exit === RUN TestLoadAbsoluteBigOffset/kernel#03 +=== RUN TestLoadConstantX/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r5 imm: 28 + 3: Mov32Reg dst: r4 src: r5 + 4: JEqImm dst: r4 off: -1 imm: 28 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestLoadConstantX/kernel#01 +=== RUN TestLoadConstantX/C#02 +=== RUN TestPartialZeroInitX/C#01 +=== RUN TestLoadAbsoluteBigOffset/C#04 === RUN TestLoadIndirect/constant_valid/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5729,69 +5220,100 @@ 25: Exit === RUN TestLoadIndirect/constant_valid/kernel#04 === RUN TestLoadIndirect/constant_valid/C#05 -=== RUN TestLoadConstantA/eBPF#02 -=== RUN TestLoadAbsoluteBigOffset/C#04 -=== NAME TestLoadConstantA/eBPF#02 +=== RUN TestLoadConstantX/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 0 - 3: JEqImm dst: r4 off: -1 imm: 0 - filter_block_2: - 4: Mov32Imm dst: r4 imm: 0 - 5: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r5 imm: 0 + 3: Mov32Reg dst: r4 src: r5 + 4: JEqImm dst: r4 off: -1 imm: 0 filter_block_3: - 6: Mov32Imm dst: r4 imm: 1 - 7: JaImm dst: r0 off: -1 imm: 0 + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 result: - 8: MovImm dst: r0 imm: 2 - 9: JEqImm dst: r4 off: -1 imm: 0 - 10: MovImm dst: r0 imm: 1 + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 return: - 11: Exit -=== RUN TestLoadConstantA/kernel#02 ---- PASS: TestLoadConstantA (0.22s) - --- SKIP: TestLoadConstantA/C (0.07s) - --- SKIP: TestLoadConstantA/eBPF (0.00s) - --- PASS: TestLoadConstantA/kernel (0.00s) - --- SKIP: TestLoadConstantA/C#01 (0.07s) - --- SKIP: TestLoadConstantA/eBPF#01 (0.00s) - --- PASS: TestLoadConstantA/kernel#01 (0.00s) - --- SKIP: TestLoadConstantA/C#02 (0.07s) - --- SKIP: TestLoadConstantA/eBPF#02 (0.00s) - --- PASS: TestLoadConstantA/kernel#02 (0.00s) -=== CONT TestPartialZeroInitX -=== RUN TestPartialZeroInitX/C -=== RUN TestLoadAbsolute/eBPF#04 + 12: Exit +=== RUN TestLoadConstantX/kernel#02 +--- PASS: TestLoadConstantX (0.36s) + --- SKIP: TestLoadConstantX/C (0.12s) + --- SKIP: TestLoadConstantX/eBPF (0.00s) + --- PASS: TestLoadConstantX/kernel (0.00s) + --- SKIP: TestLoadConstantX/C#01 (0.11s) + --- SKIP: TestLoadConstantX/eBPF#01 (0.00s) + --- PASS: TestLoadConstantX/kernel#01 (0.00s) + --- SKIP: TestLoadConstantX/C#02 (0.12s) + --- SKIP: TestLoadConstantX/eBPF#02 (0.00s) + --- PASS: TestLoadConstantX/kernel#02 (0.00s) +=== CONT TestLoadExtLen +=== RUN TestLoadExtLen/C +=== RUN TestPartialZeroInitX/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 6 + 3: AddImm dst: r6 imm: 1 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemW dst: r4 src: r2 off: 2 imm: 0 - 6: SwapBE dst: r4 imm: 32 - 7: Mov32Imm dst: r6 imm: -559038737 - 8: JEqReg dst: r4 off: -1 src: r6 + 5: Mov32Imm dst: r5 imm: 0 + 6: LdXMemB dst: r4 src: r2 off: 0 imm: 0 + 7: JNEImm dst: r4 off: -1 imm: 3 filter_block_2: - 9: Mov32Imm dst: r4 imm: 0 - 10: JaImm dst: r0 off: -1 imm: 0 + 8: Mov32Reg dst: r5 src: r4 filter_block_3: - 11: Mov32Imm dst: r4 imm: 1 - 12: JaImm dst: r0 off: -1 imm: 0 + 9: Mov32Reg dst: r4 src: r5 + 10: Mov32Reg dst: r4 src: r4 + 11: JaImm dst: r0 off: -1 imm: 0 filter_nomatch: - 13: MovImm dst: r4 imm: 0 - 14: JaImm dst: r0 off: -1 imm: 0 + 12: MovImm dst: r4 imm: 0 + 13: JaImm dst: r0 off: -1 imm: 0 result: - 15: MovImm dst: r0 imm: 2 - 16: JEqImm dst: r4 off: -1 imm: 0 - 17: MovImm dst: r0 imm: 1 + 14: MovImm dst: r0 imm: 2 + 15: JEqImm dst: r4 off: -1 imm: 0 + 16: MovImm dst: r0 imm: 1 return: - 18: Exit -=== RUN TestLoadAbsolute/kernel#04 -=== RUN TestLoadAbsolute/C#05 + 17: Exit +=== RUN TestPartialZeroInitX/kernel#01 +--- PASS: TestPartialZeroInitX (0.29s) + --- SKIP: TestPartialZeroInitX/C (0.12s) + --- SKIP: TestPartialZeroInitX/eBPF (0.00s) + --- PASS: TestPartialZeroInitX/kernel (0.05s) + --- SKIP: TestPartialZeroInitX/C#01 (0.12s) + --- SKIP: TestPartialZeroInitX/eBPF#01 (0.00s) + --- PASS: TestPartialZeroInitX/kernel#01 (0.00s) +=== CONT TestALUSub +=== RUN TestALUSub/C +=== RUN TestLoadAbsoluteBigOffset/eBPF#04 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: MovReg dst: r6 src: r2 + 3: AddImm dst: r6 imm: 65535 + 4: JGTReg dst: r6 off: -1 src: r3 + 5: MovReg dst: r6 src: r2 + 6: AddImm dst: r6 imm: 65531 + 7: LdXMemW dst: r4 src: r6 off: 0 imm: 0 + 8: SwapBE dst: r4 imm: 32 + 9: Add32Imm dst: r4 imm: 2 + 10: Mov32Reg dst: r4 src: r4 + 11: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 12: MovImm dst: r4 imm: 0 + 13: JaImm dst: r0 off: -1 imm: 0 + result: + 14: MovImm dst: r0 imm: 2 + 15: JEqImm dst: r4 off: -1 imm: 0 + 16: MovImm dst: r0 imm: 1 + return: + 17: Exit +=== RUN TestLoadAbsoluteBigOffset/kernel#04 === RUN TestLoadIndirect/constant_valid/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5827,111 +5349,120 @@ return: 25: Exit === RUN TestLoadIndirect/constant_valid/kernel#05 -=== RUN TestLoadAbsoluteBigOffset/eBPF#04 +=== RUN TestLoadAbsoluteBigOffset/C#05 +=== RUN TestLoadExtLen/eBPF +=== RUN TestALUSub/eBPF +=== NAME TestLoadExtLen/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 65535 - 4: JGTReg dst: r6 off: -1 src: r3 - 5: MovReg dst: r6 src: r2 - 6: AddImm dst: r6 imm: 65531 - 7: LdXMemW dst: r4 src: r6 off: 0 imm: 0 - 8: SwapBE dst: r4 imm: 32 - 9: Add32Imm dst: r4 imm: 2 - 10: Mov32Reg dst: r4 src: r4 - 11: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 12: MovImm dst: r4 imm: 0 - 13: JaImm dst: r0 off: -1 imm: 0 + 2: MovReg dst: r4 src: r3 + 3: Sub32Reg dst: r4 src: r2 + 4: JEqImm dst: r4 off: -1 imm: 16 + filter_block_2: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_3: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 result: - 14: MovImm dst: r0 imm: 2 - 15: JEqImm dst: r4 off: -1 imm: 0 - 16: MovImm dst: r0 imm: 1 + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 return: - 17: Exit -=== RUN TestLoadAbsoluteBigOffset/kernel#04 -=== RUN TestPartialZeroInitX/eBPF + 12: Exit +=== RUN TestLoadExtLen/kernel +=== NAME TestALUSub/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 1 - 4: JGTReg dst: r6 off: -1 src: r3 - 5: Mov32Imm dst: r5 imm: 0 - 6: LdXMemB dst: r4 src: r2 off: 0 imm: 0 - 7: JNEImm dst: r4 off: -1 imm: 3 - filter_block_2: - 8: Mov32Reg dst: r5 src: r4 + 2: Mov32Imm dst: r4 imm: 1 + 3: Sub32Imm dst: r4 imm: 1 + 4: JEqImm dst: r4 off: -1 imm: 0 filter_block_3: - 9: Mov32Reg dst: r4 src: r5 - 10: Mov32Reg dst: r4 src: r4 - 11: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 12: MovImm dst: r4 imm: 0 - 13: JaImm dst: r0 off: -1 imm: 0 + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 result: - 14: MovImm dst: r0 imm: 2 - 15: JEqImm dst: r4 off: -1 imm: 0 - 16: MovImm dst: r0 imm: 1 + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 return: - 17: Exit -=== RUN TestPartialZeroInitX/kernel -=== RUN TestLoadAbsolute/eBPF#05 + 12: Exit +=== RUN TestALUSub/kernel +=== RUN TestALUSub/C#01 +=== CONT TestALUAdd +=== RUN TestALUAdd/C +--- PASS: TestLoadExtLen (0.13s) + --- SKIP: TestLoadExtLen/C (0.13s) + --- SKIP: TestLoadExtLen/eBPF (0.00s) + --- PASS: TestLoadExtLen/kernel (0.00s) +=== RUN TestLoadIndirect/variable_valid +=== RUN TestLoadIndirect/variable_valid/C +=== RUN TestLoadAbsoluteBigOffset/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 6 - 4: JGTReg dst: r6 off: -1 src: r3 - 5: LdXMemW dst: r4 src: r2 off: 2 imm: 0 - 6: SwapBE dst: r4 imm: 32 - 7: Mov32Imm dst: r6 imm: -558907665 - 8: JEqReg dst: r4 off: -1 src: r6 - filter_block_2: - 9: Mov32Imm dst: r4 imm: 0 - 10: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r4 imm: 0 + 3: JaImm dst: r0 off: -1 imm: 0 + result: + 4: MovImm dst: r0 imm: 2 + 5: JEqImm dst: r4 off: -1 imm: 0 + 6: MovImm dst: r0 imm: 1 + return: + 7: Exit +=== RUN TestLoadAbsoluteBigOffset/kernel#05 +=== RUN TestALUSub/eBPF#01 +=== RUN TestALUAdd/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: Add32Imm dst: r4 imm: 0 + 4: JEqImm dst: r4 off: -1 imm: 1 filter_block_3: - 11: Mov32Imm dst: r4 imm: 1 - 12: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 13: MovImm dst: r4 imm: 0 - 14: JaImm dst: r0 off: -1 imm: 0 + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 result: - 15: MovImm dst: r0 imm: 2 - 16: JEqImm dst: r4 off: -1 imm: 0 - 17: MovImm dst: r0 imm: 1 + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 return: - 18: Exit -=== RUN TestLoadAbsolute/kernel#05 -=== RUN TestLoadIndirect/variable_valid -=== RUN TestLoadIndirect/variable_valid/C -=== RUN TestLoadAbsoluteBigOffset/C#05 -=== RUN TestPartialZeroInitX/C#01 ---- PASS: TestLoadAbsolute (0.62s) - --- SKIP: TestLoadAbsolute/C (0.08s) - --- SKIP: TestLoadAbsolute/eBPF (0.00s) - --- PASS: TestLoadAbsolute/kernel (0.00s) - --- SKIP: TestLoadAbsolute/C#01 (0.08s) - --- SKIP: TestLoadAbsolute/eBPF#01 (0.00s) - --- PASS: TestLoadAbsolute/kernel#01 (0.05s) - --- SKIP: TestLoadAbsolute/C#02 (0.08s) - --- SKIP: TestLoadAbsolute/eBPF#02 (0.00s) - --- PASS: TestLoadAbsolute/kernel#02 (0.00s) - --- SKIP: TestLoadAbsolute/C#03 (0.08s) - --- SKIP: TestLoadAbsolute/eBPF#03 (0.00s) - --- PASS: TestLoadAbsolute/kernel#03 (0.05s) - --- SKIP: TestLoadAbsolute/C#04 (0.08s) - --- SKIP: TestLoadAbsolute/eBPF#04 (0.00s) - --- PASS: TestLoadAbsolute/kernel#04 (0.00s) - --- SKIP: TestLoadAbsolute/C#05 (0.08s) - --- SKIP: TestLoadAbsolute/eBPF#05 (0.00s) - --- PASS: TestLoadAbsolute/kernel#05 (0.05s) -=== CONT TestZeroInitX -=== RUN TestZeroInitX/C + 12: Exit +=== NAME TestALUSub/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: Mov32Imm dst: r5 imm: 1 + 4: Sub32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 0 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUAdd/kernel +=== RUN TestALUSub/kernel#01 +=== RUN TestALUAdd/C#01 +=== RUN TestALUSub/C#02 === RUN TestLoadIndirect/variable_valid/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -5971,74 +5502,52 @@ 28: Exit === RUN TestLoadIndirect/variable_valid/kernel === RUN TestLoadIndirect/variable_valid/C#01 -=== RUN TestLoadAbsoluteBigOffset/eBPF#05 -=== RUN TestZeroInitX/eBPF -=== NAME TestLoadAbsoluteBigOffset/eBPF#05 - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 0 - 3: JaImm dst: r0 off: -1 imm: 0 - result: - 4: MovImm dst: r0 imm: 2 - 5: JEqImm dst: r4 off: -1 imm: 0 - 6: MovImm dst: r0 imm: 1 - return: - 7: Exit -=== RUN TestLoadAbsoluteBigOffset/kernel#05 -=== NAME TestZeroInitX/eBPF +=== RUN TestLoadAbsoluteBigOffset/C#06 +=== RUN TestALUSub/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r5 imm: 0 - 3: Mov32Reg dst: r4 src: r5 - 4: Mov32Reg dst: r4 src: r4 - 5: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r4 imm: 13 + 3: Sub32Imm dst: r4 imm: 9 + 4: JEqImm dst: r4 off: -1 imm: 4 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 result: - 6: MovImm dst: r0 imm: 2 - 7: JEqImm dst: r4 off: -1 imm: 0 - 8: MovImm dst: r0 imm: 1 + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 return: - 9: Exit -=== RUN TestZeroInitX/kernel -=== RUN TestPartialZeroInitX/eBPF#01 + 12: Exit +=== RUN TestALUSub/kernel#02 +=== RUN TestALUSub/C#03 +=== RUN TestALUAdd/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: MovReg dst: r6 src: r2 - 3: AddImm dst: r6 imm: 1 - 4: JGTReg dst: r6 off: -1 src: r3 - 5: Mov32Imm dst: r5 imm: 0 - 6: LdXMemB dst: r4 src: r2 off: 0 imm: 0 - 7: JNEImm dst: r4 off: -1 imm: 3 - filter_block_2: - 8: Mov32Reg dst: r5 src: r4 - filter_block_3: - 9: Mov32Reg dst: r4 src: r5 - 10: Mov32Reg dst: r4 src: r4 - 11: JaImm dst: r0 off: -1 imm: 0 - filter_nomatch: - 12: MovImm dst: r4 imm: 0 - 13: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r4 imm: 1 + 3: Mov32Imm dst: r5 imm: 0 + 4: Add32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 1 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 result: - 14: MovImm dst: r0 imm: 2 - 15: JEqImm dst: r4 off: -1 imm: 0 - 16: MovImm dst: r0 imm: 1 + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 return: - 17: Exit -=== RUN TestPartialZeroInitX/kernel#01 ---- PASS: TestPartialZeroInitX (0.21s) - --- SKIP: TestPartialZeroInitX/C (0.08s) - --- SKIP: TestPartialZeroInitX/eBPF (0.00s) - --- PASS: TestPartialZeroInitX/kernel (0.05s) - --- SKIP: TestPartialZeroInitX/C#01 (0.08s) - --- SKIP: TestPartialZeroInitX/eBPF#01 (0.00s) - --- PASS: TestPartialZeroInitX/kernel#01 (0.00s) -=== CONT TestTAX -=== RUN TestTAX/C + 13: Exit +=== RUN TestALUAdd/kernel#01 +=== RUN TestALUAdd/C#02 === RUN TestLoadIndirect/variable_valid/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6077,55 +5586,6 @@ return: 28: Exit === RUN TestLoadIndirect/variable_valid/kernel#01 ---- PASS: TestZeroInitX (0.12s) - --- SKIP: TestZeroInitX/C (0.07s) - --- SKIP: TestZeroInitX/eBPF (0.00s) - --- PASS: TestZeroInitX/kernel (0.05s) -=== CONT TestTXA -=== RUN TestTXA/C -=== RUN TestLoadAbsoluteBigOffset/C#06 -=== RUN TestTAX/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r4 imm: 1 - 3: Mov32Reg dst: r5 src: r4 - 4: Mov32Reg dst: r4 src: r5 - 5: Mov32Reg dst: r4 src: r4 - 6: JaImm dst: r0 off: -1 imm: 0 - result: - 7: MovImm dst: r0 imm: 2 - 8: JEqImm dst: r4 off: -1 imm: 0 - 9: MovImm dst: r0 imm: 1 - return: - 10: Exit -=== RUN TestTAX/kernel ---- PASS: TestTAX (0.07s) - --- SKIP: TestTAX/C (0.07s) - --- SKIP: TestTAX/eBPF (0.00s) - --- PASS: TestTAX/kernel (0.00s) -=== RUN TestLoadIndirect/variable_valid/C#02 -=== RUN TestTXA/eBPF - ebpf_test.go:17: - 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 - 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 - filter_block_0: - 2: Mov32Imm dst: r5 imm: 1 - 3: Mov32Reg dst: r4 src: r5 - 4: Mov32Reg dst: r4 src: r4 - 5: JaImm dst: r0 off: -1 imm: 0 - result: - 6: MovImm dst: r0 imm: 2 - 7: JEqImm dst: r4 off: -1 imm: 0 - 8: MovImm dst: r0 imm: 1 - return: - 9: Exit -=== RUN TestTXA/kernel ---- PASS: TestTXA (0.07s) - --- SKIP: TestTXA/C (0.07s) - --- SKIP: TestTXA/eBPF (0.00s) - --- PASS: TestTXA/kernel (0.00s) === RUN TestLoadAbsoluteBigOffset/eBPF#06 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6153,7 +5613,81 @@ return: 19: Exit === RUN TestLoadAbsoluteBigOffset/kernel#06 +=== RUN TestLoadIndirect/variable_valid/C#02 === RUN TestLoadAbsoluteBigOffset/C#07 +=== RUN TestALUAdd/eBPF#02 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 4 + 3: Add32Imm dst: r4 imm: 13 + 4: JEqImm dst: r4 off: -1 imm: 17 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUAdd/kernel#02 +=== RUN TestALUAdd/C#03 +=== RUN TestALUSub/eBPF#03 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 13 + 3: Mov32Imm dst: r5 imm: 9 + 4: Sub32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 4 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUSub/kernel#03 +--- PASS: TestALUSub (0.46s) + --- SKIP: TestALUSub/C (0.11s) + --- SKIP: TestALUSub/eBPF (0.00s) + --- PASS: TestALUSub/kernel (0.00s) + --- SKIP: TestALUSub/C#01 (0.12s) + --- SKIP: TestALUSub/eBPF#01 (0.00s) + --- PASS: TestALUSub/kernel#01 (0.00s) + --- SKIP: TestALUSub/C#02 (0.12s) + --- SKIP: TestALUSub/eBPF#02 (0.00s) + --- PASS: TestALUSub/kernel#02 (0.00s) + --- SKIP: TestALUSub/C#03 (0.12s) + --- SKIP: TestALUSub/eBPF#03 (0.00s) + --- PASS: TestALUSub/kernel#03 (0.00s) +=== CONT TestZeroInitX +=== RUN TestZeroInitX/C +=== RUN TestLoadAbsoluteBigOffset/eBPF#07 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 0 + 3: JaImm dst: r0 off: -1 imm: 0 + result: + 4: MovImm dst: r0 imm: 2 + 5: JEqImm dst: r4 off: -1 imm: 0 + 6: MovImm dst: r0 imm: 1 + return: + 7: Exit +=== RUN TestLoadAbsoluteBigOffset/kernel#07 === RUN TestLoadIndirect/variable_valid/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6194,20 +5728,94 @@ 29: Exit === RUN TestLoadIndirect/variable_valid/kernel#02 === RUN TestLoadIndirect/variable_valid/C#03 -=== RUN TestLoadAbsoluteBigOffset/eBPF#07 +=== RUN TestZeroInitX/eBPF +=== RUN TestALUAdd/eBPF#03 +=== NAME TestZeroInitX/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 filter_block_0: - 2: Mov32Imm dst: r4 imm: 0 - 3: JaImm dst: r0 off: -1 imm: 0 + 2: Mov32Imm dst: r5 imm: 0 + 3: Mov32Reg dst: r4 src: r5 + 4: Mov32Reg dst: r4 src: r4 + 5: JaImm dst: r0 off: -1 imm: 0 result: - 4: MovImm dst: r0 imm: 2 - 5: JEqImm dst: r4 off: -1 imm: 0 - 6: MovImm dst: r0 imm: 1 + 6: MovImm dst: r0 imm: 2 + 7: JEqImm dst: r4 off: -1 imm: 0 + 8: MovImm dst: r0 imm: 1 return: - 7: Exit -=== RUN TestLoadAbsoluteBigOffset/kernel#07 + 9: Exit +=== NAME TestALUAdd/eBPF#03 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 4 + 3: Mov32Imm dst: r5 imm: 13 + 4: Add32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 17 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUAdd/kernel#03 +=== RUN TestZeroInitX/kernel +--- PASS: TestALUAdd (0.47s) + --- SKIP: TestALUAdd/C (0.12s) + --- SKIP: TestALUAdd/eBPF (0.00s) + --- PASS: TestALUAdd/kernel (0.00s) + --- SKIP: TestALUAdd/C#01 (0.12s) + --- SKIP: TestALUAdd/eBPF#01 (0.00s) + --- PASS: TestALUAdd/kernel#01 (0.00s) + --- SKIP: TestALUAdd/C#02 (0.11s) + --- SKIP: TestALUAdd/eBPF#02 (0.00s) + --- PASS: TestALUAdd/kernel#02 (0.00s) + --- SKIP: TestALUAdd/C#03 (0.11s) + --- SKIP: TestALUAdd/eBPF#03 (0.00s) + --- PASS: TestALUAdd/kernel#03 (0.00s) +=== CONT TestMemShift +=== RUN TestMemShift/C +--- PASS: TestLoadAbsoluteBigOffset (1.39s) + --- SKIP: TestLoadAbsoluteBigOffset/C (0.13s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel (0.05s) + --- SKIP: TestLoadAbsoluteBigOffset/C#01 (0.12s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF#01 (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel#01 (0.05s) + --- SKIP: TestLoadAbsoluteBigOffset/C#02 (0.13s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF#02 (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel#02 (0.05s) + --- SKIP: TestLoadAbsoluteBigOffset/C#03 (0.12s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF#03 (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel#03 (0.05s) + --- SKIP: TestLoadAbsoluteBigOffset/C#04 (0.13s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF#04 (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel#04 (0.05s) + --- SKIP: TestLoadAbsoluteBigOffset/C#05 (0.12s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF#05 (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel#05 (0.05s) + --- SKIP: TestLoadAbsoluteBigOffset/C#06 (0.12s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF#06 (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel#06 (0.05s) + --- SKIP: TestLoadAbsoluteBigOffset/C#07 (0.12s) + --- SKIP: TestLoadAbsoluteBigOffset/eBPF#07 (0.00s) + --- PASS: TestLoadAbsoluteBigOffset/kernel#07 (0.05s) +=== CONT TestALUOr +=== RUN TestALUOr/C +--- PASS: TestZeroInitX (0.16s) + --- SKIP: TestZeroInitX/C (0.11s) + --- SKIP: TestZeroInitX/eBPF (0.00s) + --- PASS: TestZeroInitX/kernel (0.05s) +=== CONT TestALUAnd +=== RUN TestALUAnd/C === RUN TestLoadIndirect/variable_valid/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6247,32 +5855,165 @@ return: 29: Exit === RUN TestLoadIndirect/variable_valid/kernel#03 ---- PASS: TestLoadAbsoluteBigOffset (1.01s) - --- SKIP: TestLoadAbsoluteBigOffset/C (0.08s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel (0.05s) - --- SKIP: TestLoadAbsoluteBigOffset/C#01 (0.07s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF#01 (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel#01 (0.05s) - --- SKIP: TestLoadAbsoluteBigOffset/C#02 (0.09s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF#02 (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel#02 (0.05s) - --- SKIP: TestLoadAbsoluteBigOffset/C#03 (0.07s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF#03 (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel#03 (0.05s) - --- SKIP: TestLoadAbsoluteBigOffset/C#04 (0.08s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF#04 (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel#04 (0.05s) - --- SKIP: TestLoadAbsoluteBigOffset/C#05 (0.08s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF#05 (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel#05 (0.05s) - --- SKIP: TestLoadAbsoluteBigOffset/C#06 (0.07s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF#06 (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel#06 (0.05s) - --- SKIP: TestLoadAbsoluteBigOffset/C#07 (0.07s) - --- SKIP: TestLoadAbsoluteBigOffset/eBPF#07 (0.00s) - --- PASS: TestLoadAbsoluteBigOffset/kernel#07 (0.05s) +=== RUN TestMemShift/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: MovReg dst: r6 src: r2 + 3: AddImm dst: r6 imm: 3 + 4: JGTReg dst: r6 off: -1 src: r3 + 5: Mov32Imm dst: r4 imm: 40 + 6: LdXMemB dst: r5 src: r2 off: 2 imm: 0 + 7: And32Imm dst: r5 imm: 15 + 8: LSh32Imm dst: r5 imm: 2 + 9: JEqReg dst: r4 off: -1 src: r5 + filter_block_3: + 10: Mov32Imm dst: r4 imm: 0 + 11: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 12: Mov32Imm dst: r4 imm: 1 + 13: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 14: MovImm dst: r4 imm: 0 + 15: JaImm dst: r0 off: -1 imm: 0 + result: + 16: MovImm dst: r0 imm: 2 + 17: JEqImm dst: r4 off: -1 imm: 0 + 18: MovImm dst: r0 imm: 1 + return: + 19: Exit +=== RUN TestMemShift/kernel +=== RUN TestMemShift/C#01 +=== RUN TestALUOr/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: Or32Imm dst: r4 imm: 0 + 4: JEqImm dst: r4 off: -1 imm: 1 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUOr/kernel +=== RUN TestALUOr/C#01 === RUN TestLoadIndirect/variable_valid/C#04 +=== RUN TestALUAnd/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: And32Imm dst: r4 imm: 0 + 4: JEqImm dst: r4 off: -1 imm: 0 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUAnd/kernel +=== RUN TestALUAnd/C#01 +=== RUN TestALUOr/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: Mov32Imm dst: r5 imm: 0 + 4: Or32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 1 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUOr/kernel#01 +=== RUN TestALUOr/C#02 +=== RUN TestMemShift/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: MovReg dst: r6 src: r2 + 3: AddImm dst: r6 imm: 3 + 4: JGTReg dst: r6 off: -1 src: r3 + 5: Mov32Imm dst: r4 imm: 0 + 6: LdXMemB dst: r5 src: r2 off: 2 imm: 0 + 7: And32Imm dst: r5 imm: 15 + 8: LSh32Imm dst: r5 imm: 2 + 9: JEqReg dst: r4 off: -1 src: r5 + filter_block_3: + 10: Mov32Imm dst: r4 imm: 0 + 11: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 12: Mov32Imm dst: r4 imm: 1 + 13: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 14: MovImm dst: r4 imm: 0 + 15: JaImm dst: r0 off: -1 imm: 0 + result: + 16: MovImm dst: r0 imm: 2 + 17: JEqImm dst: r4 off: -1 imm: 0 + 18: MovImm dst: r0 imm: 1 + return: + 19: Exit +=== RUN TestMemShift/kernel#01 +--- PASS: TestMemShift (0.25s) + --- SKIP: TestMemShift/C (0.12s) + --- SKIP: TestMemShift/eBPF (0.00s) + --- PASS: TestMemShift/kernel (0.00s) + --- SKIP: TestMemShift/C#01 (0.13s) + --- SKIP: TestMemShift/eBPF#01 (0.00s) + --- PASS: TestMemShift/kernel#01 (0.00s) +=== CONT TestALUDivZero +=== RUN TestALUDivZero/C +=== RUN TestALUAnd/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 1 + 3: Mov32Imm dst: r5 imm: 0 + 4: And32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 0 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUAnd/kernel#01 +=== RUN TestALUAnd/C#02 === RUN TestLoadIndirect/variable_valid/eBPF#04 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6314,6 +6055,75 @@ 30: Exit === RUN TestLoadIndirect/variable_valid/kernel#04 === RUN TestLoadIndirect/variable_valid/C#05 +=== RUN TestALUOr/eBPF#02 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 240 + 3: Or32Imm dst: r4 imm: 15 + 4: JEqImm dst: r4 off: -1 imm: 255 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUOr/kernel#02 +=== RUN TestALUOr/C#03 +=== RUN TestALUDivZero/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: MovReg dst: r6 src: r2 + 3: AddImm dst: r6 imm: 1 + 4: JGTReg dst: r6 off: -1 src: r3 + 5: LdXMemB dst: r4 src: r2 off: 0 imm: 0 + 6: Mov32Reg dst: r5 src: r4 + 7: Mov32Imm dst: r4 imm: 10 + 8: JEqImm dst: r5 off: -1 imm: 0 + 9: Div32Reg dst: r4 src: r5 + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 12: MovImm dst: r4 imm: 0 + 13: JaImm dst: r0 off: -1 imm: 0 + result: + 14: MovImm dst: r0 imm: 2 + 15: JEqImm dst: r4 off: -1 imm: 0 + 16: MovImm dst: r0 imm: 1 + return: + 17: Exit +=== RUN TestALUDivZero/kernel +=== RUN TestALUAnd/eBPF#02 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 240 + 3: And32Imm dst: r4 imm: 128 + 4: JEqImm dst: r4 off: -1 imm: 128 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUAnd/kernel#02 +=== RUN TestALUAnd/C#03 === RUN TestLoadIndirect/variable_valid/eBPF#05 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6354,8 +6164,123 @@ return: 30: Exit === RUN TestLoadIndirect/variable_valid/kernel#05 +=== RUN TestALUDivZero/C#01 === RUN TestLoadIndirect/constant_outofbounds === RUN TestLoadIndirect/constant_outofbounds/C +=== RUN TestALUOr/eBPF#03 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 240 + 3: Mov32Imm dst: r5 imm: 15 + 4: Or32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 255 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUOr/kernel#03 +--- PASS: TestALUOr (0.48s) + --- SKIP: TestALUOr/C (0.11s) + --- SKIP: TestALUOr/eBPF (0.00s) + --- PASS: TestALUOr/kernel (0.00s) + --- SKIP: TestALUOr/C#01 (0.12s) + --- SKIP: TestALUOr/eBPF#01 (0.00s) + --- PASS: TestALUOr/kernel#01 (0.00s) + --- SKIP: TestALUOr/C#02 (0.12s) + --- SKIP: TestALUOr/eBPF#02 (0.00s) + --- PASS: TestALUOr/kernel#02 (0.00s) + --- SKIP: TestALUOr/C#03 (0.12s) + --- SKIP: TestALUOr/eBPF#03 (0.00s) + --- PASS: TestALUOr/kernel#03 (0.00s) +=== CONT TestALUDiv +=== RUN TestALUDiv/C +=== RUN TestALUAnd/eBPF#03 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 240 + 3: Mov32Imm dst: r5 imm: 128 + 4: And32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 128 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUAnd/kernel#03 +=== RUN TestALUAnd/C#04 +=== RUN TestALUDivZero/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: MovReg dst: r6 src: r2 + 3: AddImm dst: r6 imm: 1 + 4: JGTReg dst: r6 off: -1 src: r3 + 5: LdXMemB dst: r4 src: r2 off: 0 imm: 0 + 6: Mov32Reg dst: r5 src: r4 + 7: Mov32Imm dst: r4 imm: 10 + 8: JEqImm dst: r5 off: -1 imm: 0 + 9: Div32Reg dst: r4 src: r5 + 10: Mov32Imm dst: r4 imm: 1 + 11: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 12: MovImm dst: r4 imm: 0 + 13: JaImm dst: r0 off: -1 imm: 0 + result: + 14: MovImm dst: r0 imm: 2 + 15: JEqImm dst: r4 off: -1 imm: 0 + 16: MovImm dst: r0 imm: 1 + return: + 17: Exit +=== RUN TestALUDivZero/kernel#01 +--- PASS: TestALUDivZero (0.31s) + --- SKIP: TestALUDivZero/C (0.13s) + --- SKIP: TestALUDivZero/eBPF (0.00s) + --- PASS: TestALUDivZero/kernel (0.05s) + --- SKIP: TestALUDivZero/C#01 (0.12s) + --- SKIP: TestALUDivZero/eBPF#01 (0.00s) + --- PASS: TestALUDivZero/kernel#01 (0.00s) +=== RUN TestALUDiv/eBPF + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 2 + 3: Div32Imm dst: r4 imm: 2 + 4: JEqImm dst: r4 off: -1 imm: 1 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUDiv/kernel +=== RUN TestALUDiv/C#01 === RUN TestLoadIndirect/constant_outofbounds/eBPF ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6385,7 +6310,31 @@ 20: Exit === RUN TestLoadIndirect/constant_outofbounds/kernel === RUN TestLoadIndirect/constant_outofbounds/C#01 +=== RUN TestALUAnd/eBPF#04 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 240 + 3: And32Imm dst: r4 imm: 15 + 4: JEqImm dst: r4 off: -1 imm: 0 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUAnd/kernel#04 +=== RUN TestALUAnd/C#05 === RUN TestLoadIndirect/constant_outofbounds/eBPF#01 +=== RUN TestALUDiv/eBPF#01 +=== NAME TestLoadIndirect/constant_outofbounds/eBPF#01 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 @@ -6413,7 +6362,97 @@ return: 20: Exit === RUN TestLoadIndirect/constant_outofbounds/kernel#01 +=== NAME TestALUDiv/eBPF#01 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 2 + 3: Mov32Imm dst: r5 imm: 2 + 4: JEqImm dst: r5 off: -1 imm: 0 + 5: Div32Reg dst: r4 src: r5 + 6: JEqImm dst: r4 off: -1 imm: 1 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 0 + 8: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 9: Mov32Imm dst: r4 imm: 1 + 10: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 11: MovImm dst: r4 imm: 0 + 12: JaImm dst: r0 off: -1 imm: 0 + result: + 13: MovImm dst: r0 imm: 2 + 14: JEqImm dst: r4 off: -1 imm: 0 + 15: MovImm dst: r0 imm: 1 + return: + 16: Exit +=== RUN TestALUDiv/kernel#01 +=== RUN TestALUDiv/C#02 +=== RUN TestALUAnd/eBPF#05 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 240 + 3: Mov32Imm dst: r5 imm: 15 + 4: And32Reg dst: r4 src: r5 + 5: JEqImm dst: r4 off: -1 imm: 0 + filter_block_4: + 6: Mov32Imm dst: r4 imm: 0 + 7: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 8: Mov32Imm dst: r4 imm: 1 + 9: JaImm dst: r0 off: -1 imm: 0 + result: + 10: MovImm dst: r0 imm: 2 + 11: JEqImm dst: r4 off: -1 imm: 0 + 12: MovImm dst: r0 imm: 1 + return: + 13: Exit +=== RUN TestALUAnd/kernel#05 +--- PASS: TestALUAnd (0.71s) + --- SKIP: TestALUAnd/C (0.12s) + --- SKIP: TestALUAnd/eBPF (0.00s) + --- PASS: TestALUAnd/kernel (0.00s) + --- SKIP: TestALUAnd/C#01 (0.11s) + --- SKIP: TestALUAnd/eBPF#01 (0.00s) + --- PASS: TestALUAnd/kernel#01 (0.00s) + --- SKIP: TestALUAnd/C#02 (0.12s) + --- SKIP: TestALUAnd/eBPF#02 (0.00s) + --- PASS: TestALUAnd/kernel#02 (0.00s) + --- SKIP: TestALUAnd/C#03 (0.12s) + --- SKIP: TestALUAnd/eBPF#03 (0.00s) + --- PASS: TestALUAnd/kernel#03 (0.00s) + --- SKIP: TestALUAnd/C#04 (0.12s) + --- SKIP: TestALUAnd/eBPF#04 (0.00s) + --- PASS: TestALUAnd/kernel#04 (0.00s) + --- SKIP: TestALUAnd/C#05 (0.11s) + --- SKIP: TestALUAnd/eBPF#05 (0.00s) + --- PASS: TestALUAnd/kernel#05 (0.00s) === RUN TestLoadIndirect/constant_outofbounds/C#02 +=== RUN TestALUDiv/eBPF#02 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 19 + 3: Div32Imm dst: r4 imm: 3 + 4: JEqImm dst: r4 off: -1 imm: 6 + filter_block_3: + 5: Mov32Imm dst: r4 imm: 0 + 6: JaImm dst: r0 off: -1 imm: 0 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 1 + 8: JaImm dst: r0 off: -1 imm: 0 + result: + 9: MovImm dst: r0 imm: 2 + 10: JEqImm dst: r4 off: -1 imm: 0 + 11: MovImm dst: r0 imm: 1 + return: + 12: Exit +=== RUN TestALUDiv/kernel#02 +=== RUN TestALUDiv/C#03 === RUN TestLoadIndirect/constant_outofbounds/eBPF#02 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6444,6 +6483,45 @@ 21: Exit === RUN TestLoadIndirect/constant_outofbounds/kernel#02 === RUN TestLoadIndirect/constant_outofbounds/C#03 +=== RUN TestALUDiv/eBPF#03 + ebpf_test.go:17: + 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 + 1: LdXMemW dst: r3 src: r1 off: 4 imm: 0 + filter_block_0: + 2: Mov32Imm dst: r4 imm: 19 + 3: Mov32Imm dst: r5 imm: 3 + 4: JEqImm dst: r5 off: -1 imm: 0 + 5: Div32Reg dst: r4 src: r5 + 6: JEqImm dst: r4 off: -1 imm: 6 + filter_block_4: + 7: Mov32Imm dst: r4 imm: 0 + 8: JaImm dst: r0 off: -1 imm: 0 + filter_block_5: + 9: Mov32Imm dst: r4 imm: 1 + 10: JaImm dst: r0 off: -1 imm: 0 + filter_nomatch: + 11: MovImm dst: r4 imm: 0 + 12: JaImm dst: r0 off: -1 imm: 0 + result: + 13: MovImm dst: r0 imm: 2 + 14: JEqImm dst: r4 off: -1 imm: 0 + 15: MovImm dst: r0 imm: 1 + return: + 16: Exit +=== RUN TestALUDiv/kernel#03 +--- PASS: TestALUDiv (0.45s) + --- SKIP: TestALUDiv/C (0.12s) + --- SKIP: TestALUDiv/eBPF (0.00s) + --- PASS: TestALUDiv/kernel (0.00s) + --- SKIP: TestALUDiv/C#01 (0.12s) + --- SKIP: TestALUDiv/eBPF#01 (0.00s) + --- PASS: TestALUDiv/kernel#01 (0.00s) + --- SKIP: TestALUDiv/C#02 (0.11s) + --- SKIP: TestALUDiv/eBPF#02 (0.00s) + --- PASS: TestALUDiv/kernel#02 (0.00s) + --- SKIP: TestALUDiv/C#03 (0.11s) + --- SKIP: TestALUDiv/eBPF#03 (0.00s) + --- PASS: TestALUDiv/kernel#03 (0.00s) === RUN TestLoadIndirect/constant_outofbounds/eBPF#03 ebpf_test.go:17: 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 @@ -6675,79 +6753,79 @@ return: 25: Exit === RUN TestLoadIndirect/variable_outofbounds/kernel#04 ---- PASS: TestLoadIndirect (2.40s) - --- PASS: TestLoadIndirect/constant_valid (0.63s) - --- SKIP: TestLoadIndirect/constant_valid/C (0.08s) +--- PASS: TestLoadIndirect (3.42s) + --- PASS: TestLoadIndirect/constant_valid (0.92s) + --- SKIP: TestLoadIndirect/constant_valid/C (0.13s) --- SKIP: TestLoadIndirect/constant_valid/eBPF (0.00s) --- PASS: TestLoadIndirect/constant_valid/kernel (0.00s) - --- SKIP: TestLoadIndirect/constant_valid/C#01 (0.08s) + --- SKIP: TestLoadIndirect/constant_valid/C#01 (0.13s) --- SKIP: TestLoadIndirect/constant_valid/eBPF#01 (0.00s) --- PASS: TestLoadIndirect/constant_valid/kernel#01 (0.05s) - --- SKIP: TestLoadIndirect/constant_valid/C#02 (0.08s) + --- SKIP: TestLoadIndirect/constant_valid/C#02 (0.12s) --- SKIP: TestLoadIndirect/constant_valid/eBPF#02 (0.00s) --- PASS: TestLoadIndirect/constant_valid/kernel#02 (0.00s) - --- SKIP: TestLoadIndirect/constant_valid/C#03 (0.08s) + --- SKIP: TestLoadIndirect/constant_valid/C#03 (0.12s) --- SKIP: TestLoadIndirect/constant_valid/eBPF#03 (0.00s) --- PASS: TestLoadIndirect/constant_valid/kernel#03 (0.05s) - --- SKIP: TestLoadIndirect/constant_valid/C#04 (0.08s) + --- SKIP: TestLoadIndirect/constant_valid/C#04 (0.13s) --- SKIP: TestLoadIndirect/constant_valid/eBPF#04 (0.00s) --- PASS: TestLoadIndirect/constant_valid/kernel#04 (0.00s) - --- SKIP: TestLoadIndirect/constant_valid/C#05 (0.08s) + --- SKIP: TestLoadIndirect/constant_valid/C#05 (0.13s) --- SKIP: TestLoadIndirect/constant_valid/eBPF#05 (0.00s) --- PASS: TestLoadIndirect/constant_valid/kernel#05 (0.05s) - --- PASS: TestLoadIndirect/variable_valid (0.63s) - --- SKIP: TestLoadIndirect/variable_valid/C (0.08s) + --- PASS: TestLoadIndirect/variable_valid (0.94s) + --- SKIP: TestLoadIndirect/variable_valid/C (0.12s) --- SKIP: TestLoadIndirect/variable_valid/eBPF (0.00s) --- PASS: TestLoadIndirect/variable_valid/kernel (0.00s) - --- SKIP: TestLoadIndirect/variable_valid/C#01 (0.08s) + --- SKIP: TestLoadIndirect/variable_valid/C#01 (0.13s) --- SKIP: TestLoadIndirect/variable_valid/eBPF#01 (0.00s) --- PASS: TestLoadIndirect/variable_valid/kernel#01 (0.05s) - --- SKIP: TestLoadIndirect/variable_valid/C#02 (0.08s) + --- SKIP: TestLoadIndirect/variable_valid/C#02 (0.13s) --- SKIP: TestLoadIndirect/variable_valid/eBPF#02 (0.00s) --- PASS: TestLoadIndirect/variable_valid/kernel#02 (0.00s) - --- SKIP: TestLoadIndirect/variable_valid/C#03 (0.08s) + --- SKIP: TestLoadIndirect/variable_valid/C#03 (0.14s) --- SKIP: TestLoadIndirect/variable_valid/eBPF#03 (0.00s) --- PASS: TestLoadIndirect/variable_valid/kernel#03 (0.05s) - --- SKIP: TestLoadIndirect/variable_valid/C#04 (0.08s) + --- SKIP: TestLoadIndirect/variable_valid/C#04 (0.13s) --- SKIP: TestLoadIndirect/variable_valid/eBPF#04 (0.00s) --- PASS: TestLoadIndirect/variable_valid/kernel#04 (0.00s) - --- SKIP: TestLoadIndirect/variable_valid/C#05 (0.08s) + --- SKIP: TestLoadIndirect/variable_valid/C#05 (0.13s) --- SKIP: TestLoadIndirect/variable_valid/eBPF#05 (0.00s) --- PASS: TestLoadIndirect/variable_valid/kernel#05 (0.05s) - --- PASS: TestLoadIndirect/constant_outofbounds (0.56s) - --- SKIP: TestLoadIndirect/constant_outofbounds/C (0.07s) + --- PASS: TestLoadIndirect/constant_outofbounds (0.76s) + --- SKIP: TestLoadIndirect/constant_outofbounds/C (0.13s) --- SKIP: TestLoadIndirect/constant_outofbounds/eBPF (0.00s) --- PASS: TestLoadIndirect/constant_outofbounds/kernel (0.00s) - --- SKIP: TestLoadIndirect/constant_outofbounds/C#01 (0.07s) + --- SKIP: TestLoadIndirect/constant_outofbounds/C#01 (0.11s) --- SKIP: TestLoadIndirect/constant_outofbounds/eBPF#01 (0.00s) --- PASS: TestLoadIndirect/constant_outofbounds/kernel#01 (0.05s) - --- SKIP: TestLoadIndirect/constant_outofbounds/C#02 (0.07s) + --- SKIP: TestLoadIndirect/constant_outofbounds/C#02 (0.11s) --- SKIP: TestLoadIndirect/constant_outofbounds/eBPF#02 (0.00s) --- PASS: TestLoadIndirect/constant_outofbounds/kernel#02 (0.05s) - --- SKIP: TestLoadIndirect/constant_outofbounds/C#03 (0.07s) + --- SKIP: TestLoadIndirect/constant_outofbounds/C#03 (0.10s) --- SKIP: TestLoadIndirect/constant_outofbounds/eBPF#03 (0.00s) --- PASS: TestLoadIndirect/constant_outofbounds/kernel#03 (0.05s) - --- SKIP: TestLoadIndirect/constant_outofbounds/C#04 (0.07s) + --- SKIP: TestLoadIndirect/constant_outofbounds/C#04 (0.11s) --- SKIP: TestLoadIndirect/constant_outofbounds/eBPF#04 (0.00s) --- PASS: TestLoadIndirect/constant_outofbounds/kernel#04 (0.05s) - --- PASS: TestLoadIndirect/variable_outofbounds (0.58s) - --- SKIP: TestLoadIndirect/variable_outofbounds/C (0.07s) + --- PASS: TestLoadIndirect/variable_outofbounds (0.79s) + --- SKIP: TestLoadIndirect/variable_outofbounds/C (0.11s) --- SKIP: TestLoadIndirect/variable_outofbounds/eBPF (0.00s) --- PASS: TestLoadIndirect/variable_outofbounds/kernel (0.00s) - --- SKIP: TestLoadIndirect/variable_outofbounds/C#01 (0.07s) + --- SKIP: TestLoadIndirect/variable_outofbounds/C#01 (0.11s) --- SKIP: TestLoadIndirect/variable_outofbounds/eBPF#01 (0.00s) --- PASS: TestLoadIndirect/variable_outofbounds/kernel#01 (0.05s) - --- SKIP: TestLoadIndirect/variable_outofbounds/C#02 (0.07s) + --- SKIP: TestLoadIndirect/variable_outofbounds/C#02 (0.12s) --- SKIP: TestLoadIndirect/variable_outofbounds/eBPF#02 (0.00s) --- PASS: TestLoadIndirect/variable_outofbounds/kernel#02 (0.05s) - --- SKIP: TestLoadIndirect/variable_outofbounds/C#03 (0.07s) + --- SKIP: TestLoadIndirect/variable_outofbounds/C#03 (0.12s) --- SKIP: TestLoadIndirect/variable_outofbounds/eBPF#03 (0.00s) --- PASS: TestLoadIndirect/variable_outofbounds/kernel#03 (0.05s) - --- SKIP: TestLoadIndirect/variable_outofbounds/C#04 (0.07s) + --- SKIP: TestLoadIndirect/variable_outofbounds/C#04 (0.12s) --- SKIP: TestLoadIndirect/variable_outofbounds/eBPF#04 (0.00s) --- PASS: TestLoadIndirect/variable_outofbounds/kernel#04 (0.05s) PASS -ok github.com/cloudflare/cbpfc 7.249s +ok github.com/cloudflare/cbpfc 9.658s make[1]: Leaving directory '/build/reproducible-path/golang-github-cloudflare-cbpfc-0.0~git20231012.992ed75' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -6775,12 +6853,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7190/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/463 and its subdirectories -I: Current time: Sun Jul 7 18:55:43 -12 2024 -I: pbuilder-time-stamp: 1720421743 +I: removing directory /srv/workspace/pbuilder/7190 and its subdirectories +I: Current time: Mon Jul 8 20:58:41 +14 2024 +I: pbuilder-time-stamp: 1720421921