From 408ba9b2d4aa02adf3c5eca214f8f3ec70b78cd2 Mon Sep 17 00:00:00 2001 From: NxPKG <116948796+NxPKG@users.noreply.github.com> Date: Sat, 22 Jun 2024 17:28:34 +0000 Subject: [PATCH] init commit --- .github/workflows/ci.yml | 2 +- .gitignore | 2 +- btf/testdata/relocs-eb.elf | Bin 16560 -> 16560 bytes btf/testdata/relocs-el.elf | Bin 16560 -> 16560 bytes btf/testdata/relocs_enum-eb.elf | Bin 1688 -> 1688 bytes btf/testdata/relocs_enum-el.elf | Bin 1688 -> 1688 bytes btf/testdata/relocs_read-eb.elf | Bin 9464 -> 9464 bytes btf/testdata/relocs_read-el.elf | Bin 9464 -> 9464 bytes cmd/bpf2go/testdata/minimal-eb.elf | Bin 2536 -> 2536 bytes cmd/bpf2go/testdata/minimal-el.elf | Bin 2536 -> 2536 bytes features/prog_test.go | 2 +- go.mod | 6 +++--- go.sum | 12 ++++++------ link/program.go | 2 +- map_test.go | 2 +- testdata/btf_map_init-eb.elf | Bin 2784 -> 2784 bytes testdata/btf_map_init-el.elf | Bin 2784 -> 2784 bytes testdata/constants-eb.elf | Bin 1768 -> 1768 bytes testdata/constants-el.elf | Bin 1768 -> 1768 bytes testdata/docker/VERSION | 2 +- testdata/errors-eb.elf | Bin 2040 -> 2040 bytes testdata/errors-el.elf | Bin 2040 -> 2040 bytes testdata/fentry_fexit-eb.elf | Bin 1928 -> 1928 bytes testdata/fentry_fexit-el.elf | Bin 1928 -> 1928 bytes testdata/freplace-eb.elf | Bin 2312 -> 2312 bytes testdata/freplace-el.elf | Bin 2312 -> 2312 bytes testdata/fwd_decl-eb.elf | Bin 1184 -> 1184 bytes testdata/fwd_decl-el.elf | Bin 1184 -> 1184 bytes testdata/invalid-kfunc-eb.elf | Bin 1704 -> 1704 bytes testdata/invalid-kfunc-el.elf | Bin 1704 -> 1704 bytes testdata/invalid_map_static-eb.elf | Bin 2024 -> 2024 bytes testdata/invalid_map_static-el.elf | Bin 2024 -> 2024 bytes testdata/kconfig-eb.elf | Bin 2056 -> 2056 bytes testdata/kconfig-el.elf | Bin 2056 -> 2056 bytes testdata/kconfig_config-eb.elf | Bin 2440 -> 2440 bytes testdata/kconfig_config-el.elf | Bin 2440 -> 2440 bytes testdata/kfunc-eb.elf | Bin 4720 -> 4720 bytes testdata/kfunc-el.elf | Bin 4720 -> 4720 bytes testdata/kfunc-kmod-eb.elf | Bin 1696 -> 1696 bytes testdata/kfunc-kmod-el.elf | Bin 1696 -> 1696 bytes testdata/loader-clang-11-eb.elf | Bin 10720 -> 10720 bytes testdata/loader-clang-11-el.elf | Bin 10720 -> 10720 bytes testdata/loader-clang-14-eb.elf | Bin 10664 -> 10664 bytes testdata/loader-clang-14-el.elf | Bin 10664 -> 10664 bytes testdata/loader-clang-17-eb.elf | Bin 10664 -> 10664 bytes testdata/loader-clang-17-el.elf | Bin 10664 -> 10664 bytes testdata/manyprogs-eb.elf | Bin 39632 -> 39632 bytes testdata/manyprogs-el.elf | Bin 39632 -> 39632 bytes testdata/raw_tracepoint-eb.elf | Bin 1568 -> 1568 bytes testdata/raw_tracepoint-el.elf | Bin 1568 -> 1568 bytes testdata/strings-eb.elf | Bin 2664 -> 2664 bytes testdata/strings-el.elf | Bin 2664 -> 2664 bytes testdata/subprog_reloc-eb.elf | Bin 3256 -> 3256 bytes testdata/subprog_reloc-el.elf | Bin 3256 -> 3256 bytes 54 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09a34fb..128303e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,7 +156,7 @@ jobs: needs: build-and-lint timeout-minutes: 15 env: - GBPF_TEST_IGNORE_KERNEL_VERSION: 'TestKprobeMulti,TestKprobeMultiErrors,TestKprobeMultiCookie,TestKprobeMultiProgramCall,TestHavgBPFLinkKprobeMulti' + EBPF_TEST_IGNORE_KERNEL_VERSION: 'TestKprobeMulti,TestKprobeMultiErrors,TestKprobeMultiCookie,TestKprobeMultiProgramCall,TestHaveBPFLinkKprobeMulti' steps: - uses: actions/checkout@v4 diff --git a/.gitignore b/.gitignore index 7311459..b46162b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,4 @@ *.test # Output of the go coverage tool, specifically when used with LiteIDE -*.out \ No newline at end of file +*.out diff --git a/btf/testdata/relocs-eb.elf b/btf/testdata/relocs-eb.elf index 7fc2336acdd6c5a4c899095fc5806650370dd8e4..ad3ec765e65b3a13c59cc6bf341c79d4627a8d28 100644 GIT binary patch delta 16 Wcmdnc$hZNBocS5kH@ooX7y1ttIh diff --git a/testdata/constants-el.elf b/testdata/constants-el.elf index 7a160110c2684c45e6906f879e00dbf2eb58879b..2abd0ccfdea18e4c076675cb5743ea6183dfd2df 100644 GIT binary patch delta 14 VcmaFC`+|2vGb3aA<`%{jRsbz21t1ttIh diff --git a/testdata/docker/VERSION b/testdata/docker/VERSION index 9a235eb..3a684b8 100644 --- a/testdata/docker/VERSION +++ b/testdata/docker/VERSION @@ -1 +1 @@ -1719075092 +1719076868 diff --git a/testdata/errors-eb.elf b/testdata/errors-eb.elf index 0cf48c021614a109c9b6cb91653beb148e3d068c..54cf34b9e0753145bc911701a16d8a9160acc62e 100644 GIT binary patch delta 14 Vcmeyt|AT)+AtPh@<|4*6HUKVE1xo+` delta 14 Vcmeyt|AT)+AtPhz<|4*6HUKV21xWw^ diff --git a/testdata/errors-el.elf b/testdata/errors-el.elf index 7d12bae96e746c9b37287f484e8984dec3a29dbb..fb746b071eaa0e250f757440bc65cc96b929e3b2 100644 GIT binary patch delta 14 Vcmeyt|AT)+AtPh@<|4*6HUKVE1xo+` delta 14 Vcmeyt|AT)+AtPhz<|4*6HUKV21xWw^ diff --git a/testdata/fentry_fexit-eb.elf b/testdata/fentry_fexit-eb.elf index cab80dbcd6e6f4d8f195d2248a2adea277c220d3..1d4372e342d5875fdf5953a89a0e5ab0f7ef3177 100644 GIT binary patch delta 14 VcmeC+@8I81%*dF&xr9-K4FDo41N{I1 delta 14 VcmeC+@8I81%*dF!xr9-K4FDn@1N#5~ diff --git a/testdata/fentry_fexit-el.elf b/testdata/fentry_fexit-el.elf index 501eaf9247254ce450a4fe19411c3b856c10de77..54dc2cd415f2f9b02a2b20546c02f21004bdeec5 100644 GIT binary patch delta 14 VcmeC+@8I81%*dF&xr9-K4FDo41N{I1 delta 14 VcmeC+@8I81%*dF!xr9-K4FDn@1N#5~ diff --git a/testdata/freplace-eb.elf b/testdata/freplace-eb.elf index e6f6297aa9ee2ca8ac93913012bc0162566b70f3..d0b37b78efb47d2e9091b2c5025b32013d75c0f4 100644 GIT binary patch delta 14 VcmeAW>JZv+f{`(O^GQZ~b^s?D1la%p delta 14 VcmeAW>JZv+f{`(G^GQZ~b^s?11lIrn diff --git a/testdata/freplace-el.elf b/testdata/freplace-el.elf index ebad4bd2d706cc93170250998f997bad1d1fbae8..3e68a421add7967e8d56fd417fc3c868395bbe70 100644 GIT binary patch delta 14 VcmeAW>JZv+f{`(O^GQZ~b^s?D1la%p delta 14 VcmeAW>JZv+f{`(G^GQZ~b^s?11lIrn diff --git a/testdata/fwd_decl-eb.elf b/testdata/fwd_decl-eb.elf index 7a4a46b6ae01f63d507a153f868505046e5ff817..b1855795f3c023db9d8aa1a0274fd1a65aae781e 100644 GIT binary patch delta 12 UcmZ3$xqx%RGRE|c%YQNh03bmHMF0Q* delta 12 UcmZ3$xqx%RGRD-6%YQNh03bI7LjV8( diff --git a/testdata/fwd_decl-el.elf b/testdata/fwd_decl-el.elf index ea33e50efe489cd97fb7304c6c50fe4107d7fbb8..0de9bb953ffc61d5c2ba3c7df58fd5302722e3be 100644 GIT binary patch delta 12 UcmZ3$xqx%RGRE|c%YQNh03bmHMF0Q* delta 12 UcmZ3$xqx%RGRD-6%YQNh03bI7LjV8( diff --git a/testdata/invalid-kfunc-eb.elf b/testdata/invalid-kfunc-eb.elf index 9a898903e4e4e578d1b44b0b391de958dc2fabcc..574cd77e52d55614166abfdced63e051322a2398 100644 GIT binary patch delta 14 VcmZ3%yMlLv4r delta 14 VcmZ3%yMlLv4r delta 14 VcmZ3%yMlLv482~Ll1t9<|bY>82~LZ1s?za diff --git a/testdata/loader-clang-14-el.elf b/testdata/loader-clang-14-el.elf index c8e5b2abf2f58966385f4d77b0cb99ee4c736459..ca36cee62e6a95dffd8d14c7db2bb0a06a7c2b82 100644 GIT binary patch delta 14 VcmZ1xydro*BQIn6<|bY>82~Ll1t9<|bY>82~LZ1s?za diff --git a/testdata/loader-clang-17-eb.elf b/testdata/loader-clang-17-eb.elf index 1cec1b94c8ce95e8702814db02e7f3c6ea426e89..fe3bb8bab5585c14d44dfc462e4c27e83f62520e 100644 GIT binary patch delta 14 VcmZ1xydro*BQIn6<|bY>82~Ll1t9<|bY>82~LZ1s?za diff --git a/testdata/loader-clang-17-el.elf b/testdata/loader-clang-17-el.elf index c8e5b2abf2f58966385f4d77b0cb99ee4c736459..ca36cee62e6a95dffd8d14c7db2bb0a06a7c2b82 100644 GIT binary patch delta 14 VcmZ1xydro*BQIn6<|bY>82~Ll1t9<|bY>82~LZ1s?za diff --git a/testdata/manyprogs-eb.elf b/testdata/manyprogs-eb.elf index 4c934ef85bb239dae3cdf7816c0a9609e5c0ed21..9a6c3b0b2439f00e1281ac198ec2afc94ff1a230 100644 GIT binary patch delta 16 YcmcbxmFdD(rVX|_jOm;0bSC8i06t6xtpET3 delta 16 YcmcbxmFdD(rVX|_jH#RLbSC8i06stls{jB1 diff --git a/testdata/manyprogs-el.elf b/testdata/manyprogs-el.elf index 32fa63bbdb3bcde7e2061bde27ed197ca68f25dd..a883777182433578884c185a8028efa5c3f58648 100644 GIT binary patch delta 16 YcmcbxmFdD(rVX|_jOm;0bSC8i06t6xtpET3 delta 16 YcmcbxmFdD(rVX|_jH#RLbSC8i06stls{jB1 diff --git a/testdata/raw_tracepoint-eb.elf b/testdata/raw_tracepoint-eb.elf index 24310c35fe6c43953703ecc7f3ab34c84231f4c9..7ef8cd00285cfe277f5f800755a913635f792901 100644 GIT binary patch delta 14 VcmZ3$vw&yA8AitR&1V^dSpX?h1r`7R delta 14 VcmZ3$vw&yA8Ais`&1V^dSpX?V1rz`P diff --git a/testdata/raw_tracepoint-el.elf b/testdata/raw_tracepoint-el.elf index 6bb8ef6b8bf0417211ded06bbbee94341c146159..2850902b329d156a5dfa5b0bde4f9b2eebf6df7e 100644 GIT binary patch delta 14 VcmZ3$vw&yA8AitR&1V^dSpX?h1r`7R delta 14 VcmZ3$vw&yA8Ais`&1V^dSpX?V1rz`P diff --git a/testdata/strings-eb.elf b/testdata/strings-eb.elf index 16afa1c3994a01109315db6c158adbf71ac379fe..8247a2ad8092dda6b476fa842af73a37568d0c71 100644 GIT binary patch delta 14 VcmaDM@(W=`hyoB$)*1U&!% delta 14 VcmdlXxkGXT2Qy>pW=`hyoB$)v1Umo# diff --git a/testdata/subprog_reloc-el.elf b/testdata/subprog_reloc-el.elf index b15b4459df9de15bb15adf31ccb13922736d9fd5..46ff2c61be5b34178d8eb30e1f9d33692b9bf474 100644 GIT binary patch delta 14 VcmdlXxkGXT2Qy>(W=`hyoB$)*1U&!% delta 14 VcmdlXxkGXT2Qy>pW=`hyoB$)v1Umo#