diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index e3e7f5ede0..9d3d600d22 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -177,6 +177,14 @@ jobs: .\export_program_info.exe --clear .\export_program_info.exe + - name: Configure eBPF store (undocked) + if: (steps.skip_check.outputs.should_skip != 'true') && (matrix.configurations != 'FuzzerDebug') + id: configure_ebpf_store_undocked + working-directory: ./${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}} + run: | + .\export_program_info_sample.exe --clear + .\export_program_info_sample.exe + - name: Run pre test command if: steps.skip_check.outputs.should_skip != 'true' && (inputs.environment != 'ebpf_cicd_tests_ws2019' && inputs.environment != 'ebpf_cicd_tests_ws2022' && inputs.environment != 'ebpf_cicd_perf_ws2022') id: run_pre_test_command diff --git a/docs/eBpfExtensions.md b/docs/eBpfExtensions.md index db87b2b717..4f460d41fb 100644 --- a/docs/eBpfExtensions.md +++ b/docs/eBpfExtensions.md @@ -366,23 +366,6 @@ When an eBPF extension is installed, it must update the eBPF store with the prog To operate on the eBPF store, the extension must link the `\lib\ebpf_store_helper_km.lib` kernel-mode library and include the related `\include\ebpf_store_helper.h` header file, both distributed within the [eBPF for Windows NuGet package](https://www.nuget.org/packages/eBPF-for-Windows/). With these, the extension can use the following APIs to register program types, attach types and helper functions: -- `ebpf_store_update_helper_prototype`: updates the program type specific helper information in the eBPF store, given a pointer to the store key to be initialized and a pointer to the helper function prototype (i.e., `_ebpf_helper_function_prototype`): - - ```c - ebpf_result_t - ebpf_store_update_helper_prototype( - ebpf_store_key_t helper_info_key, _In_ const ebpf_helper_function_prototype_t* helper_info); - ```c - ``` - -- `ebpf_store_update_global_helper_information`: updates the global helper information in the eBPF store, given a pointer to an array of helper function prototypes: - - ```c - ebpf_result_t - ebpf_store_update_global_helper_information( - _In_reads_(helper_info_count) ebpf_helper_function_prototype_t* helper_info, uint32_t helper_info_count); - ``` - - `ebpf_store_update_section_information`: updates the section information in the eBPF store, given a pointer to an array of section information (i.e., `_ebpf_program_section_info`): ```c diff --git a/ebpf-for-windows.sln b/ebpf-for-windows.sln index 55d2e9b699..53f238eec9 100644 --- a/ebpf-for-windows.sln +++ b/ebpf-for-windows.sln @@ -68,8 +68,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{492C9B22 EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample", "tests\sample\sample.vcxproj", "{B4AD72E3-754E-40CA-9CEA-D3F2C9170E51}" ProjectSection(ProjectDependencies) = postProject + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856} = {21C137EC-9AE3-4C8C-8E74-8BFCC999D856} {231EE32B-EBA4-4FE5-A55B-DB18F539D403} = {231EE32B-EBA4-4FE5-A55B-DB18F539D403} {69B97E52-18DC-434E-A6E4-4C0F3E88C44A} = {69B97E52-18DC-434E-A6E4-4C0F3E88C44A} + {FA9BB88D-8259-40C1-9422-BDEDF9E9CE68} = {FA9BB88D-8259-40C1-9422-BDEDF9E9CE68} EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "setup_build", "scripts\setup_build\setup_build.vcxproj", "{231EE32B-EBA4-4FE5-A55B-DB18F539D403}" @@ -120,10 +122,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "unit_tests", "tests\unit\te EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "netsh_static", "libs\ebpfnetsh\ebpfnetsh.vcxproj", "{370E7D53-C97F-4077-A3D5-620C4FD87EED}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample_ebpf_ext", "tests\sample\ext\drv\sample_ext.vcxproj", "{C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample_ext_app", "tests\sample\ext\app\sample_ext_app.vcxproj", "{7358D8BD-4123-4B2D-86C0-87F6BA6CED76}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "performance", "tests\performance\performance.vcxproj", "{724EB55A-CCFC-4662-92E3-B664CDA365E7}" ProjectSection(ProjectDependencies) = postProject {245F0EC7-1EBC-4D68-8B1F-F758EA9196AE} = {245F0EC7-1EBC-4D68-8B1F-F758EA9196AE} @@ -221,7 +219,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ebpf_store_helper_um", "lib EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "usersim", "external\usersim\src\usersim.vcxproj", "{030A7AC6-14DC-45CF-AF34-891057AB1402}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libbtf", "external\ebpf-verifier\build\external\libbtf\libbtf\libbtf.vcxproj", "{249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libbtf", "external\ebpf-verifier\build\external\libbtf\libbtf\libbtf.vcxproj", "{89A12D43-9B91-3960-A6BF-E506122C207A}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "usersim_dll_skeleton", "external\usersim\usersim_dll_skeleton\usersim_dll_skeleton.vcxproj", "{1937DB41-F3EB-4955-A636-6386DCB394F6}" EndProject @@ -235,6 +233,24 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cxplat_winuser", "external\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cxplat_winkernel", "external\usersim\cxplat\src\cxplat_winkernel\cxplat_winkernel.vcxproj", "{1EBE3966-7DC4-49B4-B840-3D33D63415EC}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "undocked", "undocked", "{1A0E5E22-3CAD-412A-9268-F561A5462C77}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{DE67BE69-4E0E-4DB2-920C-7178E633EB8A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "export_program_info_sample", "undocked\tools\export_program_info_sample\export_program_info_sample.vcxproj", "{21C137EC-9AE3-4C8C-8E74-8BFCC999D856}" + ProjectSection(ProjectDependencies) = postProject + {7629D5D0-5A80-4528-87ED-60FC83C5552B} = {7629D5D0-5A80-4528-87ED-60FC83C5552B} + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "drivers", "drivers", "{984080A6-5890-4ADE-BF8C-DC78EBAB0E8B}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample_ebpf_ext", "undocked\tests\sample\ext\drv\sample_ext.vcxproj", "{C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}" + ProjectSection(ProjectDependencies) = postProject + {7629D5D0-5A80-4528-87ED-60FC83C5552B} = {7629D5D0-5A80-4528-87ED-60FC83C5552B} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sample_ext_app", "tests\sample\ext\app\sample_ext_app.vcxproj", "{6D365515-DE92-4CEB-AB3D-5608719A8886}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|ARM64 = Debug|ARM64 @@ -1429,100 +1445,6 @@ Global {370E7D53-C97F-4077-A3D5-620C4FD87EED}.RelWithDebInfo|x64.Build.0 = Release|x64 {370E7D53-C97F-4077-A3D5-620C4FD87EED}.RelWithDebInfo|x86.ActiveCfg = Debug|Win32 {370E7D53-C97F-4077-A3D5-620C4FD87EED}.RelWithDebInfo|x86.Build.0 = Debug|Win32 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|ARM64.ActiveCfg = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|ARM64.Build.0 = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x64.ActiveCfg = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x64.Build.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x64.Deploy.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x86.ActiveCfg = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x86.Build.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x86.Deploy.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|ARM64.ActiveCfg = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|ARM64.Build.0 = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x64.ActiveCfg = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x86.ActiveCfg = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x86.Build.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x86.Deploy.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|ARM64.ActiveCfg = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|ARM64.Build.0 = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x64.ActiveCfg = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x64.Build.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x64.Deploy.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x86.ActiveCfg = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x86.Build.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x86.Deploy.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|ARM64.ActiveCfg = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|ARM64.Build.0 = Debug|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x64.ActiveCfg = NativeOnlyDebug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x64.Build.0 = NativeOnlyDebug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x64.Deploy.0 = NativeOnlyDebug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x86.ActiveCfg = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x86.Build.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x86.Deploy.0 = Debug|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|ARM64.ActiveCfg = Release|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|ARM64.Build.0 = Release|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x64.ActiveCfg = NativeOnlyRelease|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x64.Build.0 = NativeOnlyRelease|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x64.Deploy.0 = NativeOnlyRelease|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x86.ActiveCfg = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x86.Build.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x86.Deploy.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|ARM64.ActiveCfg = Release|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|ARM64.Build.0 = Release|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x64.ActiveCfg = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x64.Build.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x64.Deploy.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x86.ActiveCfg = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x86.Build.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x86.Deploy.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|ARM64.ActiveCfg = Release|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|ARM64.Build.0 = Release|ARM64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x64.ActiveCfg = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x64.Build.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x64.Deploy.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x86.ActiveCfg = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x86.Build.0 = Release|x64 - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x86.Deploy.0 = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Debug|ARM64.ActiveCfg = Debug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Debug|x64.ActiveCfg = Debug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Debug|x64.Build.0 = Debug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Debug|x86.ActiveCfg = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Debug|x86.Build.0 = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.FuzzerDebug|ARM64.ActiveCfg = Debug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.FuzzerDebug|ARM64.Build.0 = Debug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.FuzzerDebug|x64.ActiveCfg = FuzzerDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.FuzzerDebug|x86.ActiveCfg = FuzzerDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.FuzzerDebug|x86.Build.0 = FuzzerDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.MinSizeRel|ARM64.ActiveCfg = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.MinSizeRel|ARM64.Build.0 = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.MinSizeRel|x64.ActiveCfg = Debug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.MinSizeRel|x64.Build.0 = Debug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.MinSizeRel|x86.ActiveCfg = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.MinSizeRel|x86.Build.0 = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyDebug|ARM64.ActiveCfg = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyDebug|ARM64.Build.0 = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyDebug|x64.ActiveCfg = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyDebug|x64.Build.0 = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyDebug|x86.ActiveCfg = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyDebug|x86.Build.0 = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyRelease|ARM64.ActiveCfg = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyRelease|ARM64.Build.0 = NativeOnlyDebug|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyRelease|x64.ActiveCfg = NativeOnlyRelease|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyRelease|x64.Build.0 = NativeOnlyRelease|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyRelease|x86.ActiveCfg = NativeOnlyRelease|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.NativeOnlyRelease|x86.Build.0 = NativeOnlyRelease|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Release|ARM64.ActiveCfg = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Release|ARM64.Build.0 = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Release|x64.ActiveCfg = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Release|x64.Build.0 = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Release|x86.ActiveCfg = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.Release|x86.Build.0 = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.RelWithDebInfo|ARM64.ActiveCfg = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.RelWithDebInfo|ARM64.Build.0 = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.RelWithDebInfo|x64.ActiveCfg = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.RelWithDebInfo|x64.Build.0 = Release|x64 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.RelWithDebInfo|x86.ActiveCfg = Debug|Win32 - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76}.RelWithDebInfo|x86.Build.0 = Debug|Win32 {724EB55A-CCFC-4662-92E3-B664CDA365E7}.Debug|ARM64.ActiveCfg = Debug|x64 {724EB55A-CCFC-4662-92E3-B664CDA365E7}.Debug|x64.ActiveCfg = Debug|x64 {724EB55A-CCFC-4662-92E3-B664CDA365E7}.Debug|x64.Build.0 = Debug|x64 @@ -1959,6 +1881,7 @@ Global {8DD6577A-CBBE-43FE-9FC3-E42CB013CC60}.RelWithDebInfo|x86.Build.0 = Debug|Win32 {7629D5D0-5A80-4528-87ED-60FC83C5552B}.Debug|ARM64.ActiveCfg = Debug|x64 {7629D5D0-5A80-4528-87ED-60FC83C5552B}.Debug|x64.ActiveCfg = Debug|x64 + {7629D5D0-5A80-4528-87ED-60FC83C5552B}.Debug|x64.Build.0 = Debug|x64 {7629D5D0-5A80-4528-87ED-60FC83C5552B}.Debug|x86.ActiveCfg = Debug|Win32 {7629D5D0-5A80-4528-87ED-60FC83C5552B}.Debug|x86.Build.0 = Debug|Win32 {7629D5D0-5A80-4528-87ED-60FC83C5552B}.FuzzerDebug|ARM64.ActiveCfg = Debug|x64 @@ -2808,48 +2731,48 @@ Global {030A7AC6-14DC-45CF-AF34-891057AB1402}.RelWithDebInfo|x64.Build.0 = Release|x64 {030A7AC6-14DC-45CF-AF34-891057AB1402}.RelWithDebInfo|x86.ActiveCfg = Release|Win32 {030A7AC6-14DC-45CF-AF34-891057AB1402}.RelWithDebInfo|x86.Build.0 = Release|Win32 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Debug|ARM64.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Debug|ARM64.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Debug|x64.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Debug|x64.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Debug|x86.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Debug|x86.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.FuzzerDebug|ARM64.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.FuzzerDebug|ARM64.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.FuzzerDebug|x64.ActiveCfg = FuzzerDebug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.FuzzerDebug|x64.Build.0 = FuzzerDebug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.FuzzerDebug|x86.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.FuzzerDebug|x86.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.MinSizeRel|ARM64.ActiveCfg = MinSizeRel|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.MinSizeRel|ARM64.Build.0 = MinSizeRel|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.MinSizeRel|x86.ActiveCfg = MinSizeRel|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.MinSizeRel|x86.Build.0 = MinSizeRel|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyDebug|ARM64.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyDebug|ARM64.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyDebug|x64.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyDebug|x64.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyDebug|x86.ActiveCfg = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyDebug|x86.Build.0 = Debug|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyRelease|ARM64.ActiveCfg = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyRelease|ARM64.Build.0 = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyRelease|x64.ActiveCfg = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyRelease|x64.Build.0 = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyRelease|x86.ActiveCfg = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.NativeOnlyRelease|x86.Build.0 = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Release|ARM64.ActiveCfg = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Release|ARM64.Build.0 = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Release|x64.ActiveCfg = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Release|x64.Build.0 = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Release|x86.ActiveCfg = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.Release|x86.Build.0 = Release|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.RelWithDebInfo|ARM64.Build.0 = RelWithDebInfo|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.RelWithDebInfo|x86.ActiveCfg = RelWithDebInfo|x64 - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5}.RelWithDebInfo|x86.Build.0 = RelWithDebInfo|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Debug|ARM64.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Debug|ARM64.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Debug|x64.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Debug|x64.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Debug|x86.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Debug|x86.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.FuzzerDebug|ARM64.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.FuzzerDebug|ARM64.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.FuzzerDebug|x64.ActiveCfg = FuzzerDebug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.FuzzerDebug|x64.Build.0 = FuzzerDebug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.FuzzerDebug|x86.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.FuzzerDebug|x86.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.MinSizeRel|ARM64.ActiveCfg = MinSizeRel|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.MinSizeRel|ARM64.Build.0 = MinSizeRel|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.MinSizeRel|x64.ActiveCfg = MinSizeRel|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.MinSizeRel|x64.Build.0 = MinSizeRel|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.MinSizeRel|x86.ActiveCfg = MinSizeRel|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.MinSizeRel|x86.Build.0 = MinSizeRel|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyDebug|ARM64.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyDebug|ARM64.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyDebug|x64.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyDebug|x64.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyDebug|x86.ActiveCfg = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyDebug|x86.Build.0 = Debug|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyRelease|ARM64.ActiveCfg = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyRelease|ARM64.Build.0 = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyRelease|x64.ActiveCfg = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyRelease|x64.Build.0 = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyRelease|x86.ActiveCfg = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.NativeOnlyRelease|x86.Build.0 = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Release|ARM64.ActiveCfg = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Release|ARM64.Build.0 = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Release|x64.ActiveCfg = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Release|x64.Build.0 = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Release|x86.ActiveCfg = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.Release|x86.Build.0 = Release|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.RelWithDebInfo|ARM64.ActiveCfg = RelWithDebInfo|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.RelWithDebInfo|ARM64.Build.0 = RelWithDebInfo|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.RelWithDebInfo|x64.ActiveCfg = RelWithDebInfo|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.RelWithDebInfo|x64.Build.0 = RelWithDebInfo|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.RelWithDebInfo|x86.ActiveCfg = RelWithDebInfo|x64 + {89A12D43-9B91-3960-A6BF-E506122C207A}.RelWithDebInfo|x86.Build.0 = RelWithDebInfo|x64 {1937DB41-F3EB-4955-A636-6386DCB394F6}.Debug|ARM64.ActiveCfg = Debug|x64 {1937DB41-F3EB-4955-A636-6386DCB394F6}.Debug|ARM64.Build.0 = Debug|x64 {1937DB41-F3EB-4955-A636-6386DCB394F6}.Debug|x64.ActiveCfg = Debug|x64 @@ -3130,6 +3053,142 @@ Global {1EBE3966-7DC4-49B4-B840-3D33D63415EC}.RelWithDebInfo|x64.Deploy.0 = Release|x64 {1EBE3966-7DC4-49B4-B840-3D33D63415EC}.RelWithDebInfo|x86.ActiveCfg = Release|Win32 {1EBE3966-7DC4-49B4-B840-3D33D63415EC}.RelWithDebInfo|x86.Build.0 = Release|Win32 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Debug|ARM64.ActiveCfg = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Debug|ARM64.Build.0 = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Debug|x64.ActiveCfg = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Debug|x64.Build.0 = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Debug|x86.ActiveCfg = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Debug|x86.Build.0 = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.FuzzerDebug|ARM64.ActiveCfg = FuzzerDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.FuzzerDebug|ARM64.Build.0 = FuzzerDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.FuzzerDebug|x64.ActiveCfg = FuzzerDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.FuzzerDebug|x86.ActiveCfg = FuzzerDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.FuzzerDebug|x86.Build.0 = FuzzerDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.MinSizeRel|ARM64.ActiveCfg = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.MinSizeRel|ARM64.Build.0 = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.MinSizeRel|x64.ActiveCfg = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.MinSizeRel|x64.Build.0 = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.MinSizeRel|x86.ActiveCfg = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.MinSizeRel|x86.Build.0 = Debug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyDebug|ARM64.ActiveCfg = NativeOnlyDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyDebug|ARM64.Build.0 = NativeOnlyDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyDebug|x64.ActiveCfg = NativeOnlyDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyDebug|x64.Build.0 = NativeOnlyDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyDebug|x86.ActiveCfg = NativeOnlyDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyDebug|x86.Build.0 = NativeOnlyDebug|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyRelease|ARM64.ActiveCfg = NativeOnlyRelease|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyRelease|ARM64.Build.0 = NativeOnlyRelease|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyRelease|x64.ActiveCfg = NativeOnlyRelease|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyRelease|x64.Build.0 = NativeOnlyRelease|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyRelease|x86.ActiveCfg = NativeOnlyRelease|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.NativeOnlyRelease|x86.Build.0 = NativeOnlyRelease|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Release|ARM64.ActiveCfg = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Release|ARM64.Build.0 = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Release|x64.ActiveCfg = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Release|x64.Build.0 = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Release|x86.ActiveCfg = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.Release|x86.Build.0 = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.RelWithDebInfo|ARM64.ActiveCfg = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.RelWithDebInfo|ARM64.Build.0 = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.RelWithDebInfo|x64.ActiveCfg = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.RelWithDebInfo|x64.Build.0 = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.RelWithDebInfo|x86.ActiveCfg = Release|x64 + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856}.RelWithDebInfo|x86.Build.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|ARM64.Build.0 = Debug|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x64.ActiveCfg = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x64.Build.0 = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x64.Deploy.0 = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x86.ActiveCfg = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x86.Build.0 = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Debug|x86.Deploy.0 = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|ARM64.ActiveCfg = Debug|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|ARM64.Build.0 = Debug|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x64.ActiveCfg = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x86.ActiveCfg = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x86.Build.0 = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.FuzzerDebug|x86.Deploy.0 = Debug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|ARM64.ActiveCfg = NativeOnlyRelease|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|ARM64.Build.0 = NativeOnlyRelease|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x64.ActiveCfg = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x64.Build.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x64.Deploy.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x86.ActiveCfg = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x86.Build.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.MinSizeRel|x86.Deploy.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|ARM64.ActiveCfg = NativeOnlyDebug|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|ARM64.Build.0 = NativeOnlyDebug|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x64.ActiveCfg = NativeOnlyDebug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x64.Build.0 = NativeOnlyDebug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x64.Deploy.0 = NativeOnlyDebug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x86.ActiveCfg = NativeOnlyDebug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x86.Build.0 = NativeOnlyDebug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyDebug|x86.Deploy.0 = NativeOnlyDebug|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|ARM64.ActiveCfg = NativeOnlyRelease|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|ARM64.Build.0 = NativeOnlyRelease|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x64.ActiveCfg = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x64.Build.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x64.Deploy.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x86.ActiveCfg = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x86.Build.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.NativeOnlyRelease|x86.Deploy.0 = NativeOnlyRelease|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|ARM64.ActiveCfg = Release|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|ARM64.Build.0 = Release|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x64.ActiveCfg = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x64.Build.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x64.Deploy.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x86.ActiveCfg = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x86.Build.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.Release|x86.Deploy.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|ARM64.ActiveCfg = Release|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|ARM64.Build.0 = Release|ARM64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x64.ActiveCfg = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x64.Build.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x64.Deploy.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x86.ActiveCfg = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x86.Build.0 = Release|x64 + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E}.RelWithDebInfo|x86.Deploy.0 = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Debug|ARM64.ActiveCfg = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Debug|ARM64.Build.0 = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Debug|x64.ActiveCfg = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Debug|x64.Build.0 = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Debug|x86.ActiveCfg = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Debug|x86.Build.0 = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.FuzzerDebug|ARM64.ActiveCfg = FuzzerDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.FuzzerDebug|ARM64.Build.0 = FuzzerDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.FuzzerDebug|x64.ActiveCfg = FuzzerDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.FuzzerDebug|x86.ActiveCfg = FuzzerDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.FuzzerDebug|x86.Build.0 = FuzzerDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.MinSizeRel|ARM64.ActiveCfg = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.MinSizeRel|ARM64.Build.0 = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.MinSizeRel|x64.ActiveCfg = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.MinSizeRel|x64.Build.0 = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.MinSizeRel|x86.ActiveCfg = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.MinSizeRel|x86.Build.0 = Debug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyDebug|ARM64.ActiveCfg = NativeOnlyDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyDebug|ARM64.Build.0 = NativeOnlyDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyDebug|x64.ActiveCfg = NativeOnlyDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyDebug|x64.Build.0 = NativeOnlyDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyDebug|x86.ActiveCfg = NativeOnlyDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyDebug|x86.Build.0 = NativeOnlyDebug|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyRelease|ARM64.ActiveCfg = NativeOnlyRelease|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyRelease|ARM64.Build.0 = NativeOnlyRelease|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyRelease|x64.ActiveCfg = NativeOnlyRelease|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyRelease|x64.Build.0 = NativeOnlyRelease|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyRelease|x86.ActiveCfg = NativeOnlyRelease|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.NativeOnlyRelease|x86.Build.0 = NativeOnlyRelease|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Release|ARM64.ActiveCfg = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Release|ARM64.Build.0 = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Release|x64.ActiveCfg = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Release|x64.Build.0 = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Release|x86.ActiveCfg = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.Release|x86.Build.0 = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.RelWithDebInfo|ARM64.ActiveCfg = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.RelWithDebInfo|ARM64.Build.0 = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.RelWithDebInfo|x64.ActiveCfg = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.RelWithDebInfo|x64.Build.0 = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.RelWithDebInfo|x86.ActiveCfg = Release|x64 + {6D365515-DE92-4CEB-AB3D-5608719A8886}.RelWithDebInfo|x86.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -3164,8 +3223,6 @@ Global {D6725F19-B9BF-435F-80F2-C5F3EF0F4B8F} = {492C9B22-9237-4996-9E33-CA14D3533616} {A4037E5D-B00C-4AF1-9398-76B3ECE95F62} = {492C9B22-9237-4996-9E33-CA14D3533616} {370E7D53-C97F-4077-A3D5-620C4FD87EED} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} - {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E} = {492C9B22-9237-4996-9E33-CA14D3533616} - {7358D8BD-4123-4B2D-86C0-87F6BA6CED76} = {492C9B22-9237-4996-9E33-CA14D3533616} {724EB55A-CCFC-4662-92E3-B664CDA365E7} = {492C9B22-9237-4996-9E33-CA14D3533616} {07DC6181-84A2-4A14-A806-5E9AF6C929C2} = {492C9B22-9237-4996-9E33-CA14D3533616} {CA179B38-EBF5-4371-B830-73486E35250B} = {B09749EC-3D14-414B-BA9B-CD20E218DC84} @@ -3198,13 +3255,18 @@ Global {3569E946-C8B4-49EE-A89D-EDD09DC9F36E} = {7C2E30D9-E07F-4913-BD8A-345B38F18A81} {AA933B9F-B5D8-4AA8-AC18-98FE1A161E8A} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} {030A7AC6-14DC-45CF-AF34-891057AB1402} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} - {249E3FBC-0098-3E3E-80AE-C8F8EF6AB0E5} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} + {89A12D43-9B91-3960-A6BF-E506122C207A} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} {1937DB41-F3EB-4955-A636-6386DCB394F6} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} {1FDAD2FD-EBD8-462A-B285-ED5174E55079} = {97D3096A-20FB-4ACB-A038-88E652FE61E3} {9388DD45-7941-45D7-B4FF-BC00F550AF17} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} {D1B81388-23CA-4E4B-916F-8D37989AE836} = {7C2E30D9-E07F-4913-BD8A-345B38F18A81} {F2CA70AB-AF9A-47D1-9DA9-94D5AB573AC2} = {69CDB6A1-434D-4BC9-9BFF-D12DF7EDBB6B} {1EBE3966-7DC4-49B4-B840-3D33D63415EC} = {7C2E30D9-E07F-4913-BD8A-345B38F18A81} + {DE67BE69-4E0E-4DB2-920C-7178E633EB8A} = {1A0E5E22-3CAD-412A-9268-F561A5462C77} + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856} = {DE67BE69-4E0E-4DB2-920C-7178E633EB8A} + {984080A6-5890-4ADE-BF8C-DC78EBAB0E8B} = {1A0E5E22-3CAD-412A-9268-F561A5462C77} + {C8D46543-5AE5-4E66-B9CE-8B84588B1C9E} = {984080A6-5890-4ADE-BF8C-DC78EBAB0E8B} + {6D365515-DE92-4CEB-AB3D-5608719A8886} = {492C9B22-9237-4996-9E33-CA14D3533616} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {3D5F862D-74C6-4357-9F95-0B152E33B7B8} diff --git a/ebpfapi/Source.def b/ebpfapi/Source.def index 6cf2c6c5d1..10082b9cd2 100644 --- a/ebpfapi/Source.def +++ b/ebpfapi/Source.def @@ -113,6 +113,10 @@ EXPORTS ebpf_program_attach ebpf_program_attach_by_fd ebpf_program_query_info + ebpf_store_delete_program_information + ebpf_store_delete_section_information + ebpf_store_update_program_information + ebpf_store_update_section_information libbpf_attach_type_by_name libbpf_bpf_attach_type_str libbpf_bpf_link_type_str diff --git a/include/ebpf_extension_uuids.h b/include/ebpf_extension_uuids.h index d053b79e06..9a24062df7 100644 --- a/include/ebpf_extension_uuids.h +++ b/include/ebpf_extension_uuids.h @@ -4,8 +4,6 @@ #include "ebpf_windows.h" -#include - #ifdef __cplusplus extern "C" { diff --git a/include/ebpf_program_attach_type_guids.h b/include/ebpf_program_attach_type_guids.h index 0cd3d9a4cc..b0cd7fa2be 100644 --- a/include/ebpf_program_attach_type_guids.h +++ b/include/ebpf_program_attach_type_guids.h @@ -4,9 +4,6 @@ #include "ebpf_windows.h" -#include -#include - #ifdef __cplusplus extern "C" { diff --git a/include/ebpf_program_types.h b/include/ebpf_program_types.h index 6c7a7b5e64..b1aabfb925 100644 --- a/include/ebpf_program_types.h +++ b/include/ebpf_program_types.h @@ -6,7 +6,14 @@ #include "ebpf_result.h" #include +#if !defined(NO_CRT) && !defined(_NO_CRT_STDIO_INLINE) #include +#else +typedef unsigned char uint8_t; +typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; +typedef unsigned short wchar_t; +#endif #define EBPF_MAX_PROGRAM_DESCRIPTOR_NAME_LENGTH 256 #define EBPF_MAX_HELPER_FUNCTION_NAME_LENGTH 256 diff --git a/include/ebpf_store_helper.h b/include/ebpf_store_helper.h index 7ab9ed96c0..2c5e24ccef 100644 --- a/include/ebpf_store_helper.h +++ b/include/ebpf_store_helper.h @@ -4,13 +4,12 @@ #pragma once #include "ebpf_program_types.h" -#include "ebpf_shared_framework.h" #include "ebpf_windows.h" #ifdef USER_MODE #include "ebpf_utilities.h" #else +#include #include -#include #endif #define GUID_STRING_LENGTH 38 // not including the null terminator. @@ -25,18 +24,6 @@ extern "C" extern ebpf_store_key_t ebpf_store_root_key; extern const wchar_t* ebpf_store_root_sub_key; - /** - * @brief Update the provider prototype information in the eBPF store. - * - * @param[in] helper_info_key Pointer to the store key to be initialized. - * @param[in] helper_info Pointer to the helper function prototype. - * - * @return Status of the operation. - */ - ebpf_result_t - ebpf_store_update_helper_prototype( - ebpf_store_key_t helper_info_key, _In_ const ebpf_helper_function_prototype_t* helper_info); - /** * @brief Update global helper information in the eBPF store. * @@ -73,6 +60,26 @@ extern "C" ebpf_store_update_program_information( _In_reads_(program_info_count) const ebpf_program_info_t* program_info, uint32_t program_info_count); + /** + * @brief Delete program information from the eBPF store. + * + * @param[in] program_info Pointer to the program information. + * + * @returns Status of the operation. + */ + ebpf_result_t + ebpf_store_delete_program_information(_In_ const ebpf_program_info_t* program_info); + + /** + * @brief Delete section information from the eBPF store. + * + * @param[in] section_info Pointer to the section information. + * + * @returns Status of the operation. + */ + ebpf_result_t + ebpf_store_delete_section_information(_In_ const ebpf_program_section_info_t* section_info); + #ifdef __cplusplus } #endif \ No newline at end of file diff --git a/include/ebpf_windows.h b/include/ebpf_windows.h index c44de0e2d6..c02e0c7a9b 100644 --- a/include/ebpf_windows.h +++ b/include/ebpf_windows.h @@ -5,7 +5,7 @@ #ifdef _MSC_VER #include #else -#if !defined(NO_CRT) +#if !defined(NO_CRT) && !defined(_NO_CRT_STDIO_INLINE) #include #else typedef unsigned char uint8_t; diff --git a/installer/ebpf-for-windows.wixproj b/installer/ebpf-for-windows.wixproj index 5f9381d17f..cdbb77557f 100644 --- a/installer/ebpf-for-windows.wixproj +++ b/installer/ebpf-for-windows.wixproj @@ -150,7 +150,7 @@ SPDX-License-Identifier: MIT Binaries;Content;Satellites INSTALLFOLDER - + sample_ebpf_ext {c8d46543-5ae5-4e66-b9ce-8b84588b1c9e} True diff --git a/libs/api/api.vcxproj b/libs/api/api.vcxproj index f87e4c2277..cb1da54181 100644 --- a/libs/api/api.vcxproj +++ b/libs/api/api.vcxproj @@ -202,9 +202,6 @@ {1423245d-0249-40fc-a077-ff7780acfe3f} - - {fa9bb88d-8259-40c1-9422-bdedf9e9ce68} - {c3d2cd73-bf4c-47df-8808-2a9996124d5b} diff --git a/libs/api_common/store_helper_internal.cpp b/libs/api_common/store_helper_internal.cpp index a37ec90850..9bbad554f3 100644 --- a/libs/api_common/store_helper_internal.cpp +++ b/libs/api_common/store_helper_internal.cpp @@ -4,6 +4,7 @@ #include "..\libs\store_helper\user\ebpf_registry_helper.h" #include "ebpf_program_attach_type_guids.h" #include "ebpf_serialize.h" +#include "ebpf_shared_framework.h" #include "ebpf_store_helper.h" #include "ebpf_utilities.h" #include "store_helper_internal.h" @@ -755,3 +756,57 @@ ebpf_store_clear(_In_ const ebpf_store_key_t root_key_path) return result; } + +ebpf_result_t +ebpf_store_delete_global_helper_information(_In_ ebpf_helper_function_prototype_t* helper_info) +{ + ebpf_result_t result = EBPF_SUCCESS; + ebpf_store_key_t root_key = NULL; + ebpf_store_key_t provider_key = NULL; + ebpf_store_key_t helper_info_key = NULL; + wchar_t* helper_name = ebpf_get_wstring_from_string(helper_info->name); + if (helper_name == nullptr) { + result = EBPF_NO_MEMORY; + goto Exit; + } + + // Open root registry key. + result = ebpf_open_registry_key(ebpf_store_root_key, EBPF_ROOT_RELATIVE_PATH, REG_CREATE_FLAGS, &root_key); + if (result != EBPF_SUCCESS) { + if (result == EBPF_FILE_NOT_FOUND) { + result = EBPF_SUCCESS; + } + goto Exit; + } + + // Open "providers" registry key. + result = ebpf_open_registry_key(root_key, EBPF_PROVIDERS_REGISTRY_PATH, REG_CREATE_FLAGS, &provider_key); + if (result != EBPF_SUCCESS) { + if (result == EBPF_FILE_NOT_FOUND) { + result = EBPF_SUCCESS; + } + goto Exit; + } + + // Open (or create) global helpers key. + result = + ebpf_open_registry_key(provider_key, EBPF_GLOBAL_HELPERS_REGISTRY_PATH, REG_DELETE_FLAGS, &helper_info_key); + if (result != EBPF_SUCCESS) { + if (result == EBPF_FILE_NOT_FOUND) { + result = EBPF_SUCCESS; + } + goto Exit; + } + + result = ebpf_delete_registry_tree(helper_info_key, helper_name); + if (result != EBPF_SUCCESS) { + goto Exit; + } + +Exit: + ebpf_free(helper_name); + ebpf_close_registry_key(helper_info_key); + ebpf_close_registry_key(provider_key); + + return result; +} \ No newline at end of file diff --git a/libs/api_common/store_helper_internal.h b/libs/api_common/store_helper_internal.h index abe8e7f050..5387a73cac 100644 --- a/libs/api_common/store_helper_internal.h +++ b/libs/api_common/store_helper_internal.h @@ -21,4 +21,14 @@ ebpf_store_load_global_helper_information( _Out_ uint32_t* global_helper_info_count); _Must_inspect_result_ ebpf_result_t -ebpf_store_clear(_In_ const ebpf_store_key_t root_key_path); \ No newline at end of file +ebpf_store_clear(_In_ const ebpf_store_key_t root_key_path); + +/** + * @brief Delete global helper information from the eBPF store. + * + * @param[in] helper_info Pointer to the helper information. + * + * @returns Status of the operation. + */ +ebpf_result_t +ebpf_store_delete_global_helper_information(_In_ ebpf_helper_function_prototype_t* helper_info); \ No newline at end of file diff --git a/libs/api_common/windows_program_type.h b/libs/api_common/windows_program_type.h index 2b57a896b9..094feafd35 100644 --- a/libs/api_common/windows_program_type.h +++ b/libs/api_common/windows_program_type.h @@ -6,9 +6,6 @@ #include "crab_verifier_wrapper.hpp" #include "ebpf_nethooks.h" #include "ebpf_program_types.h" -#include "net_ebpf_ext_program_info.h" -#include "sample_ext_helpers.h" -#include "sample_ext_program_info.h" #define PTYPE(name, descr, native_type, prefixes) \ { \ diff --git a/libs/store_helper/ebpf_store_helper.c b/libs/store_helper/ebpf_store_helper.c index a082cb75e5..94f95537b8 100644 --- a/libs/store_helper/ebpf_store_helper.c +++ b/libs/store_helper/ebpf_store_helper.c @@ -33,8 +33,8 @@ _ebpf_store_open_or_create_provider_registry_key(_Out_ ebpf_store_key_t* provide return result; } -ebpf_result_t -ebpf_store_update_helper_prototype( +static ebpf_result_t +_ebpf_store_update_helper_prototype( ebpf_store_key_t helper_info_key, _In_ const ebpf_helper_function_prototype_t* helper_info) { ebpf_result_t result = EBPF_SUCCESS; @@ -42,7 +42,12 @@ ebpf_store_update_helper_prototype( ebpf_store_key_t helper_function_key = NULL; char serialized_data[sizeof(ebpf_helper_function_prototype_t)] = {0}; - result = ebpf_create_registry_key_ansi(helper_info_key, helper_info->name, REG_CREATE_FLAGS, &helper_function_key); + wchar_t* wide_helper_name = ebpf_get_wstring_from_string(helper_info->name); + if (wide_helper_name == NULL) { + result = EBPF_NO_MEMORY; + goto Exit; + } + result = ebpf_create_registry_key(helper_info_key, wide_helper_name, REG_CREATE_FLAGS, &helper_function_key); if (!IS_SUCCESS(result)) { goto Exit; } @@ -66,6 +71,7 @@ ebpf_store_update_helper_prototype( } Exit: + ebpf_free_wstring(wide_helper_name); ebpf_close_registry_key(helper_function_key); return result; @@ -98,7 +104,7 @@ ebpf_store_update_global_helper_information( for (uint32_t i = 0; i < helper_info_count; i++) { - result = ebpf_store_update_helper_prototype(helper_info_key, &helper_info[i]); + result = _ebpf_store_update_helper_prototype(helper_info_key, &helper_info[i]); if (!IS_SUCCESS(result)) { goto Exit; } @@ -236,12 +242,18 @@ ebpf_store_update_program_information( } // Save the friendly program type name. - result = ebpf_write_registry_value_ansi_string( - program_key, EBPF_PROGRAM_DATA_NAME, program_info[i].program_type_descriptor.name); + wchar_t* wide_program_name = ebpf_get_wstring_from_string(program_info[i].program_type_descriptor.name); + if (wide_program_name == NULL) { + result = EBPF_NO_MEMORY; + goto Exit; + } + result = ebpf_write_registry_value_string(program_key, EBPF_PROGRAM_DATA_NAME, wide_program_name); if (!IS_SUCCESS(result)) { + ebpf_free_wstring(wide_program_name); ebpf_close_registry_key(program_key); goto Exit; } + ebpf_free_wstring(wide_program_name); // Save context descriptor. result = ebpf_write_registry_value_binary( @@ -289,7 +301,7 @@ ebpf_store_update_program_information( // Iterate over all the helper prototypes and save in registry. for (uint32_t count = 0; count < program_info[i].count_of_program_type_specific_helpers; count++) { - result = ebpf_store_update_helper_prototype( + result = _ebpf_store_update_helper_prototype( helper_info_key, &(program_info[i].program_type_specific_helper_prototype[count])); if (!IS_SUCCESS(result)) { ebpf_close_registry_key(program_key); @@ -308,4 +320,74 @@ ebpf_store_update_program_information( ebpf_close_registry_key(provider_key); return result; -} \ No newline at end of file +} + +ebpf_result_t +ebpf_store_delete_program_information(_In_ const ebpf_program_info_t* program_info) +{ + ebpf_result_t result = EBPF_SUCCESS; + ebpf_store_key_t provider_key = NULL; + ebpf_store_key_t program_info_key = NULL; + + // Open (or create) provider registry path. + result = _ebpf_store_open_or_create_provider_registry_key(&provider_key); + if (!IS_SUCCESS(result)) { + goto Exit; + } + + // Open program data registry path. + result = ebpf_open_registry_key(provider_key, EBPF_PROGRAM_DATA_REGISTRY_PATH, REG_CREATE_FLAGS, &program_info_key); + if (!IS_SUCCESS(result)) { + goto Exit; + } + + // Convert program type GUID to string. + wchar_t guid_string[GUID_STRING_LENGTH + 1]; + result = ebpf_convert_guid_to_string( + &program_info->program_type_descriptor.program_type, guid_string, GUID_STRING_LENGTH + 1); + if (!IS_SUCCESS(result)) { + goto Exit; + } + + result = ebpf_delete_registry_tree(program_info_key, guid_string); + if (result != EBPF_SUCCESS) { + goto Exit; + } + +Exit: + ebpf_close_registry_key(program_info_key); + ebpf_close_registry_key(provider_key); + + return result; +} + +ebpf_result_t +ebpf_store_delete_section_information(_In_ const ebpf_program_section_info_t* section_info) +{ + ebpf_result_t result = EBPF_SUCCESS; + ebpf_store_key_t provider_key = NULL; + ebpf_store_key_t section_info_key = NULL; + + // Open (or create) provider registry path. + result = _ebpf_store_open_or_create_provider_registry_key(&provider_key); + if (!IS_SUCCESS(result)) { + goto Exit; + } + + // Open (or create) section data key. + result = ebpf_open_registry_key(provider_key, EBPF_SECTIONS_REGISTRY_PATH, REG_DELETE_FLAGS, §ion_info_key); + if (!IS_SUCCESS(result)) { + goto Exit; + } + + result = ebpf_delete_registry_tree(section_info_key, section_info->section_name); + if (result != EBPF_SUCCESS) { + goto Exit; + } + +Exit: + ebpf_close_registry_key(section_info_key); + ebpf_close_registry_key(provider_key); + + return result; +} diff --git a/libs/store_helper/kernel/ebpf_registry_helper.c b/libs/store_helper/kernel/ebpf_registry_helper.c index 967d744990..da745aaa93 100644 --- a/libs/store_helper/kernel/ebpf_registry_helper.c +++ b/libs/store_helper/kernel/ebpf_registry_helper.c @@ -7,12 +7,61 @@ */ #include "ebpf_registry_helper.h" +#include "ebpf_windows.h" + +#define EBPF_STORE_TAG 'OTSE' #define _EBPF_RESULT(x) (NT_SUCCESS(x) ? EBPF_SUCCESS : EBPF_FAILED) ebpf_store_key_t ebpf_store_root_key = NULL; const wchar_t* ebpf_store_root_sub_key = EBPF_ROOT_REGISTRY_PATH; +wchar_t* +ebpf_get_wstring_from_string(_In_ const char* text) +{ + NTSTATUS status; + uint32_t unicode_string_size; + wchar_t* unicode_string = NULL; + uint32_t utf8_string_size = (uint32_t)strlen(text); + + status = RtlUTF8ToUnicodeN(NULL, 0, &unicode_string_size, text, utf8_string_size); + if (!NT_SUCCESS(status)) { + goto Exit; + } + unicode_string_size += sizeof(wchar_t); + + // Allocate memory for the unicode string. + unicode_string = ExAllocatePoolUninitialized(NonPagedPoolNx, unicode_string_size, EBPF_STORE_TAG); + if (unicode_string == NULL) { + status = STATUS_NO_MEMORY; + goto Exit; + } + memset(unicode_string, 0, unicode_string_size); + + status = RtlUTF8ToUnicodeN(unicode_string, unicode_string_size, &unicode_string_size, text, utf8_string_size); + if (!NT_SUCCESS(status)) { + goto Exit; + } + +Exit: + if (!NT_SUCCESS(status)) { + if (unicode_string != NULL) { + ExFreePool(unicode_string); + unicode_string = NULL; + } + } + + return unicode_string; +} + +void +ebpf_free_wstring(_Frees_ptr_opt_ wchar_t* wide) +{ + if (wide != NULL) { + ExFreePool(wide); + } +} + ebpf_result_t ebpf_convert_guid_to_string( _In_ const GUID* guid, _Out_writes_all_(string_length) wchar_t* string, size_t string_length) @@ -62,25 +111,17 @@ ebpf_write_registry_value_binary( } _Must_inspect_result_ ebpf_result_t -ebpf_write_registry_value_ansi_string(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const char* value) +ebpf_write_registry_value_string(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const wchar_t* value) { NTSTATUS status; UNICODE_STRING unicode_value; UNICODE_STRING unicode_value_name; - ANSI_STRING ansi_string; - RtlInitAnsiString(&ansi_string, value); - - status = RtlAnsiStringToUnicodeString(&unicode_value, &ansi_string, TRUE); - if (!NT_SUCCESS(status)) { - goto Exit; - } + RtlInitUnicodeString(&unicode_value, value); RtlInitUnicodeString(&unicode_value_name, value_name); status = ZwSetValueKey(key, &unicode_value_name, 0, REG_SZ, unicode_value.Buffer, unicode_value.Length); - RtlFreeUnicodeString(&unicode_value); -Exit: return _EBPF_RESULT(status); } @@ -109,29 +150,26 @@ ebpf_create_registry_key( } _Must_inspect_result_ ebpf_result_t -ebpf_create_registry_key_ansi( - ebpf_store_key_t root_key, _In_z_ const char* sub_key, uint32_t flags, _Out_ ebpf_store_key_t* key) +ebpf_open_registry_key( + ebpf_store_key_t root_key, _In_z_ const wchar_t* sub_key, uint32_t flags, _Out_ ebpf_store_key_t* key) { - NTSTATUS status = STATUS_SUCCESS; UNICODE_STRING registry_path; OBJECT_ATTRIBUTES object_attributes = {0}; - ANSI_STRING ansi_string; - RtlInitAnsiString(&ansi_string, sub_key); UNREFERENCED_PARAMETER(flags); - *key = NULL; - - status = RtlAnsiStringToUnicodeString(®istry_path, &ansi_string, TRUE); - if (!NT_SUCCESS(status)) { - goto Exit; - } + RtlInitUnicodeString(®istry_path, sub_key); InitializeObjectAttributes( &object_attributes, ®istry_path, OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE, root_key, NULL); - status = ZwCreateKey(key, KEY_WRITE, &object_attributes, 0, NULL, REG_OPTION_NON_VOLATILE, NULL); - RtlFreeUnicodeString(®istry_path); + return _EBPF_RESULT(ZwOpenKey(key, KEY_WRITE, &object_attributes)); +} + +_Must_inspect_result_ ebpf_result_t +ebpf_delete_registry_tree(ebpf_store_key_t root_key, _In_opt_z_ const wchar_t* sub_key) +{ + UNREFERENCED_PARAMETER(root_key); + UNREFERENCED_PARAMETER(sub_key); -Exit: - return _EBPF_RESULT(status); + return EBPF_OPERATION_NOT_SUPPORTED; } diff --git a/libs/store_helper/kernel/ebpf_registry_helper.h b/libs/store_helper/kernel/ebpf_registry_helper.h index 8141dfdc40..89463205d8 100644 --- a/libs/store_helper/kernel/ebpf_registry_helper.h +++ b/libs/store_helper/kernel/ebpf_registry_helper.h @@ -3,9 +3,17 @@ #pragma once +#include "ebpf_shared_framework.h" #include "ebpf_store_helper.h" #define REG_CREATE_FLAGS 0 +#define REG_DELETE_FLAGS 0 + +wchar_t* +ebpf_get_wstring_from_string(_In_ const char* text); + +void +ebpf_free_wstring(_Frees_ptr_opt_ wchar_t* wide); ebpf_result_t ebpf_convert_guid_to_string( @@ -19,7 +27,7 @@ ebpf_write_registry_value_binary( ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_reads_(value_size) uint8_t* value, size_t value_size); _Must_inspect_result_ ebpf_result_t -ebpf_write_registry_value_ansi_string(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const char* value); +ebpf_write_registry_value_string(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const wchar_t* value); _Must_inspect_result_ ebpf_result_t ebpf_write_registry_value_dword(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, uint32_t value); @@ -29,5 +37,8 @@ ebpf_create_registry_key( ebpf_store_key_t root_key, _In_z_ const wchar_t* sub_key, uint32_t flags, _Out_ ebpf_store_key_t* key); _Must_inspect_result_ ebpf_result_t -ebpf_create_registry_key_ansi( - ebpf_store_key_t root_key, _In_z_ const char* sub_key, uint32_t flags, _Out_ ebpf_store_key_t* key); \ No newline at end of file +ebpf_delete_registry_tree(ebpf_store_key_t root_key, _In_opt_z_ const wchar_t* sub_key); + +_Must_inspect_result_ ebpf_result_t +ebpf_open_registry_key( + ebpf_store_key_t root_key, _In_z_ const wchar_t* sub_key, uint32_t flags, _Out_ ebpf_store_key_t* key); \ No newline at end of file diff --git a/libs/store_helper/user/ebpf_registry_helper.cpp b/libs/store_helper/user/ebpf_registry_helper.cpp index 3137d92309..05a6ccf276 100644 --- a/libs/store_helper/user/ebpf_registry_helper.cpp +++ b/libs/store_helper/user/ebpf_registry_helper.cpp @@ -8,6 +8,7 @@ #include "ebpf_registry_helper.h" #include "ebpf_shared_framework.h" +#include "ebpf_windows.h" #include #include @@ -18,21 +19,31 @@ ebpf_store_key_t ebpf_store_root_key = HKEY_CURRENT_USER; // TODO: Issue #1231 Change to using HKEY_LOCAL_MACHINE const wchar_t* ebpf_store_root_sub_key = EBPF_ROOT_RELATIVE_PATH; -static std::wstring -_get_wstring_from_string(std::string text) +wchar_t* +ebpf_get_wstring_from_string(_In_ const char* text) { - int length = MultiByteToWideChar(CP_UTF8, 0, text.c_str(), -1, nullptr, 0); - std::wstring wide(length, 0); - MultiByteToWideChar(CP_UTF8, 0, text.c_str(), -1, &wide[0], length); + int length = MultiByteToWideChar(CP_UTF8, 0, text, -1, nullptr, 0); + wchar_t* wide = (wchar_t*)ebpf_allocate(length * sizeof(wchar_t)); + if (wide == nullptr) { + return nullptr; + } + MultiByteToWideChar(CP_UTF8, 0, text, -1, wide, length); return wide; } +void +ebpf_free_wstring(_Frees_ptr_opt_ wchar_t* wide) +{ + ebpf_free(wide); +} + void ebpf_close_registry_key(ebpf_store_key_t key) { - ebpf_assert(key); - RegCloseKey(key); + if (key != NULL) { + RegCloseKey(key); + } } _Must_inspect_result_ ebpf_result_t @@ -46,7 +57,7 @@ ebpf_write_registry_value_binary( } _Must_inspect_result_ ebpf_result_t -write_registry_value_wide_string(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const wchar_t* value) +ebpf_write_registry_value_string(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const wchar_t* value) { ebpf_assert(value_name); ebpf_assert(value); @@ -55,20 +66,6 @@ write_registry_value_wide_string(ebpf_store_key_t key, _In_z_ const wchar_t* val return _EBPF_RESULT(RegSetValueEx(key, value_name, 0, REG_SZ, (uint8_t*)value, (unsigned long)length)); } -_Must_inspect_result_ ebpf_result_t -ebpf_write_registry_value_ansi_string(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const char* value) -{ - ebpf_result_t result; - try { - auto wide_string = _get_wstring_from_string(value); - result = _EBPF_RESULT(write_registry_value_wide_string(key, value_name, wide_string.c_str())); - } catch (...) { - result = EBPF_NO_MEMORY; - } - - return result; -} - _Must_inspect_result_ ebpf_result_t ebpf_write_registry_value_dword(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, uint32_t value) { @@ -107,22 +104,7 @@ ebpf_delete_registry_key(ebpf_store_key_t root_key, _In_z_ const wchar_t* sub_ke _Must_inspect_result_ ebpf_result_t ebpf_delete_registry_tree(ebpf_store_key_t root_key, _In_opt_z_ const wchar_t* sub_key) { - return _EBPF_RESULT(RegDeleteTree(root_key, sub_key)); -} - -_Must_inspect_result_ ebpf_result_t -ebpf_create_registry_key_ansi( - ebpf_store_key_t root_key, _In_z_ const char* sub_key, uint32_t flags, _Out_ ebpf_store_key_t* key) -{ - ebpf_result_t result; - try { - auto wide_string = _get_wstring_from_string(sub_key); - result = ebpf_create_registry_key(root_key, wide_string.c_str(), flags, key); - } catch (...) { - result = EBPF_NO_MEMORY; - } - - return result; + return _EBPF_RESULT(RegDeleteTreeW(root_key, sub_key)); } _Must_inspect_result_ ebpf_result_t diff --git a/libs/store_helper/user/ebpf_registry_helper.h b/libs/store_helper/user/ebpf_registry_helper.h index 011c1ed936..666d782f97 100644 --- a/libs/store_helper/user/ebpf_registry_helper.h +++ b/libs/store_helper/user/ebpf_registry_helper.h @@ -7,12 +7,19 @@ #define REG_CREATE_FLAGS (KEY_WRITE | DELETE | KEY_READ) #define REG_OPEN_FLAGS (DELETE | KEY_READ) +#define REG_DELETE_FLAGS (DELETE | KEY_ENUMERATE_SUB_KEYS | KEY_QUERY_VALUE | KEY_SET_VALUE) #ifdef __cplusplus extern "C" { #endif + wchar_t* + ebpf_get_wstring_from_string(_In_ const char* text); + + void + ebpf_free_wstring(_Frees_ptr_opt_ wchar_t* text); + void ebpf_close_registry_key(ebpf_store_key_t key); @@ -24,8 +31,8 @@ extern "C" size_t value_size); _Must_inspect_result_ ebpf_result_t - ebpf_write_registry_value_ansi_string( - ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const char* value); + ebpf_write_registry_value_string( + ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _In_z_ const wchar_t* value); _Must_inspect_result_ ebpf_result_t ebpf_write_registry_value_dword(ebpf_store_key_t key, _In_z_ const wchar_t* value_name, uint32_t value); @@ -61,10 +68,6 @@ extern "C" _Must_inspect_result_ ebpf_result_t ebpf_convert_string_to_guid(_In_z_ const wchar_t* string, _Out_ GUID* guid); - _Must_inspect_result_ ebpf_result_t - ebpf_create_registry_key_ansi( - ebpf_store_key_t root_key, _In_z_ const char* sub_key, uint32_t flags, _Out_ ebpf_store_key_t* key); - _Must_inspect_result_ ebpf_result_t ebpf_read_registry_value_string( ebpf_store_key_t key, _In_z_ const wchar_t* value_name, _Outptr_result_maybenull_ wchar_t** value); diff --git a/netebpfext/net_ebpf_ext_bind.c b/netebpfext/net_ebpf_ext_bind.c index 43f1003bb0..e53dc1fd49 100644 --- a/netebpfext/net_ebpf_ext_bind.c +++ b/netebpfext/net_ebpf_ext_bind.c @@ -6,6 +6,7 @@ * @brief This file implements the BIND program type hook on eBPF for Windows. */ +#include "ebpf_shared_framework.h" #include "ebpf_store_helper.h" #include "net_ebpf_ext_bind.h" diff --git a/netebpfext/net_ebpf_ext_sock_addr.c b/netebpfext/net_ebpf_ext_sock_addr.c index dce6e50b95..e0301f031b 100644 --- a/netebpfext/net_ebpf_ext_sock_addr.c +++ b/netebpfext/net_ebpf_ext_sock_addr.c @@ -7,6 +7,7 @@ * Windows. */ +#include "ebpf_shared_framework.h" #include "ebpf_store_helper.h" #include "net_ebpf_ext_sock_addr.h" diff --git a/netebpfext/net_ebpf_ext_sock_ops.c b/netebpfext/net_ebpf_ext_sock_ops.c index 9f42c6f88f..f3adbdef89 100644 --- a/netebpfext/net_ebpf_ext_sock_ops.c +++ b/netebpfext/net_ebpf_ext_sock_ops.c @@ -8,6 +8,7 @@ * */ +#include "ebpf_shared_framework.h" #include "ebpf_store_helper.h" #include "net_ebpf_ext_sock_ops.h" diff --git a/netebpfext/net_ebpf_ext_xdp.c b/netebpfext/net_ebpf_ext_xdp.c index 69bd27405a..feb3691395 100644 --- a/netebpfext/net_ebpf_ext_xdp.c +++ b/netebpfext/net_ebpf_ext_xdp.c @@ -6,6 +6,7 @@ * @brief This file implements the XDP_TEST program type hook and helper functions on eBPF for Windows. */ +#include "ebpf_shared_framework.h" #include "ebpf_store_helper.h" #include "net_ebpf_ext_xdp.h" diff --git a/scripts/build_custom_sample_programs.ps1 b/scripts/build_custom_sample_programs.ps1 index 979e8b0df2..e57f4227f2 100644 --- a/scripts/build_custom_sample_programs.ps1 +++ b/scripts/build_custom_sample_programs.ps1 @@ -14,7 +14,7 @@ $ProgramType = "" if ($FileName -eq "bpf") { - $ProgramType = "sample_ext" + $ProgramType = "bind" } .\Convert-BpfToNative.ps1 -FileName $Filename -Type $ProgramType -IncludeDir $IncludePath -Platform $Platform -Configuration $KernelConfiguration -KernelMode $True diff --git a/scripts/generate_expected_bpf2c_output.ps1 b/scripts/generate_expected_bpf2c_output.ps1 index f958493e65..fabc5ee947 100644 --- a/scripts/generate_expected_bpf2c_output.ps1 +++ b/scripts/generate_expected_bpf2c_output.ps1 @@ -64,18 +64,20 @@ function Update-ExpectedOutput $SampleFiles = Get-ChildItem -Path $SamplePath | Where-Object {$_.PSIsContainer -eq $false} | Select-Object -Property Name $CustomSampleFiles = Get-ChildItem -Path $SamplePath\custom_program_type | Where-Object {$_.PSIsContainer -eq $false} | Select-Object -Property Name $UnsafeSampleFiles = Get-ChildItem -Path $SamplePath\unsafe | Where-Object {$_.PSIsContainer -eq $false} | Select-Object -Property Name + $UndockedSampleFiles = Get-ChildItem -Path $SamplePath\undocked | Where-Object {$_.PSIsContainer -eq $false} | Select-Object -Property Name $SampleFiles += $CustomSampleFiles $SampleFiles += $UnsafeSampleFiles + $SampleFiles += $UndockedSampleFiles Set-Location $BuildPath foreach ($file in $SampleFiles) { $additional_options = "" - # If file is in the set $CustomSampleFiles, then add the --type sample_ext option. + # If file is in the set $CustomSampleFiles, then add the --type bind option. if ($CustomSampleFiles -contains $file) { - $additional_options = "--type sample_ext" + $additional_options = "--type bind" } # If file is in the set $UnsafeSampleFiles, then add the --no-verify option. diff --git a/scripts/install_ebpf.psm1 b/scripts/install_ebpf.psm1 index 113143f953..70eb93733b 100644 --- a/scripts/install_ebpf.psm1 +++ b/scripts/install_ebpf.psm1 @@ -35,7 +35,7 @@ function Unregister-eBPFComponents # Delete the eBPF netsh helper. netsh delete helper ebpfnetsh.dll 2>&1 | Write-Log - # Execute export_program_info + # Execute "export_program_info.exe --clear" if (Test-Path -Path "export_program_info.exe") { .\export_program_info.exe --clear if ($LASTEXITCODE -ne 0) { @@ -44,6 +44,16 @@ function Unregister-eBPFComponents Write-Log "'export_program_info.exe --clear' succeeded." -ForegroundColor Green } } + + # Execute "export_program_info_sample.exe --clear" + if (Test-Path -Path "export_program_info_sample.exe") { + .\export_program_info_sample.exe --clear + if ($LASTEXITCODE -ne 0) { + throw ("Failed to run 'export_program_info_sample.exe --clear'."); + } else { + Write-Log "'export_program_info_sample.exe --clear' succeeded." -ForegroundColor Green + } + } } # @@ -55,6 +65,24 @@ function Register-eBPFComponents # Uninstall previous installations (if any). Unregister-eBPFComponents + # Export program info. + if (Test-Path -Path "export_program_info.exe") { + .\export_program_info.exe + if ($LASTEXITCODE -ne 0) { + throw ("Failed to run 'export_program_info.exe'."); + } else { + Write-Log "'export_program_info.exe' succeeded." -ForegroundColor Green + } + } + if (Test-Path -Path "export_program_info_sample.exe") { + .\export_program_info_sample.exe + if ($LASTEXITCODE -ne 0) { + throw ("Failed to run 'export_program_info_sample.exe'."); + } else { + Write-Log "'export_program_info_sample.exe' succeeded." -ForegroundColor Green + } + } + # Install drivers. $EbpfDrivers.GetEnumerator() | ForEach-Object { if (Test-Path -Path ("$BinaryPath\{0}" -f $_.Value)) { diff --git a/scripts/run_tests.bat b/scripts/run_tests.bat index 6762cffe03..cca5094e85 100644 --- a/scripts/run_tests.bat +++ b/scripts/run_tests.bat @@ -7,6 +7,8 @@ rem SPDX-License-Identifier: MIT @echo ============================== export_program_info.exe --clear export_program_info.exe +export_program_info_sample.exe --clear +export_program_info_sample.exe @echo ===================== @echo Executing Unit Tests. @echo ===================== diff --git a/tests/api_test/api_test.vcxproj b/tests/api_test/api_test.vcxproj index f878c070e8..c493e56051 100644 --- a/tests/api_test/api_test.vcxproj +++ b/tests/api_test/api_test.vcxproj @@ -107,7 +107,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -119,7 +119,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -131,7 +131,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -143,7 +143,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -158,7 +158,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tests/bpf2c_tests/elf_bpf.cpp b/tests/bpf2c_tests/elf_bpf.cpp index 6737d75bef..32634b9e61 100644 --- a/tests/bpf2c_tests/elf_bpf.cpp +++ b/tests/bpf2c_tests/elf_bpf.cpp @@ -208,8 +208,8 @@ DECLARE_TEST("bindmonitor", _test_mode::Verify) DECLARE_TEST("bindmonitor_ringbuf", _test_mode::Verify) DECLARE_TEST("bindmonitor_tailcall", _test_mode::Verify) DECLARE_TEST("bindmonitor_mt_tailcall", _test_mode::Verify) -DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::Verify, std::string("sample_ext")) -DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::FileOutput, std::string("sample_ext")) +DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::Verify, std::string("bind")) +DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::FileOutput, std::string("bind")) DECLARE_TEST("bpf_call", _test_mode::Verify) DECLARE_TEST("cgroup_sock_addr", _test_mode::Verify) DECLARE_TEST("cgroup_sock_addr2", _test_mode::Verify) @@ -248,7 +248,7 @@ DECLARE_TEST("cgroup_sock_addr", _test_mode::UseHashSHA512) DECLARE_TEST("cgroup_sock_addr2", _test_mode::UseHashX) DECLARE_TEST("no_such_file", _test_mode::FileNotFound) -DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::UseHash, std::string("sample_ext")) +DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::UseHash, std::string("bind")) DECLARE_TEST("bpf", _test_mode::VerifyFail) DECLARE_TEST_CUSTOM_PROGRAM_TYPE("bpf", _test_mode::VerifyFail, std::string("invalid")) diff --git a/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_dll.c b/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_dll.c index 93d4b9546c..ecaa0134cc 100644 --- a/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_dll.c +++ b/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_dll.c @@ -75,75 +75,75 @@ static uint16_t func_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t func(void* context) -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" { -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" // Prologue -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r0 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r1 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r2 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r3 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r4 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r5 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r10 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r1 = (uintptr_t)context; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" r0 = func_helpers[0].address -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" (r1, r2, r3, r4, r5); -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" if ((func_helpers[0].tail_call) && (r0 == 0)) -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0 -#line 29 "sample/atomic_instruction_fetch_add.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0 +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" if (r0 == IMMEDIATE(0)) -#line 29 "sample/atomic_instruction_fetch_add.c" +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1 -#line 29 "sample/atomic_instruction_fetch_add.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1 +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" r1 = IMMEDIATE(1); // EBPF_OP_ATOMIC64_ADD pc=9 dst=r0 src=r1 offset=0 imm=0 -#line 30 "sample/atomic_instruction_fetch_add.c" +#line 30 "sample/undocked/atomic_instruction_fetch_add.c" _InterlockedExchangeAdd64((volatile int64_t*)(uintptr_t)(r0 + OFFSET(0)), (uint64_t)r1); label_1: // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" r0 = IMMEDIATE(0); // EBPF_OP_EXIT pc=11 dst=r0 src=r0 offset=0 imm=0 -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" return r0; -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_raw.c b/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_raw.c index d8545b124a..d29752dc78 100644 --- a/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_raw.c +++ b/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_raw.c @@ -49,75 +49,75 @@ static uint16_t func_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t func(void* context) -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" { -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" // Prologue -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r0 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r1 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r2 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r3 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r4 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r5 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r10 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r1 = (uintptr_t)context; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" r0 = func_helpers[0].address -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" (r1, r2, r3, r4, r5); -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" if ((func_helpers[0].tail_call) && (r0 == 0)) -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0 -#line 29 "sample/atomic_instruction_fetch_add.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0 +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" if (r0 == IMMEDIATE(0)) -#line 29 "sample/atomic_instruction_fetch_add.c" +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1 -#line 29 "sample/atomic_instruction_fetch_add.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1 +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" r1 = IMMEDIATE(1); // EBPF_OP_ATOMIC64_ADD pc=9 dst=r0 src=r1 offset=0 imm=0 -#line 30 "sample/atomic_instruction_fetch_add.c" +#line 30 "sample/undocked/atomic_instruction_fetch_add.c" _InterlockedExchangeAdd64((volatile int64_t*)(uintptr_t)(r0 + OFFSET(0)), (uint64_t)r1); label_1: // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" r0 = IMMEDIATE(0); // EBPF_OP_EXIT pc=11 dst=r0 src=r0 offset=0 imm=0 -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" return r0; -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_sys.c b/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_sys.c index f8de2c5f49..dcf8185382 100644 --- a/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_sys.c +++ b/tests/bpf2c_tests/expected/atomic_instruction_fetch_add_sys.c @@ -210,75 +210,75 @@ static uint16_t func_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t func(void* context) -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" { -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" // Prologue -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r0 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r1 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r2 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r3 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r4 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r5 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" register uint64_t r10 = 0; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r1 = (uintptr_t)context; -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/atomic_instruction_fetch_add.c" +#line 25 "sample/undocked/atomic_instruction_fetch_add.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 27 "sample/atomic_instruction_fetch_add.c" +#line 27 "sample/undocked/atomic_instruction_fetch_add.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" r0 = func_helpers[0].address -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" (r1, r2, r3, r4, r5); -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" if ((func_helpers[0].tail_call) && (r0 == 0)) -#line 28 "sample/atomic_instruction_fetch_add.c" +#line 28 "sample/undocked/atomic_instruction_fetch_add.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0 -#line 29 "sample/atomic_instruction_fetch_add.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=2 imm=0 +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" if (r0 == IMMEDIATE(0)) -#line 29 "sample/atomic_instruction_fetch_add.c" +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1 -#line 29 "sample/atomic_instruction_fetch_add.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r1 src=r0 offset=0 imm=1 +#line 29 "sample/undocked/atomic_instruction_fetch_add.c" r1 = IMMEDIATE(1); // EBPF_OP_ATOMIC64_ADD pc=9 dst=r0 src=r1 offset=0 imm=0 -#line 30 "sample/atomic_instruction_fetch_add.c" +#line 30 "sample/undocked/atomic_instruction_fetch_add.c" _InterlockedExchangeAdd64((volatile int64_t*)(uintptr_t)(r0 + OFFSET(0)), (uint64_t)r1); label_1: // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" r0 = IMMEDIATE(0); // EBPF_OP_EXIT pc=11 dst=r0 src=r0 offset=0 imm=0 -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" return r0; -#line 32 "sample/atomic_instruction_fetch_add.c" +#line 32 "sample/undocked/atomic_instruction_fetch_add.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/bad_map_name_dll.c b/tests/bpf2c_tests/expected/bad_map_name_dll.c index 1bd64e8437..16ba86a702 100644 --- a/tests/bpf2c_tests/expected/bad_map_name_dll.c +++ b/tests/bpf2c_tests/expected/bad_map_name_dll.c @@ -75,75 +75,75 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" { -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" // Prologue -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r0 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r1 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r2 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r3 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r4 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r5 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r10 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r1 = (uintptr_t)context; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r0 = lookup_helpers[0].address -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" (r1, r2, r3, r4, r5); -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" return 0; - // EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bad_map_name.c" + // EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0 +#line 29 "sample/undocked/bad_map_name.c" r1 = r0; // EBPF_OP_MOV64_IMM pc=8 dst=r0 src=r0 offset=0 imm=1 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r0 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=9 dst=r1 src=r0 offset=1 imm=0 -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" if (r1 == IMMEDIATE(0)) -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bad_map_name.c" + // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 +#line 30 "sample/undocked/bad_map_name.c" r0 = IMMEDIATE(0); label_1: // EBPF_OP_EXIT pc=11 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" return r0; -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/bad_map_name_raw.c b/tests/bpf2c_tests/expected/bad_map_name_raw.c index 0a1645125f..12fa3fa68c 100644 --- a/tests/bpf2c_tests/expected/bad_map_name_raw.c +++ b/tests/bpf2c_tests/expected/bad_map_name_raw.c @@ -49,75 +49,75 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" { -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" // Prologue -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r0 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r1 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r2 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r3 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r4 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r5 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r10 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r1 = (uintptr_t)context; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r0 = lookup_helpers[0].address -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" (r1, r2, r3, r4, r5); -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" return 0; - // EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bad_map_name.c" + // EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0 +#line 29 "sample/undocked/bad_map_name.c" r1 = r0; // EBPF_OP_MOV64_IMM pc=8 dst=r0 src=r0 offset=0 imm=1 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r0 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=9 dst=r1 src=r0 offset=1 imm=0 -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" if (r1 == IMMEDIATE(0)) -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bad_map_name.c" + // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 +#line 30 "sample/undocked/bad_map_name.c" r0 = IMMEDIATE(0); label_1: // EBPF_OP_EXIT pc=11 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" return r0; -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/bad_map_name_sys.c b/tests/bpf2c_tests/expected/bad_map_name_sys.c index d0b480e544..87df3e904b 100644 --- a/tests/bpf2c_tests/expected/bad_map_name_sys.c +++ b/tests/bpf2c_tests/expected/bad_map_name_sys.c @@ -210,75 +210,75 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" { -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" // Prologue -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r0 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r1 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r2 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r3 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r4 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r5 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" register uint64_t r10 = 0; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r1 = (uintptr_t)context; -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/bad_map_name.c" +#line 25 "sample/undocked/bad_map_name.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 27 "sample/bad_map_name.c" +#line 27 "sample/undocked/bad_map_name.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r0 = lookup_helpers[0].address -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" (r1, r2, r3, r4, r5); -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" return 0; - // EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bad_map_name.c" + // EBPF_OP_MOV64_REG pc=7 dst=r1 src=r0 offset=0 imm=0 +#line 29 "sample/undocked/bad_map_name.c" r1 = r0; // EBPF_OP_MOV64_IMM pc=8 dst=r0 src=r0 offset=0 imm=1 -#line 29 "sample/bad_map_name.c" +#line 29 "sample/undocked/bad_map_name.c" r0 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=9 dst=r1 src=r0 offset=1 imm=0 -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" if (r1 == IMMEDIATE(0)) -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bad_map_name.c" + // EBPF_OP_MOV64_IMM pc=10 dst=r0 src=r0 offset=0 imm=0 +#line 30 "sample/undocked/bad_map_name.c" r0 = IMMEDIATE(0); label_1: // EBPF_OP_EXIT pc=11 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" return r0; -#line 30 "sample/bad_map_name.c" +#line 30 "sample/undocked/bad_map_name.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/bpf_call_dll.c b/tests/bpf2c_tests/expected/bpf_call_dll.c index a7c4410a5d..2439345e4d 100644 --- a/tests/bpf2c_tests/expected/bpf_call_dll.c +++ b/tests/bpf2c_tests/expected/bpf_call_dll.c @@ -75,75 +75,75 @@ static uint16_t func_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t func(void* context) -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" { -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" // Prologue -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r0 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r1 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r2 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r3 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r4 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r5 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r10 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r1 = (uintptr_t)context; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/bpf_call.c" +#line 27 "sample/undocked/bpf_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=2 dst=r1 src=r0 offset=0 imm=42 -#line 27 "sample/bpf_call.c" +#line 27 "sample/undocked/bpf_call.c" r1 = IMMEDIATE(42); // EBPF_OP_STXW pc=3 dst=r10 src=r1 offset=-8 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-4 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=6 dst=r3 src=r10 offset=0 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r3 src=r0 offset=0 imm=-8 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r3 += IMMEDIATE(-8); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=10 dst=r4 src=r0 offset=0 imm=0 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=2 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r0 = func_helpers[0].address -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" (r1, r2, r3, r4, r5); -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" if ((func_helpers[0].tail_call) && (r0 == 0)) -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" return 0; - // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bpf_call.c" + // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 +#line 30 "sample/undocked/bpf_call.c" return r0; -#line 30 "sample/bpf_call.c" +#line 30 "sample/undocked/bpf_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/bpf_call_raw.c b/tests/bpf2c_tests/expected/bpf_call_raw.c index c11f1cbd0f..6dab3f3391 100644 --- a/tests/bpf2c_tests/expected/bpf_call_raw.c +++ b/tests/bpf2c_tests/expected/bpf_call_raw.c @@ -49,75 +49,75 @@ static uint16_t func_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t func(void* context) -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" { -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" // Prologue -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r0 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r1 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r2 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r3 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r4 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r5 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r10 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r1 = (uintptr_t)context; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/bpf_call.c" +#line 27 "sample/undocked/bpf_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=2 dst=r1 src=r0 offset=0 imm=42 -#line 27 "sample/bpf_call.c" +#line 27 "sample/undocked/bpf_call.c" r1 = IMMEDIATE(42); // EBPF_OP_STXW pc=3 dst=r10 src=r1 offset=-8 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-4 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=6 dst=r3 src=r10 offset=0 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r3 src=r0 offset=0 imm=-8 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r3 += IMMEDIATE(-8); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=10 dst=r4 src=r0 offset=0 imm=0 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=2 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r0 = func_helpers[0].address -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" (r1, r2, r3, r4, r5); -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" if ((func_helpers[0].tail_call) && (r0 == 0)) -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" return 0; - // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bpf_call.c" + // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 +#line 30 "sample/undocked/bpf_call.c" return r0; -#line 30 "sample/bpf_call.c" +#line 30 "sample/undocked/bpf_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/bpf_call_sys.c b/tests/bpf2c_tests/expected/bpf_call_sys.c index d79c8113c4..af9f9e85fc 100644 --- a/tests/bpf2c_tests/expected/bpf_call_sys.c +++ b/tests/bpf2c_tests/expected/bpf_call_sys.c @@ -210,75 +210,75 @@ static uint16_t func_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t func(void* context) -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" { -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" // Prologue -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r0 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r1 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r2 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r3 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r4 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r5 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" register uint64_t r10 = 0; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r1 = (uintptr_t)context; -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 25 "sample/bpf_call.c" +#line 25 "sample/undocked/bpf_call.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 27 "sample/bpf_call.c" +#line 27 "sample/undocked/bpf_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=2 dst=r1 src=r0 offset=0 imm=42 -#line 27 "sample/bpf_call.c" +#line 27 "sample/undocked/bpf_call.c" r1 = IMMEDIATE(42); // EBPF_OP_STXW pc=3 dst=r10 src=r1 offset=-8 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-4 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=6 dst=r3 src=r10 offset=0 imm=0 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r3 src=r0 offset=0 imm=-8 -#line 28 "sample/bpf_call.c" +#line 28 "sample/undocked/bpf_call.c" r3 += IMMEDIATE(-8); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=10 dst=r4 src=r0 offset=0 imm=0 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=2 -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" r0 = func_helpers[0].address -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" (r1, r2, r3, r4, r5); -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" if ((func_helpers[0].tail_call) && (r0 == 0)) -#line 29 "sample/bpf_call.c" +#line 29 "sample/undocked/bpf_call.c" return 0; - // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 -#line 30 "sample/bpf_call.c" + // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 +#line 30 "sample/undocked/bpf_call.c" return r0; -#line 30 "sample/bpf_call.c" +#line 30 "sample/undocked/bpf_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/bpf_dll.c b/tests/bpf2c_tests/expected/bpf_dll.c index 5e93391c59..83f78b53b4 100644 --- a/tests/bpf2c_tests/expected/bpf_dll.c +++ b/tests/bpf2c_tests/expected/bpf_dll.c @@ -45,8 +45,8 @@ _get_maps(_Outptr_result_buffer_maybenull_(*count) map_entry_t** maps, _Out_ siz *count = 0; } -static GUID func_program_type_guid = {0xf788ef4a, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}}; -static GUID func_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}}; +static GUID func_program_type_guid = {0x608c517c, 0x6c52, 0x4a26, {0xb6, 0x77, 0xbb, 0x1c, 0x34, 0x42, 0x5a, 0xdf}}; +static GUID func_attach_type_guid = {0xb9707e04, 0x8127, 0x4c72, {0x83, 0x3e, 0x05, 0xb1, 0xfb, 0x43, 0x94, 0x96}}; #pragma code_seg(push, ".text") static uint64_t func(void* context) diff --git a/tests/bpf2c_tests/expected/bpf_raw.c b/tests/bpf2c_tests/expected/bpf_raw.c index 9481f553a0..bc5db1d7d5 100644 --- a/tests/bpf2c_tests/expected/bpf_raw.c +++ b/tests/bpf2c_tests/expected/bpf_raw.c @@ -19,8 +19,8 @@ _get_maps(_Outptr_result_buffer_maybenull_(*count) map_entry_t** maps, _Out_ siz *count = 0; } -static GUID func_program_type_guid = {0xf788ef4a, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}}; -static GUID func_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}}; +static GUID func_program_type_guid = {0x608c517c, 0x6c52, 0x4a26, {0xb6, 0x77, 0xbb, 0x1c, 0x34, 0x42, 0x5a, 0xdf}}; +static GUID func_attach_type_guid = {0xb9707e04, 0x8127, 0x4c72, {0x83, 0x3e, 0x05, 0xb1, 0xfb, 0x43, 0x94, 0x96}}; #pragma code_seg(push, ".text") static uint64_t func(void* context) diff --git a/tests/bpf2c_tests/expected/bpf_sys.c b/tests/bpf2c_tests/expected/bpf_sys.c index cb88f8f1b6..6a967b413c 100644 --- a/tests/bpf2c_tests/expected/bpf_sys.c +++ b/tests/bpf2c_tests/expected/bpf_sys.c @@ -180,8 +180,8 @@ _get_maps(_Outptr_result_buffer_maybenull_(*count) map_entry_t** maps, _Out_ siz *count = 0; } -static GUID func_program_type_guid = {0xf788ef4a, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}}; -static GUID func_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, 0x0f, 0x2e, 0xa1, 0x07, 0x21, 0x3c}}; +static GUID func_program_type_guid = {0x608c517c, 0x6c52, 0x4a26, {0xb6, 0x77, 0xbb, 0x1c, 0x34, 0x42, 0x5a, 0xdf}}; +static GUID func_attach_type_guid = {0xb9707e04, 0x8127, 0x4c72, {0x83, 0x3e, 0x05, 0xb1, 0xfb, 0x43, 0x94, 0x96}}; #pragma code_seg(push, ".text") static uint64_t func(void* context) diff --git a/tests/bpf2c_tests/expected/divide_by_zero_dll.c b/tests/bpf2c_tests/expected/divide_by_zero_dll.c index d2fa585210..2cb81f695f 100644 --- a/tests/bpf2c_tests/expected/divide_by_zero_dll.c +++ b/tests/bpf2c_tests/expected/divide_by_zero_dll.c @@ -77,80 +77,80 @@ static uint16_t divide_by_zero_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t divide_by_zero(void* context) -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" { -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" // Prologue -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r0 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r1 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r2 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r3 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r4 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r5 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r6 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r10 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r1 = (uintptr_t)context; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" r0 = divide_by_zero_helpers[0].address -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" (r1, r2, r3, r4, r5); -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" if ((divide_by_zero_helpers[0].tail_call) && (r0 == 0)) -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=3 imm=0 -#line 36 "sample/divide_by_zero.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=3 imm=0 +#line 36 "sample/undocked/divide_by_zero.c" if (r0 == IMMEDIATE(0)) -#line 36 "sample/divide_by_zero.c" +#line 36 "sample/undocked/divide_by_zero.c" goto label_1; - // EBPF_OP_LDXW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 37 "sample/divide_by_zero.c" + // EBPF_OP_LDXW pc=8 dst=r1 src=r0 offset=0 imm=0 +#line 37 "sample/undocked/divide_by_zero.c" r1 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); // EBPF_OP_MOV64_IMM pc=9 dst=r6 src=r0 offset=0 imm=100000 -#line 37 "sample/divide_by_zero.c" +#line 37 "sample/undocked/divide_by_zero.c" r6 = IMMEDIATE(100000); // EBPF_OP_DIV64_REG pc=10 dst=r6 src=r1 offset=0 imm=0 -#line 37 "sample/divide_by_zero.c" +#line 37 "sample/undocked/divide_by_zero.c" r6 = r1 ? (r6 / r1) : 0; label_1: // EBPF_OP_MOV64_REG pc=11 dst=r0 src=r6 offset=0 imm=0 -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" r0 = r6; // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" return r0; -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/divide_by_zero_raw.c b/tests/bpf2c_tests/expected/divide_by_zero_raw.c index 7f12cffb3d..63e3cdf4b7 100644 --- a/tests/bpf2c_tests/expected/divide_by_zero_raw.c +++ b/tests/bpf2c_tests/expected/divide_by_zero_raw.c @@ -51,80 +51,80 @@ static uint16_t divide_by_zero_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t divide_by_zero(void* context) -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" { -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" // Prologue -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r0 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r1 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r2 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r3 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r4 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r5 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r6 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r10 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r1 = (uintptr_t)context; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" r0 = divide_by_zero_helpers[0].address -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" (r1, r2, r3, r4, r5); -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" if ((divide_by_zero_helpers[0].tail_call) && (r0 == 0)) -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=3 imm=0 -#line 36 "sample/divide_by_zero.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=3 imm=0 +#line 36 "sample/undocked/divide_by_zero.c" if (r0 == IMMEDIATE(0)) -#line 36 "sample/divide_by_zero.c" +#line 36 "sample/undocked/divide_by_zero.c" goto label_1; - // EBPF_OP_LDXW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 37 "sample/divide_by_zero.c" + // EBPF_OP_LDXW pc=8 dst=r1 src=r0 offset=0 imm=0 +#line 37 "sample/undocked/divide_by_zero.c" r1 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); // EBPF_OP_MOV64_IMM pc=9 dst=r6 src=r0 offset=0 imm=100000 -#line 37 "sample/divide_by_zero.c" +#line 37 "sample/undocked/divide_by_zero.c" r6 = IMMEDIATE(100000); // EBPF_OP_DIV64_REG pc=10 dst=r6 src=r1 offset=0 imm=0 -#line 37 "sample/divide_by_zero.c" +#line 37 "sample/undocked/divide_by_zero.c" r6 = r1 ? (r6 / r1) : 0; label_1: // EBPF_OP_MOV64_REG pc=11 dst=r0 src=r6 offset=0 imm=0 -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" r0 = r6; // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" return r0; -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/divide_by_zero_sys.c b/tests/bpf2c_tests/expected/divide_by_zero_sys.c index f648be2266..d7be0ddede 100644 --- a/tests/bpf2c_tests/expected/divide_by_zero_sys.c +++ b/tests/bpf2c_tests/expected/divide_by_zero_sys.c @@ -212,80 +212,80 @@ static uint16_t divide_by_zero_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t divide_by_zero(void* context) -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" { -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" // Prologue -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r0 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r1 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r2 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r3 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r4 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r5 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r6 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" register uint64_t r10 = 0; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r1 = (uintptr_t)context; -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 32 "sample/divide_by_zero.c" +#line 32 "sample/undocked/divide_by_zero.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 34 "sample/divide_by_zero.c" +#line 34 "sample/undocked/divide_by_zero.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" r0 = divide_by_zero_helpers[0].address -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" (r1, r2, r3, r4, r5); -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" if ((divide_by_zero_helpers[0].tail_call) && (r0 == 0)) -#line 35 "sample/divide_by_zero.c" +#line 35 "sample/undocked/divide_by_zero.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=3 imm=0 -#line 36 "sample/divide_by_zero.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=3 imm=0 +#line 36 "sample/undocked/divide_by_zero.c" if (r0 == IMMEDIATE(0)) -#line 36 "sample/divide_by_zero.c" +#line 36 "sample/undocked/divide_by_zero.c" goto label_1; - // EBPF_OP_LDXW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 37 "sample/divide_by_zero.c" + // EBPF_OP_LDXW pc=8 dst=r1 src=r0 offset=0 imm=0 +#line 37 "sample/undocked/divide_by_zero.c" r1 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); // EBPF_OP_MOV64_IMM pc=9 dst=r6 src=r0 offset=0 imm=100000 -#line 37 "sample/divide_by_zero.c" +#line 37 "sample/undocked/divide_by_zero.c" r6 = IMMEDIATE(100000); // EBPF_OP_DIV64_REG pc=10 dst=r6 src=r1 offset=0 imm=0 -#line 37 "sample/divide_by_zero.c" +#line 37 "sample/undocked/divide_by_zero.c" r6 = r1 ? (r6 / r1) : 0; label_1: // EBPF_OP_MOV64_REG pc=11 dst=r0 src=r6 offset=0 imm=0 -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" r0 = r6; // EBPF_OP_EXIT pc=12 dst=r0 src=r0 offset=0 imm=0 -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" return r0; -#line 40 "sample/divide_by_zero.c" +#line 40 "sample/undocked/divide_by_zero.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_dll.c b/tests/bpf2c_tests/expected/map_dll.c index 668ac63fe4..dc52ebe9df 100644 --- a/tests/bpf2c_tests/expected/map_dll.c +++ b/tests/bpf2c_tests/expected/map_dll.c @@ -177,9050 +177,9050 @@ static uint16_t test_maps_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_maps(void* context) -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" { -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" // Prologue -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r0 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r1 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r2 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r3 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r4 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r5 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r6 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r7 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r8 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r10 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r1 = (uintptr_t)context; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=2 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=3 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=6 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=10 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=12 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=12 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=13 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=14 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=15 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=16 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_2; label_1: // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=20 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=22 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=23 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=25 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_5; label_2: // EBPF_OP_MOV64_REG pc=26 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=27 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=28 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=30 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=31 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=31 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_4; - // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=33 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=34 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=36 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=37 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=39 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=40 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=42 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=43 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=45 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=46 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=47 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=48 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_3: // EBPF_OP_CALL pc=49 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=50 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=50 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=52 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_6; label_4: // EBPF_OP_MOV64_REG pc=53 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=54 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=55 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=57 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=58 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=58 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=59 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=60 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=61 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=62 dst=r3 src=r0 offset=41 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_10; - // EBPF_OP_LDDW pc=63 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=63 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=65 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=66 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=68 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=69 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_5: // EBPF_OP_STXDW pc=71 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=72 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=74 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=75 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=76 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=77 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=78 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_6: // EBPF_OP_MOV64_IMM pc=79 dst=r1 src=r0 offset=0 imm=100 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=80 dst=r10 src=r1 offset=-28 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=81 dst=r1 src=r0 offset=0 imm=622879845 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=82 dst=r10 src=r1 offset=-32 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=83 dst=r1 src=r0 offset=0 imm=1701978184 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722056; // EBPF_OP_STXDW pc=85 dst=r10 src=r1 offset=-40 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=86 dst=r1 src=r0 offset=0 imm=1885433120 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)5999155482795797792; // EBPF_OP_STXDW pc=88 dst=r10 src=r1 offset=-48 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=89 dst=r1 src=r0 offset=0 imm=1279349317 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=91 dst=r10 src=r1 offset=-56 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=92 dst=r1 src=r0 offset=0 imm=1953719636 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; label_7: // EBPF_OP_STXDW pc=94 dst=r10 src=r1 offset=-64 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=95 dst=r3 src=r6 offset=0 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=96 dst=r3 src=r0 offset=0 imm=32 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=97 dst=r3 src=r0 offset=0 imm=32 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=98 dst=r1 src=r10 offset=0 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=99 dst=r1 src=r0 offset=0 imm=-64 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=100 dst=r2 src=r0 offset=0 imm=38 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r2 = IMMEDIATE(38); label_8: // EBPF_OP_CALL pc=101 dst=r0 src=r0 offset=0 imm=13 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" return 0; label_9: // EBPF_OP_MOV64_REG pc=102 dst=r0 src=r6 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r0 = r6; // EBPF_OP_EXIT pc=103 dst=r0 src=r0 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" return r0; label_10: // EBPF_OP_MOV64_REG pc=104 dst=r2 src=r10 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=105 dst=r2 src=r0 offset=0 imm=-4 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=106 dst=r3 src=r10 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=107 dst=r3 src=r0 offset=0 imm=-68 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=108 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=110 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=111 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=112 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=112 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=113 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=114 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=115 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=116 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_11; - // EBPF_OP_JA pc=117 dst=r0 src=r0 offset=-101 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=117 dst=r0 src=r0 offset=-101 imm=0 +#line 93 "sample/undocked/map.c" goto label_1; label_11: // EBPF_OP_MOV64_REG pc=118 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=119 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=120 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=122 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=123 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=123 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_12; - // EBPF_OP_MOV64_IMM pc=124 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=124 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=125 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=126 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=127 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=128 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=130 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=131 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=133 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=134 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=136 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=137 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=139 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=140 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=142 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=143 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=144 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=145 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=146 dst=r0 src=r0 offset=-98 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_3; label_12: // EBPF_OP_MOV64_IMM pc=147 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=148 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=149 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=150 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=151 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=152 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=153 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=154 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=155 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=157 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=158 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=159 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=159 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=160 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=161 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=162 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=163 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_14; label_13: // EBPF_OP_LDDW pc=164 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=166 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=167 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=169 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=170 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=172 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_17; label_14: // EBPF_OP_MOV64_REG pc=173 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=174 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=175 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=177 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=178 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=178 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_16; - // EBPF_OP_MOV64_IMM pc=179 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=179 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=180 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=181 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=183 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=184 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=186 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=187 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=189 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=190 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=192 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=193 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=194 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=195 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_15: // EBPF_OP_CALL pc=196 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=197 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=197 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=199 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_18; label_16: // EBPF_OP_MOV64_REG pc=200 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=201 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=202 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=204 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=205 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=205 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=206 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=207 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=208 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=209 dst=r3 src=r0 offset=42 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_20; - // EBPF_OP_LDDW pc=210 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=210 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=212 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=213 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=215 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=216 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_17: // EBPF_OP_STXDW pc=218 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=219 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=221 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=222 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=223 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=224 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=225 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_18: // EBPF_OP_MOV64_IMM pc=226 dst=r1 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=227 dst=r10 src=r1 offset=-20 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=228 dst=r1 src=r0 offset=0 imm=1680154724 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = IMMEDIATE(1680154724); // EBPF_OP_STXW pc=229 dst=r10 src=r1 offset=-24 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=230 dst=r1 src=r0 offset=0 imm=1952805408 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)7308905094058439200; // EBPF_OP_STXDW pc=232 dst=r10 src=r1 offset=-32 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=233 dst=r1 src=r0 offset=0 imm=1599426627 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5211580972890673219; // EBPF_OP_STXDW pc=235 dst=r10 src=r1 offset=-40 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=236 dst=r1 src=r0 offset=0 imm=1885433120 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5928232584757734688; // EBPF_OP_STXDW pc=238 dst=r10 src=r1 offset=-48 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=239 dst=r1 src=r0 offset=0 imm=1279349317 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=241 dst=r10 src=r1 offset=-56 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=242 dst=r1 src=r0 offset=0 imm=1953719636 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; label_19: // EBPF_OP_STXDW pc=244 dst=r10 src=r1 offset=-64 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=245 dst=r3 src=r6 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=246 dst=r3 src=r0 offset=0 imm=32 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=247 dst=r3 src=r0 offset=0 imm=32 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=248 dst=r1 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=249 dst=r1 src=r0 offset=0 imm=-64 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=250 dst=r2 src=r0 offset=0 imm=45 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=251 dst=r0 src=r0 offset=-151 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" goto label_8; label_20: // EBPF_OP_MOV64_REG pc=252 dst=r2 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=253 dst=r2 src=r0 offset=0 imm=-4 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=254 dst=r3 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=255 dst=r3 src=r0 offset=0 imm=-68 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=256 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=258 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=259 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=260 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=260 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=261 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=262 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=263 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=264 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_21; - // EBPF_OP_JA pc=265 dst=r0 src=r0 offset=-102 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=265 dst=r0 src=r0 offset=-102 imm=0 +#line 93 "sample/undocked/map.c" goto label_13; label_21: // EBPF_OP_MOV64_REG pc=266 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=267 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=268 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=270 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=271 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=271 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_22; - // EBPF_OP_MOV64_IMM pc=272 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=272 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=273 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=274 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=275 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=276 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=278 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=279 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=281 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=282 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=284 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=285 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=287 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=288 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=290 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=291 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=292 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=293 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=294 dst=r0 src=r0 offset=-99 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_15; label_22: // EBPF_OP_MOV64_IMM pc=295 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=296 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=297 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=298 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=299 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=300 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=301 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=302 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=303 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_MOV64_IMM pc=305 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=306 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=307 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=307 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=308 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=309 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=310 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=311 dst=r3 src=r0 offset=1 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_23; - // EBPF_OP_JA pc=312 dst=r0 src=r0 offset=60 imm=0 -#line 75 "sample/map.c" + // EBPF_OP_JA pc=312 dst=r0 src=r0 offset=60 imm=0 +#line 75 "sample/undocked/map.c" goto label_26; label_23: // EBPF_OP_MOV64_REG pc=313 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=314 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=315 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_CALL pc=317 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=318 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=318 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_24; - // EBPF_OP_MOV64_IMM pc=319 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=319 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=320 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=321 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=323 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=324 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=326 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=327 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=329 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=330 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=332 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=333 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=334 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=335 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); // EBPF_OP_CALL pc=336 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=337 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=337 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=339 dst=r0 src=r0 offset=49 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_28; label_24: // EBPF_OP_MOV64_REG pc=340 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=341 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=342 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_CALL pc=344 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=345 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=345 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=346 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=347 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=348 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=349 dst=r3 src=r0 offset=9 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_25; - // EBPF_OP_LDDW pc=350 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=350 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=352 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=353 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=355 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=356 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; // EBPF_OP_JA pc=358 dst=r0 src=r0 offset=22 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" goto label_27; label_25: // EBPF_OP_MOV64_REG pc=359 dst=r2 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=360 dst=r2 src=r0 offset=0 imm=-4 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=361 dst=r3 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=362 dst=r3 src=r0 offset=0 imm=-68 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=363 dst=r7 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=364 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_MOV64_IMM pc=366 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=367 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=368 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=368 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=369 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=370 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=371 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=372 dst=r3 src=r0 offset=41 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_29; label_26: // EBPF_OP_LDDW pc=373 dst=r1 src=r0 offset=0 imm=1684369010 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=375 dst=r10 src=r1 offset=-40 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=376 dst=r1 src=r0 offset=0 imm=544040300 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=378 dst=r10 src=r1 offset=-48 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=379 dst=r1 src=r0 offset=0 imm=1633972341 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; label_27: // EBPF_OP_STXDW pc=381 dst=r10 src=r1 offset=-56 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=382 dst=r1 src=r0 offset=0 imm=1600548962 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=384 dst=r10 src=r1 offset=-64 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=385 dst=r1 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=386 dst=r1 src=r0 offset=0 imm=-64 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=387 dst=r2 src=r0 offset=0 imm=32 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=388 dst=r0 src=r0 offset=0 imm=13 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" return 0; label_28: // EBPF_OP_MOV64_IMM pc=389 dst=r1 src=r0 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=390 dst=r10 src=r1 offset=-26 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-26)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=391 dst=r1 src=r0 offset=0 imm=25637 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=392 dst=r10 src=r1 offset=-28 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=393 dst=r1 src=r0 offset=0 imm=543450478 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=394 dst=r10 src=r1 offset=-32 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=395 dst=r1 src=r0 offset=0 imm=1914722625 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)8247626271654172993; // EBPF_OP_STXDW pc=397 dst=r10 src=r1 offset=-40 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=398 dst=r1 src=r0 offset=0 imm=1885433120 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)5931875266780556576; // EBPF_OP_STXDW pc=400 dst=r10 src=r1 offset=-48 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=401 dst=r1 src=r0 offset=0 imm=1279349317 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=403 dst=r10 src=r1 offset=-56 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=404 dst=r1 src=r0 offset=0 imm=1953719636 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=406 dst=r10 src=r1 offset=-64 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=407 dst=r3 src=r6 offset=0 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=408 dst=r3 src=r0 offset=0 imm=32 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=409 dst=r3 src=r0 offset=0 imm=32 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=410 dst=r1 src=r10 offset=0 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=411 dst=r1 src=r0 offset=0 imm=-64 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=412 dst=r2 src=r0 offset=0 imm=39 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r2 = IMMEDIATE(39); // EBPF_OP_JA pc=413 dst=r0 src=r0 offset=-313 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" goto label_8; label_29: // EBPF_OP_STXW pc=414 dst=r10 src=r7 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=415 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=416 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=417 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=418 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=419 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=420 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=421 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_MOV64_IMM pc=423 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=424 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=425 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=425 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=426 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=427 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=428 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=429 dst=r3 src=r0 offset=1 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_30; - // EBPF_OP_JA pc=430 dst=r0 src=r0 offset=60 imm=0 -#line 75 "sample/map.c" + // EBPF_OP_JA pc=430 dst=r0 src=r0 offset=60 imm=0 +#line 75 "sample/undocked/map.c" goto label_33; label_30: // EBPF_OP_MOV64_REG pc=431 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=432 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=433 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_CALL pc=435 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=436 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=436 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_31; - // EBPF_OP_MOV64_IMM pc=437 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=437 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=438 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=439 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=441 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=442 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=444 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=445 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=447 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=448 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=450 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=451 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=452 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=453 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); // EBPF_OP_CALL pc=454 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=455 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=455 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=457 dst=r0 src=r0 offset=49 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_35; label_31: // EBPF_OP_MOV64_REG pc=458 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=459 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=460 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_CALL pc=462 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=463 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=463 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=464 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=465 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=466 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=467 dst=r3 src=r0 offset=9 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_32; - // EBPF_OP_LDDW pc=468 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=468 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=470 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=471 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=473 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=474 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; // EBPF_OP_JA pc=476 dst=r0 src=r0 offset=22 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" goto label_34; label_32: // EBPF_OP_MOV64_REG pc=477 dst=r2 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=478 dst=r2 src=r0 offset=0 imm=-4 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=479 dst=r3 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=480 dst=r3 src=r0 offset=0 imm=-68 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=481 dst=r7 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=482 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_MOV64_IMM pc=484 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=485 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=486 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=486 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=487 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=488 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=489 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=490 dst=r3 src=r0 offset=42 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_36; label_33: // EBPF_OP_LDDW pc=491 dst=r1 src=r0 offset=0 imm=1684369010 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=493 dst=r10 src=r1 offset=-40 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=494 dst=r1 src=r0 offset=0 imm=544040300 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=496 dst=r10 src=r1 offset=-48 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=497 dst=r1 src=r0 offset=0 imm=1633972341 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; label_34: // EBPF_OP_STXDW pc=499 dst=r10 src=r1 offset=-56 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=500 dst=r1 src=r0 offset=0 imm=1600548962 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=502 dst=r10 src=r1 offset=-64 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=503 dst=r1 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=504 dst=r1 src=r0 offset=0 imm=-64 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=505 dst=r2 src=r0 offset=0 imm=32 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=506 dst=r0 src=r0 offset=0 imm=13 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" return 0; label_35: // EBPF_OP_MOV64_IMM pc=507 dst=r1 src=r0 offset=0 imm=100 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=508 dst=r10 src=r1 offset=-20 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=509 dst=r1 src=r0 offset=0 imm=622879845 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=510 dst=r10 src=r1 offset=-24 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=511 dst=r1 src=r0 offset=0 imm=1701978201 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722073; // EBPF_OP_STXDW pc=513 dst=r10 src=r1 offset=-32 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=514 dst=r1 src=r0 offset=0 imm=1599426627 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)4706915001281368131; // EBPF_OP_STXDW pc=516 dst=r10 src=r1 offset=-40 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=517 dst=r1 src=r0 offset=0 imm=1885433120 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)5928232584757734688; // EBPF_OP_STXDW pc=519 dst=r10 src=r1 offset=-48 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=520 dst=r1 src=r0 offset=0 imm=1279349317 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=522 dst=r10 src=r1 offset=-56 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=523 dst=r1 src=r0 offset=0 imm=1953719636 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=525 dst=r10 src=r1 offset=-64 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=526 dst=r3 src=r6 offset=0 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=527 dst=r3 src=r0 offset=0 imm=32 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=528 dst=r3 src=r0 offset=0 imm=32 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=529 dst=r1 src=r10 offset=0 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=530 dst=r1 src=r0 offset=0 imm=-64 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=531 dst=r2 src=r0 offset=0 imm=46 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r2 = IMMEDIATE(46); // EBPF_OP_JA pc=532 dst=r0 src=r0 offset=-432 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" goto label_8; label_36: // EBPF_OP_STXW pc=533 dst=r10 src=r7 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=534 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=535 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=536 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=537 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=538 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=539 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=540 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=542 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=543 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=544 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=544 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=545 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=546 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=547 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=548 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_38; label_37: // EBPF_OP_LDDW pc=549 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=551 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=552 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=554 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=555 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=557 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_41; label_38: // EBPF_OP_MOV64_REG pc=558 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=559 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=560 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=562 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=563 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=563 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_40; - // EBPF_OP_MOV64_IMM pc=564 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=564 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=565 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=566 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=568 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=569 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=571 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=572 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=574 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=575 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=577 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=578 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=579 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=580 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_39: // EBPF_OP_CALL pc=581 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=582 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=582 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=584 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_42; label_40: // EBPF_OP_MOV64_REG pc=585 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=586 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=587 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=589 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=590 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=590 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=591 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=592 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=593 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=594 dst=r3 src=r0 offset=40 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_43; - // EBPF_OP_LDDW pc=595 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=595 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=597 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=598 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=600 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=601 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_41: // EBPF_OP_STXDW pc=603 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=604 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=606 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=607 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=608 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=609 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=610 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_42: // EBPF_OP_MOV64_IMM pc=611 dst=r1 src=r0 offset=0 imm=100 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=612 dst=r10 src=r1 offset=-24 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint16_t)r1; // EBPF_OP_LDDW pc=613 dst=r1 src=r0 offset=0 imm=1852994932 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=615 dst=r10 src=r1 offset=-32 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=616 dst=r1 src=r0 offset=0 imm=1396787295 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)7309940640182257759; // EBPF_OP_STXDW pc=618 dst=r10 src=r1 offset=-40 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=619 dst=r1 src=r0 offset=0 imm=1885433120 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)6148060143522245920; // EBPF_OP_STXDW pc=621 dst=r10 src=r1 offset=-48 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=622 dst=r1 src=r0 offset=0 imm=1279349317 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=624 dst=r10 src=r1 offset=-56 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=625 dst=r1 src=r0 offset=0 imm=1953719636 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=627 dst=r10 src=r1 offset=-64 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=628 dst=r3 src=r6 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=629 dst=r3 src=r0 offset=0 imm=32 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=630 dst=r3 src=r0 offset=0 imm=32 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=631 dst=r1 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=632 dst=r1 src=r0 offset=0 imm=-64 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=633 dst=r2 src=r0 offset=0 imm=42 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 = IMMEDIATE(42); // EBPF_OP_JA pc=634 dst=r0 src=r0 offset=-534 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" goto label_8; label_43: // EBPF_OP_MOV64_REG pc=635 dst=r2 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=636 dst=r2 src=r0 offset=0 imm=-4 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=637 dst=r3 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=638 dst=r3 src=r0 offset=0 imm=-68 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=639 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=641 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=642 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=643 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=643 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=644 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=645 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=646 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=647 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_44; - // EBPF_OP_JA pc=648 dst=r0 src=r0 offset=-100 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=648 dst=r0 src=r0 offset=-100 imm=0 +#line 93 "sample/undocked/map.c" goto label_37; label_44: // EBPF_OP_MOV64_REG pc=649 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=650 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=651 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=653 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=654 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=654 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_45; - // EBPF_OP_MOV64_IMM pc=655 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=655 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=656 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=657 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=658 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=659 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=661 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=662 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=664 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=665 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=667 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=668 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=670 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=671 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=673 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=674 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=675 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=676 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=677 dst=r0 src=r0 offset=-97 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_39; label_45: // EBPF_OP_MOV64_IMM pc=678 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=679 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=680 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=681 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=682 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=683 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=684 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=685 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=686 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=688 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=689 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=690 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=690 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=691 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=692 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=693 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=694 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_47; label_46: // EBPF_OP_LDDW pc=695 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=697 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=698 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=700 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=701 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=703 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_50; label_47: // EBPF_OP_MOV64_REG pc=704 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=705 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=706 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=708 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=709 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=709 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_49; - // EBPF_OP_MOV64_IMM pc=710 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=710 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=711 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=712 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=714 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=715 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=717 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=718 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=720 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=721 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=723 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=724 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=725 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=726 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_48: // EBPF_OP_CALL pc=727 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=728 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=728 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=730 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_51; label_49: // EBPF_OP_MOV64_REG pc=731 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=732 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=733 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=735 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=736 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=736 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=737 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=738 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=739 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=740 dst=r3 src=r0 offset=43 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_52; - // EBPF_OP_LDDW pc=741 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=741 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=743 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=744 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=746 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=747 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_50: // EBPF_OP_STXDW pc=749 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=750 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=752 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=753 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=754 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=755 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=756 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_51: // EBPF_OP_MOV64_IMM pc=757 dst=r1 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=758 dst=r10 src=r1 offset=-16 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r1; // EBPF_OP_LDDW pc=759 dst=r1 src=r0 offset=0 imm=1701737077 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=761 dst=r10 src=r1 offset=-24 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=762 dst=r1 src=r0 offset=0 imm=1213415752 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)8387235364025352520; // EBPF_OP_STXDW pc=764 dst=r10 src=r1 offset=-32 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=765 dst=r1 src=r0 offset=0 imm=1380274271 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)6869485056696864863; // EBPF_OP_STXDW pc=767 dst=r10 src=r1 offset=-40 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=768 dst=r1 src=r0 offset=0 imm=1885433120 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)6148060143522245920; // EBPF_OP_STXDW pc=770 dst=r10 src=r1 offset=-48 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=771 dst=r1 src=r0 offset=0 imm=1279349317 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=773 dst=r10 src=r1 offset=-56 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=774 dst=r1 src=r0 offset=0 imm=1953719636 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=776 dst=r10 src=r1 offset=-64 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=777 dst=r3 src=r6 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=778 dst=r3 src=r0 offset=0 imm=32 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=779 dst=r3 src=r0 offset=0 imm=32 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=780 dst=r1 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=781 dst=r1 src=r0 offset=0 imm=-64 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=782 dst=r2 src=r0 offset=0 imm=49 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=783 dst=r0 src=r0 offset=-683 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" goto label_8; label_52: // EBPF_OP_MOV64_REG pc=784 dst=r2 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=785 dst=r2 src=r0 offset=0 imm=-4 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=786 dst=r3 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=787 dst=r3 src=r0 offset=0 imm=-68 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=788 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=790 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=791 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=792 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=792 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=793 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=794 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=795 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=796 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_53; - // EBPF_OP_JA pc=797 dst=r0 src=r0 offset=-103 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=797 dst=r0 src=r0 offset=-103 imm=0 +#line 93 "sample/undocked/map.c" goto label_46; label_53: // EBPF_OP_MOV64_REG pc=798 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=799 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=800 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=802 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=803 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=803 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_54; - // EBPF_OP_MOV64_IMM pc=804 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=804 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=805 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=806 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=807 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=808 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=810 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=811 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=813 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=814 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=816 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=817 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=819 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=820 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=822 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=823 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=824 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=825 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=826 dst=r0 src=r0 offset=-100 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_48; label_54: // EBPF_OP_MOV64_IMM pc=827 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=828 dst=r10 src=r1 offset=-4 imm=0 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=829 dst=r7 src=r0 offset=0 imm=1 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" r7 = IMMEDIATE(1); // EBPF_OP_STXW pc=830 dst=r10 src=r7 offset=-68 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=831 dst=r2 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=832 dst=r2 src=r0 offset=0 imm=-4 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=833 dst=r3 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=834 dst=r3 src=r0 offset=0 imm=-68 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=835 dst=r1 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=837 dst=r4 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=838 dst=r0 src=r0 offset=0 imm=2 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=839 dst=r6 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" + // EBPF_OP_MOV64_REG pc=839 dst=r6 src=r0 offset=0 imm=0 +#line 129 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=840 dst=r3 src=r6 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=841 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=842 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=843 dst=r3 src=r0 offset=1 imm=-1 -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" goto label_55; - // EBPF_OP_JA pc=844 dst=r0 src=r0 offset=159 imm=0 -#line 130 "sample/map.c" + // EBPF_OP_JA pc=844 dst=r0 src=r0 offset=159 imm=0 +#line 130 "sample/undocked/map.c" goto label_65; label_55: // EBPF_OP_STXW pc=845 dst=r10 src=r7 offset=-4 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=846 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=847 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=848 dst=r3 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=849 dst=r3 src=r0 offset=0 imm=-68 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=850 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=852 dst=r4 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=853 dst=r0 src=r0 offset=0 imm=2 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=854 dst=r6 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" + // EBPF_OP_MOV64_REG pc=854 dst=r6 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=855 dst=r3 src=r6 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=856 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=857 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=858 dst=r3 src=r0 offset=1 imm=-1 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" goto label_56; - // EBPF_OP_JA pc=859 dst=r0 src=r0 offset=144 imm=0 -#line 136 "sample/map.c" + // EBPF_OP_JA pc=859 dst=r0 src=r0 offset=144 imm=0 +#line 136 "sample/undocked/map.c" goto label_65; label_56: // EBPF_OP_MOV64_IMM pc=860 dst=r1 src=r0 offset=0 imm=2 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=861 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=862 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=863 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=864 dst=r3 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=865 dst=r3 src=r0 offset=0 imm=-68 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=866 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=868 dst=r4 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=869 dst=r0 src=r0 offset=0 imm=2 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=870 dst=r6 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" + // EBPF_OP_MOV64_REG pc=870 dst=r6 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=871 dst=r3 src=r6 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=872 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=873 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=874 dst=r3 src=r0 offset=1 imm=-1 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" goto label_57; - // EBPF_OP_JA pc=875 dst=r0 src=r0 offset=128 imm=0 -#line 142 "sample/map.c" + // EBPF_OP_JA pc=875 dst=r0 src=r0 offset=128 imm=0 +#line 142 "sample/undocked/map.c" goto label_65; label_57: // EBPF_OP_MOV64_IMM pc=876 dst=r1 src=r0 offset=0 imm=3 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=877 dst=r10 src=r1 offset=-4 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=878 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=879 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=880 dst=r3 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=881 dst=r3 src=r0 offset=0 imm=-68 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=882 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=884 dst=r4 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=885 dst=r0 src=r0 offset=0 imm=2 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=886 dst=r6 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" + // EBPF_OP_MOV64_REG pc=886 dst=r6 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=887 dst=r3 src=r6 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=888 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=889 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=890 dst=r3 src=r0 offset=1 imm=-1 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" goto label_58; - // EBPF_OP_JA pc=891 dst=r0 src=r0 offset=112 imm=0 -#line 148 "sample/map.c" + // EBPF_OP_JA pc=891 dst=r0 src=r0 offset=112 imm=0 +#line 148 "sample/undocked/map.c" goto label_65; label_58: // EBPF_OP_MOV64_IMM pc=892 dst=r1 src=r0 offset=0 imm=4 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=893 dst=r10 src=r1 offset=-4 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=894 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=895 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=896 dst=r3 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=897 dst=r3 src=r0 offset=0 imm=-68 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=898 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=900 dst=r4 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=901 dst=r0 src=r0 offset=0 imm=2 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=902 dst=r6 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" + // EBPF_OP_MOV64_REG pc=902 dst=r6 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=903 dst=r3 src=r6 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=904 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=905 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=906 dst=r3 src=r0 offset=1 imm=-1 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" goto label_59; - // EBPF_OP_JA pc=907 dst=r0 src=r0 offset=96 imm=0 -#line 154 "sample/map.c" + // EBPF_OP_JA pc=907 dst=r0 src=r0 offset=96 imm=0 +#line 154 "sample/undocked/map.c" goto label_65; label_59: // EBPF_OP_MOV64_IMM pc=908 dst=r1 src=r0 offset=0 imm=5 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=909 dst=r10 src=r1 offset=-4 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=910 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=911 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=912 dst=r3 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=913 dst=r3 src=r0 offset=0 imm=-68 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=914 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=916 dst=r4 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=917 dst=r0 src=r0 offset=0 imm=2 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=918 dst=r6 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" + // EBPF_OP_MOV64_REG pc=918 dst=r6 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=919 dst=r3 src=r6 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=920 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=921 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=922 dst=r3 src=r0 offset=1 imm=-1 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" goto label_60; - // EBPF_OP_JA pc=923 dst=r0 src=r0 offset=80 imm=0 -#line 160 "sample/map.c" + // EBPF_OP_JA pc=923 dst=r0 src=r0 offset=80 imm=0 +#line 160 "sample/undocked/map.c" goto label_65; label_60: // EBPF_OP_MOV64_IMM pc=924 dst=r1 src=r0 offset=0 imm=6 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=925 dst=r10 src=r1 offset=-4 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=926 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=927 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=928 dst=r3 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=929 dst=r3 src=r0 offset=0 imm=-68 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=930 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=932 dst=r4 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=933 dst=r0 src=r0 offset=0 imm=2 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=934 dst=r6 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" + // EBPF_OP_MOV64_REG pc=934 dst=r6 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=935 dst=r3 src=r6 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=936 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=937 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=938 dst=r3 src=r0 offset=1 imm=-1 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" goto label_61; - // EBPF_OP_JA pc=939 dst=r0 src=r0 offset=64 imm=0 -#line 166 "sample/map.c" + // EBPF_OP_JA pc=939 dst=r0 src=r0 offset=64 imm=0 +#line 166 "sample/undocked/map.c" goto label_65; label_61: // EBPF_OP_MOV64_IMM pc=940 dst=r1 src=r0 offset=0 imm=7 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=941 dst=r10 src=r1 offset=-4 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=942 dst=r2 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=943 dst=r2 src=r0 offset=0 imm=-4 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=944 dst=r3 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=945 dst=r3 src=r0 offset=0 imm=-68 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=946 dst=r1 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=948 dst=r4 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=949 dst=r0 src=r0 offset=0 imm=2 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=950 dst=r6 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" + // EBPF_OP_MOV64_REG pc=950 dst=r6 src=r0 offset=0 imm=0 +#line 171 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=951 dst=r3 src=r6 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=952 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=953 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=954 dst=r3 src=r0 offset=1 imm=-1 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" goto label_62; - // EBPF_OP_JA pc=955 dst=r0 src=r0 offset=48 imm=0 -#line 172 "sample/map.c" + // EBPF_OP_JA pc=955 dst=r0 src=r0 offset=48 imm=0 +#line 172 "sample/undocked/map.c" goto label_65; label_62: // EBPF_OP_MOV64_IMM pc=956 dst=r1 src=r0 offset=0 imm=8 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=957 dst=r10 src=r1 offset=-4 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=958 dst=r2 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=959 dst=r2 src=r0 offset=0 imm=-4 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=960 dst=r3 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=961 dst=r3 src=r0 offset=0 imm=-68 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=962 dst=r1 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=964 dst=r4 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=965 dst=r0 src=r0 offset=0 imm=2 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=966 dst=r6 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" + // EBPF_OP_MOV64_REG pc=966 dst=r6 src=r0 offset=0 imm=0 +#line 177 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=967 dst=r3 src=r6 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=968 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=969 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=970 dst=r3 src=r0 offset=1 imm=-1 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" goto label_63; - // EBPF_OP_JA pc=971 dst=r0 src=r0 offset=32 imm=0 -#line 178 "sample/map.c" + // EBPF_OP_JA pc=971 dst=r0 src=r0 offset=32 imm=0 +#line 178 "sample/undocked/map.c" goto label_65; label_63: // EBPF_OP_MOV64_IMM pc=972 dst=r1 src=r0 offset=0 imm=9 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=973 dst=r10 src=r1 offset=-4 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=974 dst=r2 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=975 dst=r2 src=r0 offset=0 imm=-4 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=976 dst=r3 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=977 dst=r3 src=r0 offset=0 imm=-68 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=978 dst=r1 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=980 dst=r4 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=981 dst=r0 src=r0 offset=0 imm=2 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=982 dst=r6 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" + // EBPF_OP_MOV64_REG pc=982 dst=r6 src=r0 offset=0 imm=0 +#line 183 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=983 dst=r3 src=r6 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=984 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=985 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=986 dst=r3 src=r0 offset=1 imm=-1 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" goto label_64; - // EBPF_OP_JA pc=987 dst=r0 src=r0 offset=16 imm=0 -#line 184 "sample/map.c" + // EBPF_OP_JA pc=987 dst=r0 src=r0 offset=16 imm=0 +#line 184 "sample/undocked/map.c" goto label_65; label_64: // EBPF_OP_MOV64_IMM pc=988 dst=r1 src=r0 offset=0 imm=10 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=989 dst=r10 src=r1 offset=-4 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=990 dst=r2 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=991 dst=r2 src=r0 offset=0 imm=-4 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=992 dst=r3 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=993 dst=r3 src=r0 offset=0 imm=-68 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=994 dst=r7 src=r0 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=995 dst=r1 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=997 dst=r4 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=998 dst=r0 src=r0 offset=0 imm=2 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=999 dst=r6 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" + // EBPF_OP_MOV64_REG pc=999 dst=r6 src=r0 offset=0 imm=0 +#line 189 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1000 dst=r3 src=r6 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1001 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1002 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1003 dst=r3 src=r0 offset=32 imm=-1 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" goto label_66; label_65: // EBPF_OP_LDDW pc=1004 dst=r1 src=r0 offset=0 imm=1684369010 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1006 dst=r10 src=r1 offset=-40 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1007 dst=r1 src=r0 offset=0 imm=544040300 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=1009 dst=r10 src=r1 offset=-48 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1010 dst=r1 src=r0 offset=0 imm=1633972341 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_STXDW pc=1012 dst=r10 src=r1 offset=-56 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1013 dst=r1 src=r0 offset=0 imm=1600548962 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1015 dst=r10 src=r1 offset=-64 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1016 dst=r1 src=r10 offset=0 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1017 dst=r1 src=r0 offset=0 imm=-64 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1018 dst=r2 src=r0 offset=0 imm=32 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=1019 dst=r0 src=r0 offset=0 imm=13 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_IMM pc=1020 dst=r1 src=r0 offset=0 imm=100 -#line 190 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1020 dst=r1 src=r0 offset=0 imm=100 +#line 190 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1021 dst=r10 src=r1 offset=-28 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1022 dst=r1 src=r0 offset=0 imm=622879845 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=1023 dst=r10 src=r1 offset=-32 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1024 dst=r1 src=r0 offset=0 imm=1701978184 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722056; // EBPF_OP_STXDW pc=1026 dst=r10 src=r1 offset=-40 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1027 dst=r1 src=r0 offset=0 imm=1431456800 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)5999155752924761120; // EBPF_OP_STXDW pc=1029 dst=r10 src=r1 offset=-48 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1030 dst=r1 src=r0 offset=0 imm=1919903264 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)8097873591115146784; // EBPF_OP_STXDW pc=1032 dst=r10 src=r1 offset=-56 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1033 dst=r1 src=r0 offset=0 imm=1953719636 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)6148060143590532436; // EBPF_OP_JA pc=1035 dst=r0 src=r0 offset=-942 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" goto label_7; label_66: // EBPF_OP_STXW pc=1036 dst=r10 src=r7 offset=-4 imm=0 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=1037 dst=r7 src=r0 offset=0 imm=1 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" r7 = IMMEDIATE(1); // EBPF_OP_STXW pc=1038 dst=r10 src=r7 offset=-68 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1039 dst=r2 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1040 dst=r2 src=r0 offset=0 imm=-4 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1041 dst=r3 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1042 dst=r3 src=r0 offset=0 imm=-68 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1043 dst=r1 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1045 dst=r4 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1046 dst=r0 src=r0 offset=0 imm=2 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1047 dst=r6 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1047 dst=r6 src=r0 offset=0 imm=0 +#line 129 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1048 dst=r3 src=r6 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1049 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1050 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1051 dst=r3 src=r0 offset=1 imm=-1 -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" goto label_67; - // EBPF_OP_JA pc=1052 dst=r0 src=r0 offset=159 imm=0 -#line 130 "sample/map.c" + // EBPF_OP_JA pc=1052 dst=r0 src=r0 offset=159 imm=0 +#line 130 "sample/undocked/map.c" goto label_77; label_67: // EBPF_OP_STXW pc=1053 dst=r10 src=r7 offset=-4 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1054 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1055 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1056 dst=r3 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1057 dst=r3 src=r0 offset=0 imm=-68 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1058 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1060 dst=r4 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1061 dst=r0 src=r0 offset=0 imm=2 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1062 dst=r6 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1062 dst=r6 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1063 dst=r3 src=r6 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1064 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1065 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1066 dst=r3 src=r0 offset=1 imm=-1 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" goto label_68; - // EBPF_OP_JA pc=1067 dst=r0 src=r0 offset=144 imm=0 -#line 136 "sample/map.c" + // EBPF_OP_JA pc=1067 dst=r0 src=r0 offset=144 imm=0 +#line 136 "sample/undocked/map.c" goto label_77; label_68: // EBPF_OP_MOV64_IMM pc=1068 dst=r1 src=r0 offset=0 imm=2 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=1069 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1070 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1071 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1072 dst=r3 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1073 dst=r3 src=r0 offset=0 imm=-68 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1074 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1076 dst=r4 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1077 dst=r0 src=r0 offset=0 imm=2 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1078 dst=r6 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1078 dst=r6 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1079 dst=r3 src=r6 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1080 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1081 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1082 dst=r3 src=r0 offset=1 imm=-1 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" goto label_69; - // EBPF_OP_JA pc=1083 dst=r0 src=r0 offset=128 imm=0 -#line 142 "sample/map.c" + // EBPF_OP_JA pc=1083 dst=r0 src=r0 offset=128 imm=0 +#line 142 "sample/undocked/map.c" goto label_77; label_69: // EBPF_OP_MOV64_IMM pc=1084 dst=r1 src=r0 offset=0 imm=3 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=1085 dst=r10 src=r1 offset=-4 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1086 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1087 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1088 dst=r3 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1089 dst=r3 src=r0 offset=0 imm=-68 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1090 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1092 dst=r4 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1093 dst=r0 src=r0 offset=0 imm=2 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1094 dst=r6 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1094 dst=r6 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1095 dst=r3 src=r6 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1096 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1097 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1098 dst=r3 src=r0 offset=1 imm=-1 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" goto label_70; - // EBPF_OP_JA pc=1099 dst=r0 src=r0 offset=112 imm=0 -#line 148 "sample/map.c" + // EBPF_OP_JA pc=1099 dst=r0 src=r0 offset=112 imm=0 +#line 148 "sample/undocked/map.c" goto label_77; label_70: // EBPF_OP_MOV64_IMM pc=1100 dst=r1 src=r0 offset=0 imm=4 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=1101 dst=r10 src=r1 offset=-4 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1102 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1103 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1104 dst=r3 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1105 dst=r3 src=r0 offset=0 imm=-68 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1106 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1108 dst=r4 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1109 dst=r0 src=r0 offset=0 imm=2 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1110 dst=r6 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1110 dst=r6 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1111 dst=r3 src=r6 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1112 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1113 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1114 dst=r3 src=r0 offset=1 imm=-1 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" goto label_71; - // EBPF_OP_JA pc=1115 dst=r0 src=r0 offset=96 imm=0 -#line 154 "sample/map.c" + // EBPF_OP_JA pc=1115 dst=r0 src=r0 offset=96 imm=0 +#line 154 "sample/undocked/map.c" goto label_77; label_71: // EBPF_OP_MOV64_IMM pc=1116 dst=r1 src=r0 offset=0 imm=5 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=1117 dst=r10 src=r1 offset=-4 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1118 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1119 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1120 dst=r3 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1121 dst=r3 src=r0 offset=0 imm=-68 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1122 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1124 dst=r4 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1125 dst=r0 src=r0 offset=0 imm=2 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1126 dst=r6 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1126 dst=r6 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1127 dst=r3 src=r6 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1128 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1129 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1130 dst=r3 src=r0 offset=1 imm=-1 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" goto label_72; - // EBPF_OP_JA pc=1131 dst=r0 src=r0 offset=80 imm=0 -#line 160 "sample/map.c" + // EBPF_OP_JA pc=1131 dst=r0 src=r0 offset=80 imm=0 +#line 160 "sample/undocked/map.c" goto label_77; label_72: // EBPF_OP_MOV64_IMM pc=1132 dst=r1 src=r0 offset=0 imm=6 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=1133 dst=r10 src=r1 offset=-4 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1134 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1135 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1136 dst=r3 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1137 dst=r3 src=r0 offset=0 imm=-68 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1138 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1140 dst=r4 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1141 dst=r0 src=r0 offset=0 imm=2 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1142 dst=r6 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1142 dst=r6 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1143 dst=r3 src=r6 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1144 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1145 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1146 dst=r3 src=r0 offset=1 imm=-1 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" goto label_73; - // EBPF_OP_JA pc=1147 dst=r0 src=r0 offset=64 imm=0 -#line 166 "sample/map.c" + // EBPF_OP_JA pc=1147 dst=r0 src=r0 offset=64 imm=0 +#line 166 "sample/undocked/map.c" goto label_77; label_73: // EBPF_OP_MOV64_IMM pc=1148 dst=r1 src=r0 offset=0 imm=7 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=1149 dst=r10 src=r1 offset=-4 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1150 dst=r2 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1151 dst=r2 src=r0 offset=0 imm=-4 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1152 dst=r3 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1153 dst=r3 src=r0 offset=0 imm=-68 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1154 dst=r1 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1156 dst=r4 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1157 dst=r0 src=r0 offset=0 imm=2 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1158 dst=r6 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1158 dst=r6 src=r0 offset=0 imm=0 +#line 171 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1159 dst=r3 src=r6 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1160 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1161 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1162 dst=r3 src=r0 offset=1 imm=-1 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" goto label_74; - // EBPF_OP_JA pc=1163 dst=r0 src=r0 offset=48 imm=0 -#line 172 "sample/map.c" + // EBPF_OP_JA pc=1163 dst=r0 src=r0 offset=48 imm=0 +#line 172 "sample/undocked/map.c" goto label_77; label_74: // EBPF_OP_MOV64_IMM pc=1164 dst=r1 src=r0 offset=0 imm=8 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=1165 dst=r10 src=r1 offset=-4 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1166 dst=r2 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1167 dst=r2 src=r0 offset=0 imm=-4 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1168 dst=r3 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1169 dst=r3 src=r0 offset=0 imm=-68 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1170 dst=r1 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1172 dst=r4 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1173 dst=r0 src=r0 offset=0 imm=2 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1174 dst=r6 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1174 dst=r6 src=r0 offset=0 imm=0 +#line 177 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1175 dst=r3 src=r6 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1176 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1177 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1178 dst=r3 src=r0 offset=1 imm=-1 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" goto label_75; - // EBPF_OP_JA pc=1179 dst=r0 src=r0 offset=32 imm=0 -#line 178 "sample/map.c" + // EBPF_OP_JA pc=1179 dst=r0 src=r0 offset=32 imm=0 +#line 178 "sample/undocked/map.c" goto label_77; label_75: // EBPF_OP_MOV64_IMM pc=1180 dst=r1 src=r0 offset=0 imm=9 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=1181 dst=r10 src=r1 offset=-4 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1182 dst=r2 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1183 dst=r2 src=r0 offset=0 imm=-4 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1184 dst=r3 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1185 dst=r3 src=r0 offset=0 imm=-68 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1186 dst=r1 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1188 dst=r4 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1189 dst=r0 src=r0 offset=0 imm=2 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1190 dst=r6 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1190 dst=r6 src=r0 offset=0 imm=0 +#line 183 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1191 dst=r3 src=r6 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1192 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1193 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1194 dst=r3 src=r0 offset=1 imm=-1 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" goto label_76; - // EBPF_OP_JA pc=1195 dst=r0 src=r0 offset=16 imm=0 -#line 184 "sample/map.c" + // EBPF_OP_JA pc=1195 dst=r0 src=r0 offset=16 imm=0 +#line 184 "sample/undocked/map.c" goto label_77; label_76: // EBPF_OP_MOV64_IMM pc=1196 dst=r1 src=r0 offset=0 imm=10 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=1197 dst=r10 src=r1 offset=-4 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1198 dst=r2 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1199 dst=r2 src=r0 offset=0 imm=-4 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1200 dst=r3 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1201 dst=r3 src=r0 offset=0 imm=-68 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=1202 dst=r7 src=r0 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1203 dst=r1 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1205 dst=r4 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1206 dst=r0 src=r0 offset=0 imm=2 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1207 dst=r6 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1207 dst=r6 src=r0 offset=0 imm=0 +#line 189 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1208 dst=r3 src=r6 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1209 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1210 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1211 dst=r3 src=r0 offset=35 imm=-1 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" goto label_78; label_77: // EBPF_OP_LDDW pc=1212 dst=r1 src=r0 offset=0 imm=1684369010 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1214 dst=r10 src=r1 offset=-40 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1215 dst=r1 src=r0 offset=0 imm=544040300 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=1217 dst=r10 src=r1 offset=-48 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1218 dst=r1 src=r0 offset=0 imm=1633972341 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_STXDW pc=1220 dst=r10 src=r1 offset=-56 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1221 dst=r1 src=r0 offset=0 imm=1600548962 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1223 dst=r10 src=r1 offset=-64 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1224 dst=r1 src=r10 offset=0 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1225 dst=r1 src=r0 offset=0 imm=-64 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1226 dst=r2 src=r0 offset=0 imm=32 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=1227 dst=r0 src=r0 offset=0 imm=13 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_IMM pc=1228 dst=r1 src=r0 offset=0 imm=0 -#line 190 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1228 dst=r1 src=r0 offset=0 imm=0 +#line 190 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1229 dst=r10 src=r1 offset=-20 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=1230 dst=r1 src=r0 offset=0 imm=1680154724 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = IMMEDIATE(1680154724); // EBPF_OP_STXW pc=1231 dst=r10 src=r1 offset=-24 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1232 dst=r1 src=r0 offset=0 imm=1952805408 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)7308905094058439200; // EBPF_OP_STXDW pc=1234 dst=r10 src=r1 offset=-32 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1235 dst=r1 src=r0 offset=0 imm=1599426627 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)5211580972890673219; // EBPF_OP_STXDW pc=1237 dst=r10 src=r1 offset=-40 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1238 dst=r1 src=r0 offset=0 imm=1431456800 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)5928232854886698016; // EBPF_OP_STXDW pc=1240 dst=r10 src=r1 offset=-48 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1241 dst=r1 src=r0 offset=0 imm=1919903264 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)8097873591115146784; // EBPF_OP_STXDW pc=1243 dst=r10 src=r1 offset=-56 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1244 dst=r1 src=r0 offset=0 imm=1953719636 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)6148060143590532436; // EBPF_OP_JA pc=1246 dst=r0 src=r0 offset=-1003 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" goto label_19; label_78: // EBPF_OP_STXW pc=1247 dst=r10 src=r7 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1248 dst=r2 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1249 dst=r2 src=r0 offset=0 imm=-4 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1250 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1252 dst=r0 src=r0 offset=0 imm=18 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1253 dst=r6 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1253 dst=r6 src=r0 offset=0 imm=0 +#line 240 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1254 dst=r4 src=r6 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1255 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1256 dst=r1 src=r4 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1257 dst=r1 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1258 dst=r2 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1260 dst=r1 src=r2 offset=27 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r1 == r2) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_81; label_79: // EBPF_OP_MOV64_IMM pc=1261 dst=r1 src=r0 offset=0 imm=100 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1262 dst=r10 src=r1 offset=-16 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1263 dst=r1 src=r0 offset=0 imm=1852994932 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1265 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1266 dst=r1 src=r0 offset=0 imm=622883948 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1268 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1269 dst=r1 src=r0 offset=0 imm=543649385 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1271 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1272 dst=r1 src=r0 offset=0 imm=2019893357 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1274 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1275 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1277 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1278 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1280 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1281 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1282 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1283 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1284 dst=r2 src=r0 offset=0 imm=50 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_80: // EBPF_OP_MOV64_IMM pc=1285 dst=r3 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = IMMEDIATE(-7); // EBPF_OP_CALL pc=1286 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1287 dst=r0 src=r0 offset=26 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_JA pc=1287 dst=r0 src=r0 offset=26 imm=0 +#line 240 "sample/undocked/map.c" goto label_85; label_81: // EBPF_OP_LDXW pc=1288 dst=r3 src=r10 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1289 dst=r3 src=r0 offset=90 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_90; label_82: // EBPF_OP_LDDW pc=1290 dst=r1 src=r0 offset=0 imm=1852404835 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=1292 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1293 dst=r1 src=r0 offset=0 imm=543434016 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=1295 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1296 dst=r1 src=r0 offset=0 imm=1701978221 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=1298 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1299 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1301 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1302 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1304 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=1305 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1306 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_MOV64_REG pc=1307 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1308 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1309 dst=r2 src=r0 offset=0 imm=41 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(41); label_83: // EBPF_OP_MOV64_IMM pc=1310 dst=r4 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_84: // EBPF_OP_CALL pc=1311 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=1312 dst=r6 src=r0 offset=0 imm=-1 -#line 240 "sample/map.c" + // EBPF_OP_LDDW pc=1312 dst=r6 src=r0 offset=0 imm=-1 +#line 240 "sample/undocked/map.c" r6 = (uint64_t)4294967295; label_85: // EBPF_OP_MOV64_REG pc=1314 dst=r3 src=r6 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1315 dst=r3 src=r0 offset=0 imm=32 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1316 dst=r3 src=r0 offset=0 imm=32 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1317 dst=r3 src=r0 offset=1 imm=-1 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" goto label_86; - // EBPF_OP_JA pc=1318 dst=r0 src=r0 offset=42 imm=0 -#line 303 "sample/map.c" + // EBPF_OP_JA pc=1318 dst=r0 src=r0 offset=42 imm=0 +#line 303 "sample/undocked/map.c" goto label_89; label_86: // EBPF_OP_MOV64_IMM pc=1319 dst=r1 src=r0 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1320 dst=r10 src=r1 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1321 dst=r2 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1322 dst=r2 src=r0 offset=0 imm=-4 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1323 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=1325 dst=r0 src=r0 offset=0 imm=18 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1326 dst=r7 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1326 dst=r7 src=r0 offset=0 imm=0 +#line 240 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=1327 dst=r4 src=r7 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=1328 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1329 dst=r1 src=r4 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1330 dst=r1 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1331 dst=r2 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1333 dst=r1 src=r2 offset=865 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r1 == r2) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_137; label_87: // EBPF_OP_MOV64_IMM pc=1334 dst=r1 src=r0 offset=0 imm=100 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1335 dst=r10 src=r1 offset=-16 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1336 dst=r1 src=r0 offset=0 imm=1852994932 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1338 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1339 dst=r1 src=r0 offset=0 imm=622883948 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1341 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1342 dst=r1 src=r0 offset=0 imm=543649385 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1344 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1345 dst=r1 src=r0 offset=0 imm=2019893357 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1347 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1348 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1350 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1351 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1353 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1354 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1355 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1356 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1357 dst=r2 src=r0 offset=0 imm=50 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_88: // EBPF_OP_MOV64_IMM pc=1358 dst=r3 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = IMMEDIATE(-7); // EBPF_OP_CALL pc=1359 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1360 dst=r0 src=r0 offset=864 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_JA pc=1360 dst=r0 src=r0 offset=864 imm=0 +#line 240 "sample/undocked/map.c" goto label_141; label_89: // EBPF_OP_LDDW pc=1361 dst=r1 src=r0 offset=0 imm=1684369010 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1363 dst=r10 src=r1 offset=-32 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1364 dst=r1 src=r0 offset=0 imm=541414725 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)8463501140578096453; // EBPF_OP_STXDW pc=1366 dst=r10 src=r1 offset=-40 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1367 dst=r1 src=r0 offset=0 imm=1634541682 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)6147730633380405362; // EBPF_OP_STXDW pc=1369 dst=r10 src=r1 offset=-48 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1370 dst=r1 src=r0 offset=0 imm=1330667336 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)8027138915134627656; // EBPF_OP_STXDW pc=1372 dst=r10 src=r1 offset=-56 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1373 dst=r1 src=r0 offset=0 imm=1953719636 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)6004793778491319636; // EBPF_OP_STXDW pc=1375 dst=r10 src=r1 offset=-64 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1376 dst=r1 src=r10 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1377 dst=r1 src=r0 offset=0 imm=-64 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1378 dst=r2 src=r0 offset=0 imm=40 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=1379 dst=r0 src=r0 offset=-1279 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" goto label_8; label_90: // EBPF_OP_MOV64_IMM pc=1380 dst=r7 src=r0 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1381 dst=r10 src=r7 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1382 dst=r2 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1383 dst=r2 src=r0 offset=0 imm=-4 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1384 dst=r1 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1386 dst=r0 src=r0 offset=0 imm=17 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1387 dst=r6 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1387 dst=r6 src=r0 offset=0 imm=0 +#line 241 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1388 dst=r4 src=r6 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1389 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1390 dst=r1 src=r4 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1391 dst=r1 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1392 dst=r2 src=r0 offset=0 imm=-7 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1394 dst=r1 src=r2 offset=24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r1 == r2) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_92; label_91: // EBPF_OP_STXB pc=1395 dst=r10 src=r7 offset=-16 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r7; // EBPF_OP_LDDW pc=1396 dst=r1 src=r0 offset=0 imm=1701737077 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=1398 dst=r10 src=r1 offset=-24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1399 dst=r1 src=r0 offset=0 imm=1680154740 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=1401 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1402 dst=r1 src=r0 offset=0 imm=1914726254 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=1404 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1405 dst=r1 src=r0 offset=0 imm=1886938400 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=1407 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1408 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1410 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1411 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1413 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1414 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1415 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1416 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1417 dst=r2 src=r0 offset=0 imm=49 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=1418 dst=r0 src=r0 offset=-134 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_80; label_92: // EBPF_OP_LDXW pc=1419 dst=r3 src=r10 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1420 dst=r3 src=r0 offset=19 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_94; label_93: // EBPF_OP_LDDW pc=1421 dst=r1 src=r0 offset=0 imm=1735289204 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1423 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1424 dst=r1 src=r0 offset=0 imm=1696621605 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1426 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1427 dst=r1 src=r0 offset=0 imm=1952805408 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1429 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1430 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1432 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1433 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1435 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1436 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1437 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1438 dst=r2 src=r0 offset=0 imm=40 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=1439 dst=r0 src=r0 offset=-130 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_83; label_94: // EBPF_OP_MOV64_IMM pc=1440 dst=r7 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1441 dst=r10 src=r7 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1442 dst=r2 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1443 dst=r2 src=r0 offset=0 imm=-4 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1444 dst=r1 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1446 dst=r3 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1447 dst=r0 src=r0 offset=0 imm=16 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1448 dst=r6 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1448 dst=r6 src=r0 offset=0 imm=0 +#line 249 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1449 dst=r5 src=r6 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1450 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1451 dst=r1 src=r5 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1452 dst=r1 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1453 dst=r1 src=r0 offset=31 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" goto label_98; label_95: // EBPF_OP_MOV64_IMM pc=1454 dst=r1 src=r0 offset=0 imm=25637 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1455 dst=r10 src=r1 offset=-12 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1456 dst=r1 src=r0 offset=0 imm=543450478 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1457 dst=r10 src=r1 offset=-16 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1458 dst=r1 src=r0 offset=0 imm=1914725413 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1460 dst=r10 src=r1 offset=-24 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1461 dst=r1 src=r0 offset=0 imm=1667592312 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1463 dst=r10 src=r1 offset=-32 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1464 dst=r1 src=r0 offset=0 imm=543649385 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1466 dst=r10 src=r1 offset=-40 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1467 dst=r1 src=r0 offset=0 imm=1852383341 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1469 dst=r10 src=r1 offset=-48 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1470 dst=r1 src=r0 offset=0 imm=1752397168 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1472 dst=r10 src=r1 offset=-56 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1473 dst=r1 src=r0 offset=0 imm=1600548962 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1475 dst=r10 src=r1 offset=-64 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=1476 dst=r10 src=r7 offset=-10 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r7; label_96: // EBPF_OP_LDXW pc=1477 dst=r3 src=r10 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=1478 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1479 dst=r1 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1480 dst=r1 src=r0 offset=0 imm=-64 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1481 dst=r2 src=r0 offset=0 imm=55 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=1482 dst=r4 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_97: // EBPF_OP_CALL pc=1483 dst=r0 src=r0 offset=0 imm=15 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[10].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[10].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1484 dst=r0 src=r0 offset=-171 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_JA pc=1484 dst=r0 src=r0 offset=-171 imm=0 +#line 249 "sample/undocked/map.c" goto label_85; label_98: // EBPF_OP_MOV64_IMM pc=1485 dst=r1 src=r0 offset=0 imm=1 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=1486 dst=r10 src=r1 offset=-4 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1487 dst=r2 src=r10 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1488 dst=r2 src=r0 offset=0 imm=-4 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1489 dst=r7 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1490 dst=r1 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1492 dst=r3 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1493 dst=r0 src=r0 offset=0 imm=16 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1494 dst=r6 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1494 dst=r6 src=r0 offset=0 imm=0 +#line 250 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1495 dst=r5 src=r6 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1496 dst=r5 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1497 dst=r1 src=r5 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1498 dst=r1 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1499 dst=r1 src=r0 offset=1 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" goto label_99; - // EBPF_OP_JA pc=1500 dst=r0 src=r0 offset=-47 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_JA pc=1500 dst=r0 src=r0 offset=-47 imm=0 +#line 250 "sample/undocked/map.c" goto label_95; label_99: // EBPF_OP_MOV64_IMM pc=1501 dst=r1 src=r0 offset=0 imm=2 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=1502 dst=r10 src=r1 offset=-4 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1503 dst=r2 src=r10 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1504 dst=r2 src=r0 offset=0 imm=-4 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1505 dst=r7 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1506 dst=r1 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1508 dst=r3 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1509 dst=r0 src=r0 offset=0 imm=16 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1510 dst=r6 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1510 dst=r6 src=r0 offset=0 imm=0 +#line 251 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1511 dst=r5 src=r6 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1512 dst=r5 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1513 dst=r1 src=r5 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1514 dst=r1 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1515 dst=r1 src=r0 offset=1 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" goto label_100; - // EBPF_OP_JA pc=1516 dst=r0 src=r0 offset=-63 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_JA pc=1516 dst=r0 src=r0 offset=-63 imm=0 +#line 251 "sample/undocked/map.c" goto label_95; label_100: // EBPF_OP_MOV64_IMM pc=1517 dst=r1 src=r0 offset=0 imm=3 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=1518 dst=r10 src=r1 offset=-4 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1519 dst=r2 src=r10 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1520 dst=r2 src=r0 offset=0 imm=-4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1521 dst=r7 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1522 dst=r1 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1524 dst=r3 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1525 dst=r0 src=r0 offset=0 imm=16 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1526 dst=r6 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1526 dst=r6 src=r0 offset=0 imm=0 +#line 252 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1527 dst=r5 src=r6 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1528 dst=r5 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1529 dst=r1 src=r5 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1530 dst=r1 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1531 dst=r1 src=r0 offset=1 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" goto label_101; - // EBPF_OP_JA pc=1532 dst=r0 src=r0 offset=-79 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_JA pc=1532 dst=r0 src=r0 offset=-79 imm=0 +#line 252 "sample/undocked/map.c" goto label_95; label_101: // EBPF_OP_MOV64_IMM pc=1533 dst=r1 src=r0 offset=0 imm=4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=1534 dst=r10 src=r1 offset=-4 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1535 dst=r2 src=r10 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1536 dst=r2 src=r0 offset=0 imm=-4 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1537 dst=r7 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1538 dst=r1 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1540 dst=r3 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1541 dst=r0 src=r0 offset=0 imm=16 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1542 dst=r6 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1542 dst=r6 src=r0 offset=0 imm=0 +#line 253 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1543 dst=r5 src=r6 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1544 dst=r5 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1545 dst=r1 src=r5 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1546 dst=r1 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1547 dst=r1 src=r0 offset=1 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" goto label_102; - // EBPF_OP_JA pc=1548 dst=r0 src=r0 offset=-95 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_JA pc=1548 dst=r0 src=r0 offset=-95 imm=0 +#line 253 "sample/undocked/map.c" goto label_95; label_102: // EBPF_OP_MOV64_IMM pc=1549 dst=r1 src=r0 offset=0 imm=5 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=1550 dst=r10 src=r1 offset=-4 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1551 dst=r2 src=r10 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1552 dst=r2 src=r0 offset=0 imm=-4 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1553 dst=r7 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1554 dst=r1 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1556 dst=r3 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1557 dst=r0 src=r0 offset=0 imm=16 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1558 dst=r6 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1558 dst=r6 src=r0 offset=0 imm=0 +#line 254 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1559 dst=r5 src=r6 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1560 dst=r5 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1561 dst=r1 src=r5 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1562 dst=r1 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1563 dst=r1 src=r0 offset=1 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" goto label_103; - // EBPF_OP_JA pc=1564 dst=r0 src=r0 offset=-111 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_JA pc=1564 dst=r0 src=r0 offset=-111 imm=0 +#line 254 "sample/undocked/map.c" goto label_95; label_103: // EBPF_OP_MOV64_IMM pc=1565 dst=r1 src=r0 offset=0 imm=6 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=1566 dst=r10 src=r1 offset=-4 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1567 dst=r2 src=r10 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1568 dst=r2 src=r0 offset=0 imm=-4 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1569 dst=r7 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1570 dst=r1 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1572 dst=r3 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1573 dst=r0 src=r0 offset=0 imm=16 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1574 dst=r6 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1574 dst=r6 src=r0 offset=0 imm=0 +#line 255 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1575 dst=r5 src=r6 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1576 dst=r5 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1577 dst=r1 src=r5 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1578 dst=r1 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1579 dst=r1 src=r0 offset=1 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" goto label_104; - // EBPF_OP_JA pc=1580 dst=r0 src=r0 offset=-127 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_JA pc=1580 dst=r0 src=r0 offset=-127 imm=0 +#line 255 "sample/undocked/map.c" goto label_95; label_104: // EBPF_OP_MOV64_IMM pc=1581 dst=r1 src=r0 offset=0 imm=7 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=1582 dst=r10 src=r1 offset=-4 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1583 dst=r2 src=r10 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1584 dst=r2 src=r0 offset=0 imm=-4 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1585 dst=r7 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1586 dst=r1 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1588 dst=r3 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1589 dst=r0 src=r0 offset=0 imm=16 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1590 dst=r6 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1590 dst=r6 src=r0 offset=0 imm=0 +#line 256 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1591 dst=r5 src=r6 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1592 dst=r5 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1593 dst=r1 src=r5 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1594 dst=r1 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1595 dst=r1 src=r0 offset=1 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" goto label_105; - // EBPF_OP_JA pc=1596 dst=r0 src=r0 offset=-143 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_JA pc=1596 dst=r0 src=r0 offset=-143 imm=0 +#line 256 "sample/undocked/map.c" goto label_95; label_105: // EBPF_OP_MOV64_IMM pc=1597 dst=r1 src=r0 offset=0 imm=8 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=1598 dst=r10 src=r1 offset=-4 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1599 dst=r2 src=r10 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1600 dst=r2 src=r0 offset=0 imm=-4 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1601 dst=r7 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1602 dst=r1 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1604 dst=r3 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1605 dst=r0 src=r0 offset=0 imm=16 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1606 dst=r6 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1606 dst=r6 src=r0 offset=0 imm=0 +#line 257 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1607 dst=r5 src=r6 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1608 dst=r5 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1609 dst=r1 src=r5 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1610 dst=r1 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1611 dst=r1 src=r0 offset=1 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" goto label_106; - // EBPF_OP_JA pc=1612 dst=r0 src=r0 offset=-159 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_JA pc=1612 dst=r0 src=r0 offset=-159 imm=0 +#line 257 "sample/undocked/map.c" goto label_95; label_106: // EBPF_OP_MOV64_IMM pc=1613 dst=r1 src=r0 offset=0 imm=9 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=1614 dst=r10 src=r1 offset=-4 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1615 dst=r2 src=r10 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1616 dst=r2 src=r0 offset=0 imm=-4 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1617 dst=r7 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1618 dst=r1 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1620 dst=r3 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1621 dst=r0 src=r0 offset=0 imm=16 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1622 dst=r6 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1622 dst=r6 src=r0 offset=0 imm=0 +#line 258 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1623 dst=r5 src=r6 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1624 dst=r5 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1625 dst=r1 src=r5 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1626 dst=r1 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1627 dst=r1 src=r0 offset=1 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" goto label_107; - // EBPF_OP_JA pc=1628 dst=r0 src=r0 offset=-175 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_JA pc=1628 dst=r0 src=r0 offset=-175 imm=0 +#line 258 "sample/undocked/map.c" goto label_95; label_107: // EBPF_OP_MOV64_IMM pc=1629 dst=r7 src=r0 offset=0 imm=10 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r7 = IMMEDIATE(10); // EBPF_OP_STXW pc=1630 dst=r10 src=r7 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1631 dst=r2 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1632 dst=r2 src=r0 offset=0 imm=-4 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1633 dst=r8 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r8 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1634 dst=r1 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1636 dst=r3 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1637 dst=r0 src=r0 offset=0 imm=16 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1638 dst=r6 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1638 dst=r6 src=r0 offset=0 imm=0 +#line 261 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1639 dst=r5 src=r6 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1640 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1641 dst=r1 src=r5 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1642 dst=r1 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1643 dst=r2 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = (uint64_t)4294967267; // EBPF_OP_JEQ_REG pc=1645 dst=r1 src=r2 offset=30 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if (r1 == r2) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_108; - // EBPF_OP_STXB pc=1646 dst=r10 src=r8 offset=-10 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_STXB pc=1646 dst=r10 src=r8 offset=-10 imm=0 +#line 261 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r8; // EBPF_OP_MOV64_IMM pc=1647 dst=r1 src=r0 offset=0 imm=25637 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1648 dst=r10 src=r1 offset=-12 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1649 dst=r1 src=r0 offset=0 imm=543450478 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1650 dst=r10 src=r1 offset=-16 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1651 dst=r1 src=r0 offset=0 imm=1914725413 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1653 dst=r10 src=r1 offset=-24 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1654 dst=r1 src=r0 offset=0 imm=1667592312 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1656 dst=r10 src=r1 offset=-32 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1657 dst=r1 src=r0 offset=0 imm=543649385 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1659 dst=r10 src=r1 offset=-40 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1660 dst=r1 src=r0 offset=0 imm=1852383341 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1662 dst=r10 src=r1 offset=-48 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1663 dst=r1 src=r0 offset=0 imm=1752397168 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1665 dst=r10 src=r1 offset=-56 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1666 dst=r1 src=r0 offset=0 imm=1600548962 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1668 dst=r10 src=r1 offset=-64 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_LDXW pc=1669 dst=r3 src=r10 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=1670 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1671 dst=r1 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1672 dst=r1 src=r0 offset=0 imm=-64 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1673 dst=r2 src=r0 offset=0 imm=55 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=1674 dst=r4 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r4 = IMMEDIATE(-29); // EBPF_OP_JA pc=1675 dst=r0 src=r0 offset=-193 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_97; label_108: // EBPF_OP_STXW pc=1676 dst=r10 src=r7 offset=-4 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1677 dst=r2 src=r10 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1678 dst=r2 src=r0 offset=0 imm=-4 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1679 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1681 dst=r3 src=r0 offset=0 imm=2 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=1682 dst=r0 src=r0 offset=0 imm=16 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1683 dst=r6 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1683 dst=r6 src=r0 offset=0 imm=0 +#line 262 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1684 dst=r5 src=r6 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1685 dst=r5 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1686 dst=r1 src=r5 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1687 dst=r1 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1688 dst=r1 src=r0 offset=25 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_109; - // EBPF_OP_MOV64_IMM pc=1689 dst=r1 src=r0 offset=0 imm=25637 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1689 dst=r1 src=r0 offset=0 imm=25637 +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1690 dst=r10 src=r1 offset=-12 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1691 dst=r1 src=r0 offset=0 imm=543450478 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1692 dst=r10 src=r1 offset=-16 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1693 dst=r1 src=r0 offset=0 imm=1914725413 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1695 dst=r10 src=r1 offset=-24 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1696 dst=r1 src=r0 offset=0 imm=1667592312 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1698 dst=r10 src=r1 offset=-32 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1699 dst=r1 src=r0 offset=0 imm=543649385 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1701 dst=r10 src=r1 offset=-40 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1702 dst=r1 src=r0 offset=0 imm=1852383341 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1704 dst=r10 src=r1 offset=-48 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1705 dst=r1 src=r0 offset=0 imm=1752397168 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1707 dst=r10 src=r1 offset=-56 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1708 dst=r1 src=r0 offset=0 imm=1600548962 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1710 dst=r10 src=r1 offset=-64 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=1711 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1712 dst=r10 src=r1 offset=-10 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r1; // EBPF_OP_JA pc=1713 dst=r0 src=r0 offset=-237 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_96; label_109: // EBPF_OP_MOV64_IMM pc=1714 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1715 dst=r10 src=r1 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1716 dst=r2 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1717 dst=r2 src=r0 offset=0 imm=-4 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1718 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1720 dst=r0 src=r0 offset=0 imm=18 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1721 dst=r6 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1721 dst=r6 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1722 dst=r4 src=r6 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1723 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1724 dst=r1 src=r4 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1725 dst=r1 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1726 dst=r1 src=r0 offset=27 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_111; - // EBPF_OP_MOV64_IMM pc=1727 dst=r1 src=r0 offset=0 imm=100 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1727 dst=r1 src=r0 offset=0 imm=100 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1728 dst=r10 src=r1 offset=-16 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1729 dst=r1 src=r0 offset=0 imm=1852994932 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1731 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1732 dst=r1 src=r0 offset=0 imm=622883948 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1734 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1735 dst=r1 src=r0 offset=0 imm=543649385 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1737 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1738 dst=r1 src=r0 offset=0 imm=2019893357 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1740 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1741 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1743 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1744 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1746 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1747 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1748 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1749 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1750 dst=r2 src=r0 offset=0 imm=50 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_110: // EBPF_OP_MOV64_IMM pc=1751 dst=r3 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1752 dst=r0 src=r0 offset=0 imm=14 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1753 dst=r0 src=r0 offset=-440 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_JA pc=1753 dst=r0 src=r0 offset=-440 imm=0 +#line 264 "sample/undocked/map.c" goto label_85; label_111: // EBPF_OP_LDXW pc=1754 dst=r3 src=r10 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1755 dst=r3 src=r0 offset=22 imm=1 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_112; - // EBPF_OP_MOV64_IMM pc=1756 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1756 dst=r1 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1757 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_LDDW pc=1758 dst=r1 src=r0 offset=0 imm=1852404835 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=1760 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1761 dst=r1 src=r0 offset=0 imm=543434016 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=1763 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1764 dst=r1 src=r0 offset=0 imm=1701978221 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=1766 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1767 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1769 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1770 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1772 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1773 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1774 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1775 dst=r2 src=r0 offset=0 imm=41 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(41); // EBPF_OP_MOV64_IMM pc=1776 dst=r4 src=r0 offset=0 imm=1 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=1777 dst=r0 src=r0 offset=-467 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_84; label_112: // EBPF_OP_MOV64_IMM pc=1778 dst=r7 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1779 dst=r10 src=r7 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1780 dst=r2 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1781 dst=r2 src=r0 offset=0 imm=-4 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1782 dst=r1 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1784 dst=r0 src=r0 offset=0 imm=17 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1785 dst=r6 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1785 dst=r6 src=r0 offset=0 imm=0 +#line 272 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1786 dst=r4 src=r6 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1787 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1788 dst=r1 src=r4 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1789 dst=r1 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1790 dst=r1 src=r0 offset=24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_114; label_113: // EBPF_OP_LDDW pc=1791 dst=r1 src=r0 offset=0 imm=1701737077 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=1793 dst=r10 src=r1 offset=-24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1794 dst=r1 src=r0 offset=0 imm=1680154740 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=1796 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1797 dst=r1 src=r0 offset=0 imm=1914726254 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=1799 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1800 dst=r1 src=r0 offset=0 imm=1886938400 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=1802 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1803 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1805 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1806 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1808 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=1809 dst=r10 src=r7 offset=-16 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r7; // EBPF_OP_ARSH64_IMM pc=1810 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1811 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1812 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1813 dst=r2 src=r0 offset=0 imm=49 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=1814 dst=r0 src=r0 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_110; label_114: // EBPF_OP_LDXW pc=1815 dst=r3 src=r10 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1816 dst=r3 src=r0 offset=20 imm=1 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_115; - // EBPF_OP_LDDW pc=1817 dst=r1 src=r0 offset=0 imm=1735289204 -#line 272 "sample/map.c" + // EBPF_OP_LDDW pc=1817 dst=r1 src=r0 offset=0 imm=1735289204 +#line 272 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1819 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1820 dst=r1 src=r0 offset=0 imm=1696621605 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1822 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1823 dst=r1 src=r0 offset=0 imm=1952805408 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1825 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1826 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1828 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1829 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1831 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1832 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1833 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1834 dst=r2 src=r0 offset=0 imm=40 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1835 dst=r4 src=r0 offset=0 imm=1 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=1836 dst=r0 src=r0 offset=-526 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_84; label_115: // EBPF_OP_MOV64_IMM pc=1837 dst=r7 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1838 dst=r10 src=r7 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1839 dst=r2 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1840 dst=r2 src=r0 offset=0 imm=-4 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1841 dst=r1 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1843 dst=r0 src=r0 offset=0 imm=17 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1844 dst=r6 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1844 dst=r6 src=r0 offset=0 imm=0 +#line 273 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1845 dst=r4 src=r6 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1846 dst=r4 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1847 dst=r1 src=r4 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1848 dst=r1 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1849 dst=r1 src=r0 offset=1 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_116; - // EBPF_OP_JA pc=1850 dst=r0 src=r0 offset=-60 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_JA pc=1850 dst=r0 src=r0 offset=-60 imm=0 +#line 273 "sample/undocked/map.c" goto label_113; label_116: // EBPF_OP_LDXW pc=1851 dst=r3 src=r10 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1852 dst=r3 src=r0 offset=20 imm=2 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r3 == IMMEDIATE(2)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_117; - // EBPF_OP_LDDW pc=1853 dst=r1 src=r0 offset=0 imm=1735289204 -#line 273 "sample/map.c" + // EBPF_OP_LDDW pc=1853 dst=r1 src=r0 offset=0 imm=1735289204 +#line 273 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1855 dst=r10 src=r1 offset=-32 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1856 dst=r1 src=r0 offset=0 imm=1696621605 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1858 dst=r10 src=r1 offset=-40 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1859 dst=r1 src=r0 offset=0 imm=1952805408 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1861 dst=r10 src=r1 offset=-48 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1862 dst=r1 src=r0 offset=0 imm=1601204080 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1864 dst=r10 src=r1 offset=-56 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1865 dst=r1 src=r0 offset=0 imm=1600548962 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1867 dst=r10 src=r1 offset=-64 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1868 dst=r1 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1869 dst=r1 src=r0 offset=0 imm=-64 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1870 dst=r2 src=r0 offset=0 imm=40 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1871 dst=r4 src=r0 offset=0 imm=2 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = IMMEDIATE(2); // EBPF_OP_JA pc=1872 dst=r0 src=r0 offset=-562 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_84; label_117: // EBPF_OP_MOV64_IMM pc=1873 dst=r7 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1874 dst=r10 src=r7 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1875 dst=r2 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1876 dst=r2 src=r0 offset=0 imm=-4 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1877 dst=r1 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1879 dst=r0 src=r0 offset=0 imm=17 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1880 dst=r6 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1880 dst=r6 src=r0 offset=0 imm=0 +#line 274 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1881 dst=r4 src=r6 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1882 dst=r4 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1883 dst=r1 src=r4 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1884 dst=r1 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1885 dst=r1 src=r0 offset=1 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_118; - // EBPF_OP_JA pc=1886 dst=r0 src=r0 offset=-96 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_JA pc=1886 dst=r0 src=r0 offset=-96 imm=0 +#line 274 "sample/undocked/map.c" goto label_113; label_118: // EBPF_OP_LDXW pc=1887 dst=r3 src=r10 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1888 dst=r3 src=r0 offset=20 imm=3 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r3 == IMMEDIATE(3)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_119; - // EBPF_OP_LDDW pc=1889 dst=r1 src=r0 offset=0 imm=1735289204 -#line 274 "sample/map.c" + // EBPF_OP_LDDW pc=1889 dst=r1 src=r0 offset=0 imm=1735289204 +#line 274 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1891 dst=r10 src=r1 offset=-32 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1892 dst=r1 src=r0 offset=0 imm=1696621605 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1894 dst=r10 src=r1 offset=-40 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1895 dst=r1 src=r0 offset=0 imm=1952805408 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1897 dst=r10 src=r1 offset=-48 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1898 dst=r1 src=r0 offset=0 imm=1601204080 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1900 dst=r10 src=r1 offset=-56 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1901 dst=r1 src=r0 offset=0 imm=1600548962 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1903 dst=r10 src=r1 offset=-64 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1904 dst=r1 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1905 dst=r1 src=r0 offset=0 imm=-64 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1906 dst=r2 src=r0 offset=0 imm=40 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1907 dst=r4 src=r0 offset=0 imm=3 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = IMMEDIATE(3); // EBPF_OP_JA pc=1908 dst=r0 src=r0 offset=-598 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_84; label_119: // EBPF_OP_MOV64_IMM pc=1909 dst=r7 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1910 dst=r10 src=r7 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1911 dst=r2 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1912 dst=r2 src=r0 offset=0 imm=-4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1913 dst=r1 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1915 dst=r0 src=r0 offset=0 imm=17 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1916 dst=r6 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1916 dst=r6 src=r0 offset=0 imm=0 +#line 275 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1917 dst=r4 src=r6 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1918 dst=r4 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1919 dst=r1 src=r4 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1920 dst=r1 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1921 dst=r1 src=r0 offset=1 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_120; - // EBPF_OP_JA pc=1922 dst=r0 src=r0 offset=-132 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_JA pc=1922 dst=r0 src=r0 offset=-132 imm=0 +#line 275 "sample/undocked/map.c" goto label_113; label_120: // EBPF_OP_LDXW pc=1923 dst=r3 src=r10 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1924 dst=r3 src=r0 offset=20 imm=4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r3 == IMMEDIATE(4)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_121; - // EBPF_OP_LDDW pc=1925 dst=r1 src=r0 offset=0 imm=1735289204 -#line 275 "sample/map.c" + // EBPF_OP_LDDW pc=1925 dst=r1 src=r0 offset=0 imm=1735289204 +#line 275 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1927 dst=r10 src=r1 offset=-32 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1928 dst=r1 src=r0 offset=0 imm=1696621605 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1930 dst=r10 src=r1 offset=-40 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1931 dst=r1 src=r0 offset=0 imm=1952805408 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1933 dst=r10 src=r1 offset=-48 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1934 dst=r1 src=r0 offset=0 imm=1601204080 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1936 dst=r10 src=r1 offset=-56 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1937 dst=r1 src=r0 offset=0 imm=1600548962 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1939 dst=r10 src=r1 offset=-64 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1940 dst=r1 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1941 dst=r1 src=r0 offset=0 imm=-64 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1942 dst=r2 src=r0 offset=0 imm=40 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1943 dst=r4 src=r0 offset=0 imm=4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = IMMEDIATE(4); // EBPF_OP_JA pc=1944 dst=r0 src=r0 offset=-634 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_84; label_121: // EBPF_OP_MOV64_IMM pc=1945 dst=r7 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1946 dst=r10 src=r7 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1947 dst=r2 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1948 dst=r2 src=r0 offset=0 imm=-4 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1949 dst=r1 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1951 dst=r0 src=r0 offset=0 imm=17 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1952 dst=r6 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1952 dst=r6 src=r0 offset=0 imm=0 +#line 276 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1953 dst=r4 src=r6 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1954 dst=r4 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1955 dst=r1 src=r4 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1956 dst=r1 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1957 dst=r1 src=r0 offset=1 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_122; - // EBPF_OP_JA pc=1958 dst=r0 src=r0 offset=-168 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_JA pc=1958 dst=r0 src=r0 offset=-168 imm=0 +#line 276 "sample/undocked/map.c" goto label_113; label_122: // EBPF_OP_LDXW pc=1959 dst=r3 src=r10 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1960 dst=r3 src=r0 offset=20 imm=5 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r3 == IMMEDIATE(5)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_123; - // EBPF_OP_LDDW pc=1961 dst=r1 src=r0 offset=0 imm=1735289204 -#line 276 "sample/map.c" + // EBPF_OP_LDDW pc=1961 dst=r1 src=r0 offset=0 imm=1735289204 +#line 276 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1963 dst=r10 src=r1 offset=-32 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1964 dst=r1 src=r0 offset=0 imm=1696621605 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1966 dst=r10 src=r1 offset=-40 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1967 dst=r1 src=r0 offset=0 imm=1952805408 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1969 dst=r10 src=r1 offset=-48 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1970 dst=r1 src=r0 offset=0 imm=1601204080 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1972 dst=r10 src=r1 offset=-56 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1973 dst=r1 src=r0 offset=0 imm=1600548962 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1975 dst=r10 src=r1 offset=-64 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1976 dst=r1 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1977 dst=r1 src=r0 offset=0 imm=-64 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1978 dst=r2 src=r0 offset=0 imm=40 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1979 dst=r4 src=r0 offset=0 imm=5 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = IMMEDIATE(5); // EBPF_OP_JA pc=1980 dst=r0 src=r0 offset=-670 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_84; label_123: // EBPF_OP_MOV64_IMM pc=1981 dst=r7 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1982 dst=r10 src=r7 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1983 dst=r2 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1984 dst=r2 src=r0 offset=0 imm=-4 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1985 dst=r1 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1987 dst=r0 src=r0 offset=0 imm=17 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1988 dst=r6 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1988 dst=r6 src=r0 offset=0 imm=0 +#line 277 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1989 dst=r4 src=r6 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1990 dst=r4 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1991 dst=r1 src=r4 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1992 dst=r1 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1993 dst=r1 src=r0 offset=1 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_124; - // EBPF_OP_JA pc=1994 dst=r0 src=r0 offset=-204 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_JA pc=1994 dst=r0 src=r0 offset=-204 imm=0 +#line 277 "sample/undocked/map.c" goto label_113; label_124: // EBPF_OP_LDXW pc=1995 dst=r3 src=r10 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1996 dst=r3 src=r0 offset=20 imm=6 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r3 == IMMEDIATE(6)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_125; - // EBPF_OP_LDDW pc=1997 dst=r1 src=r0 offset=0 imm=1735289204 -#line 277 "sample/map.c" + // EBPF_OP_LDDW pc=1997 dst=r1 src=r0 offset=0 imm=1735289204 +#line 277 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1999 dst=r10 src=r1 offset=-32 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2000 dst=r1 src=r0 offset=0 imm=1696621605 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2002 dst=r10 src=r1 offset=-40 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2003 dst=r1 src=r0 offset=0 imm=1952805408 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2005 dst=r10 src=r1 offset=-48 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2006 dst=r1 src=r0 offset=0 imm=1601204080 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2008 dst=r10 src=r1 offset=-56 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2009 dst=r1 src=r0 offset=0 imm=1600548962 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2011 dst=r10 src=r1 offset=-64 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2012 dst=r1 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2013 dst=r1 src=r0 offset=0 imm=-64 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2014 dst=r2 src=r0 offset=0 imm=40 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2015 dst=r4 src=r0 offset=0 imm=6 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = IMMEDIATE(6); // EBPF_OP_JA pc=2016 dst=r0 src=r0 offset=-706 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_84; label_125: // EBPF_OP_MOV64_IMM pc=2017 dst=r7 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2018 dst=r10 src=r7 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2019 dst=r2 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2020 dst=r2 src=r0 offset=0 imm=-4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2021 dst=r1 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2023 dst=r0 src=r0 offset=0 imm=17 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2024 dst=r6 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2024 dst=r6 src=r0 offset=0 imm=0 +#line 278 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2025 dst=r4 src=r6 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2026 dst=r4 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2027 dst=r1 src=r4 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2028 dst=r1 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2029 dst=r1 src=r0 offset=1 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_126; - // EBPF_OP_JA pc=2030 dst=r0 src=r0 offset=-240 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_JA pc=2030 dst=r0 src=r0 offset=-240 imm=0 +#line 278 "sample/undocked/map.c" goto label_113; label_126: // EBPF_OP_LDXW pc=2031 dst=r3 src=r10 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2032 dst=r3 src=r0 offset=20 imm=7 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r3 == IMMEDIATE(7)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_127; - // EBPF_OP_LDDW pc=2033 dst=r1 src=r0 offset=0 imm=1735289204 -#line 278 "sample/map.c" + // EBPF_OP_LDDW pc=2033 dst=r1 src=r0 offset=0 imm=1735289204 +#line 278 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2035 dst=r10 src=r1 offset=-32 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2036 dst=r1 src=r0 offset=0 imm=1696621605 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2038 dst=r10 src=r1 offset=-40 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2039 dst=r1 src=r0 offset=0 imm=1952805408 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2041 dst=r10 src=r1 offset=-48 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2042 dst=r1 src=r0 offset=0 imm=1601204080 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2044 dst=r10 src=r1 offset=-56 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2045 dst=r1 src=r0 offset=0 imm=1600548962 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2047 dst=r10 src=r1 offset=-64 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2048 dst=r1 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2049 dst=r1 src=r0 offset=0 imm=-64 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2050 dst=r2 src=r0 offset=0 imm=40 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2051 dst=r4 src=r0 offset=0 imm=7 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = IMMEDIATE(7); // EBPF_OP_JA pc=2052 dst=r0 src=r0 offset=-742 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_84; label_127: // EBPF_OP_MOV64_IMM pc=2053 dst=r7 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2054 dst=r10 src=r7 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2055 dst=r2 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2056 dst=r2 src=r0 offset=0 imm=-4 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2057 dst=r1 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2059 dst=r0 src=r0 offset=0 imm=17 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2060 dst=r6 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2060 dst=r6 src=r0 offset=0 imm=0 +#line 279 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2061 dst=r4 src=r6 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2062 dst=r4 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2063 dst=r1 src=r4 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2064 dst=r1 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2065 dst=r1 src=r0 offset=1 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_128; - // EBPF_OP_JA pc=2066 dst=r0 src=r0 offset=-276 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_JA pc=2066 dst=r0 src=r0 offset=-276 imm=0 +#line 279 "sample/undocked/map.c" goto label_113; label_128: // EBPF_OP_LDXW pc=2067 dst=r3 src=r10 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2068 dst=r3 src=r0 offset=20 imm=8 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r3 == IMMEDIATE(8)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_129; - // EBPF_OP_LDDW pc=2069 dst=r1 src=r0 offset=0 imm=1735289204 -#line 279 "sample/map.c" + // EBPF_OP_LDDW pc=2069 dst=r1 src=r0 offset=0 imm=1735289204 +#line 279 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2071 dst=r10 src=r1 offset=-32 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2072 dst=r1 src=r0 offset=0 imm=1696621605 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2074 dst=r10 src=r1 offset=-40 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2075 dst=r1 src=r0 offset=0 imm=1952805408 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2077 dst=r10 src=r1 offset=-48 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2078 dst=r1 src=r0 offset=0 imm=1601204080 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2080 dst=r10 src=r1 offset=-56 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2081 dst=r1 src=r0 offset=0 imm=1600548962 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2083 dst=r10 src=r1 offset=-64 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2084 dst=r1 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2085 dst=r1 src=r0 offset=0 imm=-64 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2086 dst=r2 src=r0 offset=0 imm=40 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2087 dst=r4 src=r0 offset=0 imm=8 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = IMMEDIATE(8); // EBPF_OP_JA pc=2088 dst=r0 src=r0 offset=-778 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_84; label_129: // EBPF_OP_MOV64_IMM pc=2089 dst=r7 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2090 dst=r10 src=r7 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2091 dst=r2 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2092 dst=r2 src=r0 offset=0 imm=-4 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2093 dst=r1 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2095 dst=r0 src=r0 offset=0 imm=17 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2096 dst=r6 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2096 dst=r6 src=r0 offset=0 imm=0 +#line 280 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2097 dst=r4 src=r6 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2098 dst=r4 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2099 dst=r1 src=r4 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2100 dst=r1 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2101 dst=r1 src=r0 offset=1 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_130; - // EBPF_OP_JA pc=2102 dst=r0 src=r0 offset=-312 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_JA pc=2102 dst=r0 src=r0 offset=-312 imm=0 +#line 280 "sample/undocked/map.c" goto label_113; label_130: // EBPF_OP_LDXW pc=2103 dst=r3 src=r10 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2104 dst=r3 src=r0 offset=20 imm=9 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r3 == IMMEDIATE(9)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_131; - // EBPF_OP_LDDW pc=2105 dst=r1 src=r0 offset=0 imm=1735289204 -#line 280 "sample/map.c" + // EBPF_OP_LDDW pc=2105 dst=r1 src=r0 offset=0 imm=1735289204 +#line 280 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2107 dst=r10 src=r1 offset=-32 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2108 dst=r1 src=r0 offset=0 imm=1696621605 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2110 dst=r10 src=r1 offset=-40 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2111 dst=r1 src=r0 offset=0 imm=1952805408 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2113 dst=r10 src=r1 offset=-48 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2114 dst=r1 src=r0 offset=0 imm=1601204080 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2116 dst=r10 src=r1 offset=-56 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2117 dst=r1 src=r0 offset=0 imm=1600548962 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2119 dst=r10 src=r1 offset=-64 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2120 dst=r1 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2121 dst=r1 src=r0 offset=0 imm=-64 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2122 dst=r2 src=r0 offset=0 imm=40 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2123 dst=r4 src=r0 offset=0 imm=9 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = IMMEDIATE(9); // EBPF_OP_JA pc=2124 dst=r0 src=r0 offset=-814 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_84; label_131: // EBPF_OP_MOV64_IMM pc=2125 dst=r7 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2126 dst=r10 src=r7 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2127 dst=r2 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2128 dst=r2 src=r0 offset=0 imm=-4 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2129 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2131 dst=r0 src=r0 offset=0 imm=17 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2132 dst=r6 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2132 dst=r6 src=r0 offset=0 imm=0 +#line 281 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2133 dst=r4 src=r6 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2134 dst=r4 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2135 dst=r1 src=r4 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2136 dst=r1 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2137 dst=r1 src=r0 offset=1 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_132; - // EBPF_OP_JA pc=2138 dst=r0 src=r0 offset=-348 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_JA pc=2138 dst=r0 src=r0 offset=-348 imm=0 +#line 281 "sample/undocked/map.c" goto label_113; label_132: // EBPF_OP_LDXW pc=2139 dst=r3 src=r10 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2140 dst=r3 src=r0 offset=20 imm=10 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_133; - // EBPF_OP_LDDW pc=2141 dst=r1 src=r0 offset=0 imm=1735289204 -#line 281 "sample/map.c" + // EBPF_OP_LDDW pc=2141 dst=r1 src=r0 offset=0 imm=1735289204 +#line 281 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2143 dst=r10 src=r1 offset=-32 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2144 dst=r1 src=r0 offset=0 imm=1696621605 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2146 dst=r10 src=r1 offset=-40 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2147 dst=r1 src=r0 offset=0 imm=1952805408 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2149 dst=r10 src=r1 offset=-48 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2150 dst=r1 src=r0 offset=0 imm=1601204080 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2152 dst=r10 src=r1 offset=-56 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2153 dst=r1 src=r0 offset=0 imm=1600548962 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2155 dst=r10 src=r1 offset=-64 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2156 dst=r1 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2157 dst=r1 src=r0 offset=0 imm=-64 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2158 dst=r2 src=r0 offset=0 imm=40 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2159 dst=r4 src=r0 offset=0 imm=10 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2160 dst=r0 src=r0 offset=-850 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_84; label_133: // EBPF_OP_MOV64_IMM pc=2161 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2162 dst=r10 src=r1 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2163 dst=r2 src=r10 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2164 dst=r2 src=r0 offset=0 imm=-4 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2165 dst=r1 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2167 dst=r0 src=r0 offset=0 imm=18 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2168 dst=r6 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2168 dst=r6 src=r0 offset=0 imm=0 +#line 284 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2169 dst=r4 src=r6 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2170 dst=r4 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2171 dst=r1 src=r4 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2172 dst=r1 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2173 dst=r2 src=r0 offset=0 imm=-7 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2175 dst=r1 src=r2 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r1 == r2) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_134; - // EBPF_OP_JA pc=2176 dst=r0 src=r0 offset=-916 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=2176 dst=r0 src=r0 offset=-916 imm=0 +#line 284 "sample/undocked/map.c" goto label_79; label_134: // EBPF_OP_LDXW pc=2177 dst=r3 src=r10 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2178 dst=r3 src=r0 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_135; - // EBPF_OP_JA pc=2179 dst=r0 src=r0 offset=-890 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=2179 dst=r0 src=r0 offset=-890 imm=0 +#line 284 "sample/undocked/map.c" goto label_82; label_135: // EBPF_OP_MOV64_IMM pc=2180 dst=r7 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2181 dst=r10 src=r7 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2182 dst=r2 src=r10 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2183 dst=r2 src=r0 offset=0 imm=-4 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2184 dst=r1 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2186 dst=r0 src=r0 offset=0 imm=17 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2187 dst=r6 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2187 dst=r6 src=r0 offset=0 imm=0 +#line 285 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2188 dst=r4 src=r6 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2189 dst=r4 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2190 dst=r1 src=r4 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2191 dst=r1 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2192 dst=r2 src=r0 offset=0 imm=-7 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2194 dst=r1 src=r2 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r1 == r2) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_136; - // EBPF_OP_JA pc=2195 dst=r0 src=r0 offset=-801 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=2195 dst=r0 src=r0 offset=-801 imm=0 +#line 285 "sample/undocked/map.c" goto label_91; label_136: // EBPF_OP_LDXW pc=2196 dst=r3 src=r10 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2197 dst=r3 src=r0 offset=-879 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_86; - // EBPF_OP_JA pc=2198 dst=r0 src=r0 offset=-778 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=2198 dst=r0 src=r0 offset=-778 imm=0 +#line 285 "sample/undocked/map.c" goto label_93; label_137: // EBPF_OP_LDXW pc=2199 dst=r3 src=r10 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2200 dst=r3 src=r0 offset=50 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_142; label_138: // EBPF_OP_LDDW pc=2201 dst=r1 src=r0 offset=0 imm=1852404835 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=2203 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2204 dst=r1 src=r0 offset=0 imm=543434016 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=2206 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2207 dst=r1 src=r0 offset=0 imm=1701978221 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=2209 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2210 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2212 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2213 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2215 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=2216 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2217 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_MOV64_REG pc=2218 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2219 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2220 dst=r2 src=r0 offset=0 imm=41 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(41); label_139: // EBPF_OP_MOV64_IMM pc=2221 dst=r4 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_140: // EBPF_OP_CALL pc=2222 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=2223 dst=r7 src=r0 offset=0 imm=-1 -#line 240 "sample/map.c" + // EBPF_OP_LDDW pc=2223 dst=r7 src=r0 offset=0 imm=-1 +#line 240 "sample/undocked/map.c" r7 = (uint64_t)4294967295; label_141: // EBPF_OP_MOV64_IMM pc=2225 dst=r6 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_MOV64_REG pc=2226 dst=r3 src=r7 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 = r7; // EBPF_OP_LSH64_IMM pc=2227 dst=r3 src=r0 offset=0 imm=32 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=2228 dst=r3 src=r0 offset=0 imm=32 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=2229 dst=r3 src=r0 offset=-2128 imm=-1 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" goto label_9; - // EBPF_OP_LDDW pc=2230 dst=r1 src=r0 offset=0 imm=1684369010 -#line 304 "sample/map.c" + // EBPF_OP_LDDW pc=2230 dst=r1 src=r0 offset=0 imm=1684369010 +#line 304 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=2232 dst=r10 src=r1 offset=-32 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2233 dst=r1 src=r0 offset=0 imm=541803329 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)8463501140578485057; // EBPF_OP_STXDW pc=2235 dst=r10 src=r1 offset=-40 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2236 dst=r1 src=r0 offset=0 imm=1634541682 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)6076235989295898738; // EBPF_OP_STXDW pc=2238 dst=r10 src=r1 offset=-48 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2239 dst=r1 src=r0 offset=0 imm=1330667336 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)8027138915134627656; // EBPF_OP_STXDW pc=2241 dst=r10 src=r1 offset=-56 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2242 dst=r1 src=r0 offset=0 imm=1953719636 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)6004793778491319636; // EBPF_OP_STXDW pc=2244 dst=r10 src=r1 offset=-64 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2245 dst=r1 src=r10 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2246 dst=r1 src=r0 offset=0 imm=-64 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2247 dst=r2 src=r0 offset=0 imm=40 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_CALL pc=2248 dst=r0 src=r0 offset=0 imm=13 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2249 dst=r6 src=r7 offset=0 imm=0 -#line 304 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2249 dst=r6 src=r7 offset=0 imm=0 +#line 304 "sample/undocked/map.c" r6 = r7; // EBPF_OP_JA pc=2250 dst=r0 src=r0 offset=-2149 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" goto label_9; label_142: // EBPF_OP_MOV64_IMM pc=2251 dst=r6 src=r0 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2252 dst=r10 src=r6 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2253 dst=r2 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2254 dst=r2 src=r0 offset=0 imm=-4 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2255 dst=r1 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2257 dst=r0 src=r0 offset=0 imm=17 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2258 dst=r7 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2258 dst=r7 src=r0 offset=0 imm=0 +#line 241 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2259 dst=r4 src=r7 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2260 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2261 dst=r1 src=r4 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2262 dst=r1 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2263 dst=r2 src=r0 offset=0 imm=-7 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2265 dst=r1 src=r2 offset=24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r1 == r2) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_144; label_143: // EBPF_OP_STXB pc=2266 dst=r10 src=r6 offset=-16 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r6; // EBPF_OP_LDDW pc=2267 dst=r1 src=r0 offset=0 imm=1701737077 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=2269 dst=r10 src=r1 offset=-24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2270 dst=r1 src=r0 offset=0 imm=1680154740 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=2272 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2273 dst=r1 src=r0 offset=0 imm=1914726254 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=2275 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2276 dst=r1 src=r0 offset=0 imm=1886938400 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=2278 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2279 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2281 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2282 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2284 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=2285 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2286 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2287 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2288 dst=r2 src=r0 offset=0 imm=49 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=2289 dst=r0 src=r0 offset=-932 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_88; label_144: // EBPF_OP_LDXW pc=2290 dst=r3 src=r10 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2291 dst=r3 src=r0 offset=19 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_146; label_145: // EBPF_OP_LDDW pc=2292 dst=r1 src=r0 offset=0 imm=1735289204 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2294 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2295 dst=r1 src=r0 offset=0 imm=1696621605 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2297 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2298 dst=r1 src=r0 offset=0 imm=1952805408 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2300 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2301 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2303 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2304 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2306 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2307 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2308 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2309 dst=r2 src=r0 offset=0 imm=40 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=2310 dst=r0 src=r0 offset=-90 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_139; label_146: // EBPF_OP_MOV64_IMM pc=2311 dst=r6 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2312 dst=r10 src=r6 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2313 dst=r2 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2314 dst=r2 src=r0 offset=0 imm=-4 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2315 dst=r1 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2317 dst=r3 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2318 dst=r0 src=r0 offset=0 imm=16 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2319 dst=r7 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2319 dst=r7 src=r0 offset=0 imm=0 +#line 249 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2320 dst=r5 src=r7 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2321 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2322 dst=r1 src=r5 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2323 dst=r1 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2324 dst=r1 src=r0 offset=31 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" goto label_150; label_147: // EBPF_OP_MOV64_IMM pc=2325 dst=r1 src=r0 offset=0 imm=25637 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2326 dst=r10 src=r1 offset=-12 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2327 dst=r1 src=r0 offset=0 imm=543450478 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2328 dst=r10 src=r1 offset=-16 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2329 dst=r1 src=r0 offset=0 imm=1914725413 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2331 dst=r10 src=r1 offset=-24 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2332 dst=r1 src=r0 offset=0 imm=1667592312 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2334 dst=r10 src=r1 offset=-32 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2335 dst=r1 src=r0 offset=0 imm=543649385 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2337 dst=r10 src=r1 offset=-40 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2338 dst=r1 src=r0 offset=0 imm=1852383341 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2340 dst=r10 src=r1 offset=-48 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2341 dst=r1 src=r0 offset=0 imm=1752397168 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2343 dst=r10 src=r1 offset=-56 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2344 dst=r1 src=r0 offset=0 imm=1600548962 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2346 dst=r10 src=r1 offset=-64 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=2347 dst=r10 src=r6 offset=-10 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r6; label_148: // EBPF_OP_LDXW pc=2348 dst=r3 src=r10 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=2349 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2350 dst=r1 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2351 dst=r1 src=r0 offset=0 imm=-64 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2352 dst=r2 src=r0 offset=0 imm=55 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=2353 dst=r4 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_149: // EBPF_OP_CALL pc=2354 dst=r0 src=r0 offset=0 imm=15 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[10].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[10].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=2355 dst=r0 src=r0 offset=-131 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_JA pc=2355 dst=r0 src=r0 offset=-131 imm=0 +#line 249 "sample/undocked/map.c" goto label_141; label_150: // EBPF_OP_MOV64_IMM pc=2356 dst=r1 src=r0 offset=0 imm=1 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=2357 dst=r10 src=r1 offset=-4 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2358 dst=r2 src=r10 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2359 dst=r2 src=r0 offset=0 imm=-4 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2360 dst=r6 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2361 dst=r1 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2363 dst=r3 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2364 dst=r0 src=r0 offset=0 imm=16 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2365 dst=r7 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2365 dst=r7 src=r0 offset=0 imm=0 +#line 250 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2366 dst=r5 src=r7 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2367 dst=r5 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2368 dst=r1 src=r5 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2369 dst=r1 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2370 dst=r1 src=r0 offset=1 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" goto label_151; - // EBPF_OP_JA pc=2371 dst=r0 src=r0 offset=-47 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_JA pc=2371 dst=r0 src=r0 offset=-47 imm=0 +#line 250 "sample/undocked/map.c" goto label_147; label_151: // EBPF_OP_MOV64_IMM pc=2372 dst=r1 src=r0 offset=0 imm=2 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=2373 dst=r10 src=r1 offset=-4 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2374 dst=r2 src=r10 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2375 dst=r2 src=r0 offset=0 imm=-4 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2376 dst=r6 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2377 dst=r1 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2379 dst=r3 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2380 dst=r0 src=r0 offset=0 imm=16 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2381 dst=r7 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2381 dst=r7 src=r0 offset=0 imm=0 +#line 251 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2382 dst=r5 src=r7 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2383 dst=r5 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2384 dst=r1 src=r5 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2385 dst=r1 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2386 dst=r1 src=r0 offset=1 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" goto label_152; - // EBPF_OP_JA pc=2387 dst=r0 src=r0 offset=-63 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_JA pc=2387 dst=r0 src=r0 offset=-63 imm=0 +#line 251 "sample/undocked/map.c" goto label_147; label_152: // EBPF_OP_MOV64_IMM pc=2388 dst=r1 src=r0 offset=0 imm=3 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=2389 dst=r10 src=r1 offset=-4 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2390 dst=r2 src=r10 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2391 dst=r2 src=r0 offset=0 imm=-4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2392 dst=r6 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2393 dst=r1 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2395 dst=r3 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2396 dst=r0 src=r0 offset=0 imm=16 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2397 dst=r7 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2397 dst=r7 src=r0 offset=0 imm=0 +#line 252 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2398 dst=r5 src=r7 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2399 dst=r5 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2400 dst=r1 src=r5 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2401 dst=r1 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2402 dst=r1 src=r0 offset=1 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" goto label_153; - // EBPF_OP_JA pc=2403 dst=r0 src=r0 offset=-79 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_JA pc=2403 dst=r0 src=r0 offset=-79 imm=0 +#line 252 "sample/undocked/map.c" goto label_147; label_153: // EBPF_OP_MOV64_IMM pc=2404 dst=r1 src=r0 offset=0 imm=4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=2405 dst=r10 src=r1 offset=-4 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2406 dst=r2 src=r10 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2407 dst=r2 src=r0 offset=0 imm=-4 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2408 dst=r6 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2409 dst=r1 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2411 dst=r3 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2412 dst=r0 src=r0 offset=0 imm=16 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2413 dst=r7 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2413 dst=r7 src=r0 offset=0 imm=0 +#line 253 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2414 dst=r5 src=r7 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2415 dst=r5 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2416 dst=r1 src=r5 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2417 dst=r1 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2418 dst=r1 src=r0 offset=1 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" goto label_154; - // EBPF_OP_JA pc=2419 dst=r0 src=r0 offset=-95 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_JA pc=2419 dst=r0 src=r0 offset=-95 imm=0 +#line 253 "sample/undocked/map.c" goto label_147; label_154: // EBPF_OP_MOV64_IMM pc=2420 dst=r1 src=r0 offset=0 imm=5 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=2421 dst=r10 src=r1 offset=-4 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2422 dst=r2 src=r10 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2423 dst=r2 src=r0 offset=0 imm=-4 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2424 dst=r6 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2425 dst=r1 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2427 dst=r3 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2428 dst=r0 src=r0 offset=0 imm=16 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2429 dst=r7 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2429 dst=r7 src=r0 offset=0 imm=0 +#line 254 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2430 dst=r5 src=r7 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2431 dst=r5 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2432 dst=r1 src=r5 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2433 dst=r1 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2434 dst=r1 src=r0 offset=1 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" goto label_155; - // EBPF_OP_JA pc=2435 dst=r0 src=r0 offset=-111 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_JA pc=2435 dst=r0 src=r0 offset=-111 imm=0 +#line 254 "sample/undocked/map.c" goto label_147; label_155: // EBPF_OP_MOV64_IMM pc=2436 dst=r1 src=r0 offset=0 imm=6 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=2437 dst=r10 src=r1 offset=-4 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2438 dst=r2 src=r10 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2439 dst=r2 src=r0 offset=0 imm=-4 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2440 dst=r6 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2441 dst=r1 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2443 dst=r3 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2444 dst=r0 src=r0 offset=0 imm=16 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2445 dst=r7 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2445 dst=r7 src=r0 offset=0 imm=0 +#line 255 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2446 dst=r5 src=r7 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2447 dst=r5 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2448 dst=r1 src=r5 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2449 dst=r1 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2450 dst=r1 src=r0 offset=1 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" goto label_156; - // EBPF_OP_JA pc=2451 dst=r0 src=r0 offset=-127 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_JA pc=2451 dst=r0 src=r0 offset=-127 imm=0 +#line 255 "sample/undocked/map.c" goto label_147; label_156: // EBPF_OP_MOV64_IMM pc=2452 dst=r1 src=r0 offset=0 imm=7 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=2453 dst=r10 src=r1 offset=-4 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2454 dst=r2 src=r10 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2455 dst=r2 src=r0 offset=0 imm=-4 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2456 dst=r6 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2457 dst=r1 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2459 dst=r3 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2460 dst=r0 src=r0 offset=0 imm=16 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2461 dst=r7 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2461 dst=r7 src=r0 offset=0 imm=0 +#line 256 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2462 dst=r5 src=r7 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2463 dst=r5 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2464 dst=r1 src=r5 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2465 dst=r1 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2466 dst=r1 src=r0 offset=1 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" goto label_157; - // EBPF_OP_JA pc=2467 dst=r0 src=r0 offset=-143 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_JA pc=2467 dst=r0 src=r0 offset=-143 imm=0 +#line 256 "sample/undocked/map.c" goto label_147; label_157: // EBPF_OP_MOV64_IMM pc=2468 dst=r1 src=r0 offset=0 imm=8 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=2469 dst=r10 src=r1 offset=-4 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2470 dst=r2 src=r10 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2471 dst=r2 src=r0 offset=0 imm=-4 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2472 dst=r6 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2473 dst=r1 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2475 dst=r3 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2476 dst=r0 src=r0 offset=0 imm=16 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2477 dst=r7 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2477 dst=r7 src=r0 offset=0 imm=0 +#line 257 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2478 dst=r5 src=r7 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2479 dst=r5 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2480 dst=r1 src=r5 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2481 dst=r1 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2482 dst=r1 src=r0 offset=1 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" goto label_158; - // EBPF_OP_JA pc=2483 dst=r0 src=r0 offset=-159 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_JA pc=2483 dst=r0 src=r0 offset=-159 imm=0 +#line 257 "sample/undocked/map.c" goto label_147; label_158: // EBPF_OP_MOV64_IMM pc=2484 dst=r1 src=r0 offset=0 imm=9 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=2485 dst=r10 src=r1 offset=-4 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2486 dst=r2 src=r10 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2487 dst=r2 src=r0 offset=0 imm=-4 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2488 dst=r6 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2489 dst=r1 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2491 dst=r3 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2492 dst=r0 src=r0 offset=0 imm=16 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2493 dst=r7 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2493 dst=r7 src=r0 offset=0 imm=0 +#line 258 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2494 dst=r5 src=r7 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2495 dst=r5 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2496 dst=r1 src=r5 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2497 dst=r1 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2498 dst=r1 src=r0 offset=1 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" goto label_159; - // EBPF_OP_JA pc=2499 dst=r0 src=r0 offset=-175 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_JA pc=2499 dst=r0 src=r0 offset=-175 imm=0 +#line 258 "sample/undocked/map.c" goto label_147; label_159: // EBPF_OP_MOV64_IMM pc=2500 dst=r6 src=r0 offset=0 imm=10 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r6 = IMMEDIATE(10); // EBPF_OP_STXW pc=2501 dst=r10 src=r6 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2502 dst=r2 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2503 dst=r2 src=r0 offset=0 imm=-4 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2504 dst=r8 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r8 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2505 dst=r1 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2507 dst=r3 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2508 dst=r0 src=r0 offset=0 imm=16 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2509 dst=r7 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2509 dst=r7 src=r0 offset=0 imm=0 +#line 261 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2510 dst=r5 src=r7 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2511 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2512 dst=r1 src=r5 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2513 dst=r1 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2514 dst=r2 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = (uint64_t)4294967267; // EBPF_OP_JEQ_REG pc=2516 dst=r1 src=r2 offset=30 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if (r1 == r2) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_160; - // EBPF_OP_STXB pc=2517 dst=r10 src=r8 offset=-10 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_STXB pc=2517 dst=r10 src=r8 offset=-10 imm=0 +#line 261 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r8; // EBPF_OP_MOV64_IMM pc=2518 dst=r1 src=r0 offset=0 imm=25637 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2519 dst=r10 src=r1 offset=-12 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2520 dst=r1 src=r0 offset=0 imm=543450478 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2521 dst=r10 src=r1 offset=-16 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2522 dst=r1 src=r0 offset=0 imm=1914725413 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2524 dst=r10 src=r1 offset=-24 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2525 dst=r1 src=r0 offset=0 imm=1667592312 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2527 dst=r10 src=r1 offset=-32 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2528 dst=r1 src=r0 offset=0 imm=543649385 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2530 dst=r10 src=r1 offset=-40 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2531 dst=r1 src=r0 offset=0 imm=1852383341 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2533 dst=r10 src=r1 offset=-48 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2534 dst=r1 src=r0 offset=0 imm=1752397168 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2536 dst=r10 src=r1 offset=-56 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2537 dst=r1 src=r0 offset=0 imm=1600548962 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2539 dst=r10 src=r1 offset=-64 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_LDXW pc=2540 dst=r3 src=r10 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=2541 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2542 dst=r1 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2543 dst=r1 src=r0 offset=0 imm=-64 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2544 dst=r2 src=r0 offset=0 imm=55 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=2545 dst=r4 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r4 = IMMEDIATE(-29); // EBPF_OP_JA pc=2546 dst=r0 src=r0 offset=-193 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_149; label_160: // EBPF_OP_STXW pc=2547 dst=r10 src=r6 offset=-4 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2548 dst=r2 src=r10 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2549 dst=r2 src=r0 offset=0 imm=-4 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2550 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2552 dst=r3 src=r0 offset=0 imm=2 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=2553 dst=r0 src=r0 offset=0 imm=16 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2554 dst=r7 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2554 dst=r7 src=r0 offset=0 imm=0 +#line 262 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2555 dst=r5 src=r7 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2556 dst=r5 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2557 dst=r1 src=r5 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2558 dst=r1 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2559 dst=r1 src=r0 offset=25 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_161; - // EBPF_OP_MOV64_IMM pc=2560 dst=r1 src=r0 offset=0 imm=25637 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2560 dst=r1 src=r0 offset=0 imm=25637 +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2561 dst=r10 src=r1 offset=-12 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2562 dst=r1 src=r0 offset=0 imm=543450478 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2563 dst=r10 src=r1 offset=-16 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2564 dst=r1 src=r0 offset=0 imm=1914725413 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2566 dst=r10 src=r1 offset=-24 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2567 dst=r1 src=r0 offset=0 imm=1667592312 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2569 dst=r10 src=r1 offset=-32 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2570 dst=r1 src=r0 offset=0 imm=543649385 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2572 dst=r10 src=r1 offset=-40 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2573 dst=r1 src=r0 offset=0 imm=1852383341 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2575 dst=r10 src=r1 offset=-48 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2576 dst=r1 src=r0 offset=0 imm=1752397168 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2578 dst=r10 src=r1 offset=-56 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2579 dst=r1 src=r0 offset=0 imm=1600548962 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2581 dst=r10 src=r1 offset=-64 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=2582 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2583 dst=r10 src=r1 offset=-10 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r1; // EBPF_OP_JA pc=2584 dst=r0 src=r0 offset=-237 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_148; label_161: // EBPF_OP_MOV64_IMM pc=2585 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2586 dst=r10 src=r1 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2587 dst=r2 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2588 dst=r2 src=r0 offset=0 imm=-4 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2589 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2591 dst=r0 src=r0 offset=0 imm=18 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2592 dst=r7 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2592 dst=r7 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2593 dst=r4 src=r7 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2594 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2595 dst=r1 src=r4 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2596 dst=r1 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2597 dst=r1 src=r0 offset=27 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_163; - // EBPF_OP_MOV64_IMM pc=2598 dst=r1 src=r0 offset=0 imm=100 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2598 dst=r1 src=r0 offset=0 imm=100 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=2599 dst=r10 src=r1 offset=-16 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=2600 dst=r1 src=r0 offset=0 imm=1852994932 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=2602 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2603 dst=r1 src=r0 offset=0 imm=622883948 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=2605 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2606 dst=r1 src=r0 offset=0 imm=543649385 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=2608 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2609 dst=r1 src=r0 offset=0 imm=2019893357 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=2611 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2612 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2614 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2615 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2617 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=2618 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2619 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2620 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2621 dst=r2 src=r0 offset=0 imm=50 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_162: // EBPF_OP_MOV64_IMM pc=2622 dst=r3 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2623 dst=r0 src=r0 offset=0 imm=14 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=2624 dst=r0 src=r0 offset=-400 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_JA pc=2624 dst=r0 src=r0 offset=-400 imm=0 +#line 264 "sample/undocked/map.c" goto label_141; label_163: // EBPF_OP_LDXW pc=2625 dst=r3 src=r10 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2626 dst=r3 src=r0 offset=22 imm=10 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_164; - // EBPF_OP_MOV64_IMM pc=2627 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2627 dst=r1 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2628 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_LDDW pc=2629 dst=r1 src=r0 offset=0 imm=1852404835 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=2631 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2632 dst=r1 src=r0 offset=0 imm=543434016 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=2634 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2635 dst=r1 src=r0 offset=0 imm=1701978221 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=2637 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2638 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2640 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2641 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2643 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2644 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2645 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2646 dst=r2 src=r0 offset=0 imm=41 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(41); // EBPF_OP_MOV64_IMM pc=2647 dst=r4 src=r0 offset=0 imm=10 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2648 dst=r0 src=r0 offset=-427 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_140; label_164: // EBPF_OP_MOV64_IMM pc=2649 dst=r6 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2650 dst=r10 src=r6 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2651 dst=r2 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2652 dst=r2 src=r0 offset=0 imm=-4 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2653 dst=r1 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2655 dst=r0 src=r0 offset=0 imm=17 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2656 dst=r7 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2656 dst=r7 src=r0 offset=0 imm=0 +#line 272 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2657 dst=r4 src=r7 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2658 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2659 dst=r1 src=r4 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2660 dst=r1 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2661 dst=r1 src=r0 offset=24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_166; label_165: // EBPF_OP_LDDW pc=2662 dst=r1 src=r0 offset=0 imm=1701737077 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=2664 dst=r10 src=r1 offset=-24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2665 dst=r1 src=r0 offset=0 imm=1680154740 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=2667 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2668 dst=r1 src=r0 offset=0 imm=1914726254 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=2670 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2671 dst=r1 src=r0 offset=0 imm=1886938400 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=2673 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2674 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2676 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2677 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2679 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=2680 dst=r10 src=r6 offset=-16 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r6; // EBPF_OP_ARSH64_IMM pc=2681 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2682 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2683 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2684 dst=r2 src=r0 offset=0 imm=49 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=2685 dst=r0 src=r0 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_162; label_166: // EBPF_OP_LDXW pc=2686 dst=r3 src=r10 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2687 dst=r3 src=r0 offset=20 imm=10 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_167; - // EBPF_OP_LDDW pc=2688 dst=r1 src=r0 offset=0 imm=1735289204 -#line 272 "sample/map.c" + // EBPF_OP_LDDW pc=2688 dst=r1 src=r0 offset=0 imm=1735289204 +#line 272 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2690 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2691 dst=r1 src=r0 offset=0 imm=1696621605 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2693 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2694 dst=r1 src=r0 offset=0 imm=1952805408 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2696 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2697 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2699 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2700 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2702 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2703 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2704 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2705 dst=r2 src=r0 offset=0 imm=40 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2706 dst=r4 src=r0 offset=0 imm=10 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2707 dst=r0 src=r0 offset=-486 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_140; label_167: // EBPF_OP_MOV64_IMM pc=2708 dst=r6 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2709 dst=r10 src=r6 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2710 dst=r2 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2711 dst=r2 src=r0 offset=0 imm=-4 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2712 dst=r1 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2714 dst=r0 src=r0 offset=0 imm=17 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2715 dst=r7 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2715 dst=r7 src=r0 offset=0 imm=0 +#line 273 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2716 dst=r4 src=r7 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2717 dst=r4 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2718 dst=r1 src=r4 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2719 dst=r1 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2720 dst=r1 src=r0 offset=1 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_168; - // EBPF_OP_JA pc=2721 dst=r0 src=r0 offset=-60 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_JA pc=2721 dst=r0 src=r0 offset=-60 imm=0 +#line 273 "sample/undocked/map.c" goto label_165; label_168: // EBPF_OP_LDXW pc=2722 dst=r3 src=r10 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2723 dst=r3 src=r0 offset=20 imm=9 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r3 == IMMEDIATE(9)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_169; - // EBPF_OP_LDDW pc=2724 dst=r1 src=r0 offset=0 imm=1735289204 -#line 273 "sample/map.c" + // EBPF_OP_LDDW pc=2724 dst=r1 src=r0 offset=0 imm=1735289204 +#line 273 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2726 dst=r10 src=r1 offset=-32 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2727 dst=r1 src=r0 offset=0 imm=1696621605 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2729 dst=r10 src=r1 offset=-40 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2730 dst=r1 src=r0 offset=0 imm=1952805408 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2732 dst=r10 src=r1 offset=-48 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2733 dst=r1 src=r0 offset=0 imm=1601204080 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2735 dst=r10 src=r1 offset=-56 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2736 dst=r1 src=r0 offset=0 imm=1600548962 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2738 dst=r10 src=r1 offset=-64 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2739 dst=r1 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2740 dst=r1 src=r0 offset=0 imm=-64 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2741 dst=r2 src=r0 offset=0 imm=40 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2742 dst=r4 src=r0 offset=0 imm=9 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = IMMEDIATE(9); // EBPF_OP_JA pc=2743 dst=r0 src=r0 offset=-522 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_140; label_169: // EBPF_OP_MOV64_IMM pc=2744 dst=r6 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2745 dst=r10 src=r6 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2746 dst=r2 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2747 dst=r2 src=r0 offset=0 imm=-4 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2748 dst=r1 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2750 dst=r0 src=r0 offset=0 imm=17 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2751 dst=r7 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2751 dst=r7 src=r0 offset=0 imm=0 +#line 274 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2752 dst=r4 src=r7 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2753 dst=r4 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2754 dst=r1 src=r4 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2755 dst=r1 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2756 dst=r1 src=r0 offset=1 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_170; - // EBPF_OP_JA pc=2757 dst=r0 src=r0 offset=-96 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_JA pc=2757 dst=r0 src=r0 offset=-96 imm=0 +#line 274 "sample/undocked/map.c" goto label_165; label_170: // EBPF_OP_LDXW pc=2758 dst=r3 src=r10 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2759 dst=r3 src=r0 offset=20 imm=8 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r3 == IMMEDIATE(8)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_171; - // EBPF_OP_LDDW pc=2760 dst=r1 src=r0 offset=0 imm=1735289204 -#line 274 "sample/map.c" + // EBPF_OP_LDDW pc=2760 dst=r1 src=r0 offset=0 imm=1735289204 +#line 274 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2762 dst=r10 src=r1 offset=-32 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2763 dst=r1 src=r0 offset=0 imm=1696621605 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2765 dst=r10 src=r1 offset=-40 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2766 dst=r1 src=r0 offset=0 imm=1952805408 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2768 dst=r10 src=r1 offset=-48 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2769 dst=r1 src=r0 offset=0 imm=1601204080 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2771 dst=r10 src=r1 offset=-56 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2772 dst=r1 src=r0 offset=0 imm=1600548962 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2774 dst=r10 src=r1 offset=-64 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2775 dst=r1 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2776 dst=r1 src=r0 offset=0 imm=-64 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2777 dst=r2 src=r0 offset=0 imm=40 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2778 dst=r4 src=r0 offset=0 imm=8 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = IMMEDIATE(8); // EBPF_OP_JA pc=2779 dst=r0 src=r0 offset=-558 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_140; label_171: // EBPF_OP_MOV64_IMM pc=2780 dst=r6 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2781 dst=r10 src=r6 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2782 dst=r2 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2783 dst=r2 src=r0 offset=0 imm=-4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2784 dst=r1 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2786 dst=r0 src=r0 offset=0 imm=17 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2787 dst=r7 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2787 dst=r7 src=r0 offset=0 imm=0 +#line 275 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2788 dst=r4 src=r7 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2789 dst=r4 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2790 dst=r1 src=r4 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2791 dst=r1 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2792 dst=r1 src=r0 offset=1 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_172; - // EBPF_OP_JA pc=2793 dst=r0 src=r0 offset=-132 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_JA pc=2793 dst=r0 src=r0 offset=-132 imm=0 +#line 275 "sample/undocked/map.c" goto label_165; label_172: // EBPF_OP_LDXW pc=2794 dst=r3 src=r10 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2795 dst=r3 src=r0 offset=20 imm=7 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r3 == IMMEDIATE(7)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_173; - // EBPF_OP_LDDW pc=2796 dst=r1 src=r0 offset=0 imm=1735289204 -#line 275 "sample/map.c" + // EBPF_OP_LDDW pc=2796 dst=r1 src=r0 offset=0 imm=1735289204 +#line 275 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2798 dst=r10 src=r1 offset=-32 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2799 dst=r1 src=r0 offset=0 imm=1696621605 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2801 dst=r10 src=r1 offset=-40 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2802 dst=r1 src=r0 offset=0 imm=1952805408 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2804 dst=r10 src=r1 offset=-48 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2805 dst=r1 src=r0 offset=0 imm=1601204080 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2807 dst=r10 src=r1 offset=-56 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2808 dst=r1 src=r0 offset=0 imm=1600548962 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2810 dst=r10 src=r1 offset=-64 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2811 dst=r1 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2812 dst=r1 src=r0 offset=0 imm=-64 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2813 dst=r2 src=r0 offset=0 imm=40 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2814 dst=r4 src=r0 offset=0 imm=7 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = IMMEDIATE(7); // EBPF_OP_JA pc=2815 dst=r0 src=r0 offset=-594 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_140; label_173: // EBPF_OP_MOV64_IMM pc=2816 dst=r6 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2817 dst=r10 src=r6 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2818 dst=r2 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2819 dst=r2 src=r0 offset=0 imm=-4 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2820 dst=r1 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2822 dst=r0 src=r0 offset=0 imm=17 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2823 dst=r7 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2823 dst=r7 src=r0 offset=0 imm=0 +#line 276 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2824 dst=r4 src=r7 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2825 dst=r4 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2826 dst=r1 src=r4 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2827 dst=r1 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2828 dst=r1 src=r0 offset=1 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_174; - // EBPF_OP_JA pc=2829 dst=r0 src=r0 offset=-168 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_JA pc=2829 dst=r0 src=r0 offset=-168 imm=0 +#line 276 "sample/undocked/map.c" goto label_165; label_174: // EBPF_OP_LDXW pc=2830 dst=r3 src=r10 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2831 dst=r3 src=r0 offset=20 imm=6 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r3 == IMMEDIATE(6)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_175; - // EBPF_OP_LDDW pc=2832 dst=r1 src=r0 offset=0 imm=1735289204 -#line 276 "sample/map.c" + // EBPF_OP_LDDW pc=2832 dst=r1 src=r0 offset=0 imm=1735289204 +#line 276 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2834 dst=r10 src=r1 offset=-32 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2835 dst=r1 src=r0 offset=0 imm=1696621605 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2837 dst=r10 src=r1 offset=-40 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2838 dst=r1 src=r0 offset=0 imm=1952805408 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2840 dst=r10 src=r1 offset=-48 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2841 dst=r1 src=r0 offset=0 imm=1601204080 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2843 dst=r10 src=r1 offset=-56 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2844 dst=r1 src=r0 offset=0 imm=1600548962 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2846 dst=r10 src=r1 offset=-64 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2847 dst=r1 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2848 dst=r1 src=r0 offset=0 imm=-64 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2849 dst=r2 src=r0 offset=0 imm=40 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2850 dst=r4 src=r0 offset=0 imm=6 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = IMMEDIATE(6); // EBPF_OP_JA pc=2851 dst=r0 src=r0 offset=-630 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_140; label_175: // EBPF_OP_MOV64_IMM pc=2852 dst=r6 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2853 dst=r10 src=r6 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2854 dst=r2 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2855 dst=r2 src=r0 offset=0 imm=-4 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2856 dst=r1 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2858 dst=r0 src=r0 offset=0 imm=17 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2859 dst=r7 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2859 dst=r7 src=r0 offset=0 imm=0 +#line 277 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2860 dst=r4 src=r7 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2861 dst=r4 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2862 dst=r1 src=r4 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2863 dst=r1 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2864 dst=r1 src=r0 offset=1 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_176; - // EBPF_OP_JA pc=2865 dst=r0 src=r0 offset=-204 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_JA pc=2865 dst=r0 src=r0 offset=-204 imm=0 +#line 277 "sample/undocked/map.c" goto label_165; label_176: // EBPF_OP_LDXW pc=2866 dst=r3 src=r10 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2867 dst=r3 src=r0 offset=20 imm=5 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r3 == IMMEDIATE(5)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_177; - // EBPF_OP_LDDW pc=2868 dst=r1 src=r0 offset=0 imm=1735289204 -#line 277 "sample/map.c" + // EBPF_OP_LDDW pc=2868 dst=r1 src=r0 offset=0 imm=1735289204 +#line 277 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2870 dst=r10 src=r1 offset=-32 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2871 dst=r1 src=r0 offset=0 imm=1696621605 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2873 dst=r10 src=r1 offset=-40 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2874 dst=r1 src=r0 offset=0 imm=1952805408 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2876 dst=r10 src=r1 offset=-48 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2877 dst=r1 src=r0 offset=0 imm=1601204080 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2879 dst=r10 src=r1 offset=-56 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2880 dst=r1 src=r0 offset=0 imm=1600548962 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2882 dst=r10 src=r1 offset=-64 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2883 dst=r1 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2884 dst=r1 src=r0 offset=0 imm=-64 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2885 dst=r2 src=r0 offset=0 imm=40 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2886 dst=r4 src=r0 offset=0 imm=5 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = IMMEDIATE(5); // EBPF_OP_JA pc=2887 dst=r0 src=r0 offset=-666 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_140; label_177: // EBPF_OP_MOV64_IMM pc=2888 dst=r6 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2889 dst=r10 src=r6 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2890 dst=r2 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2891 dst=r2 src=r0 offset=0 imm=-4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2892 dst=r1 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2894 dst=r0 src=r0 offset=0 imm=17 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2895 dst=r7 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2895 dst=r7 src=r0 offset=0 imm=0 +#line 278 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2896 dst=r4 src=r7 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2897 dst=r4 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2898 dst=r1 src=r4 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2899 dst=r1 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2900 dst=r1 src=r0 offset=1 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_178; - // EBPF_OP_JA pc=2901 dst=r0 src=r0 offset=-240 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_JA pc=2901 dst=r0 src=r0 offset=-240 imm=0 +#line 278 "sample/undocked/map.c" goto label_165; label_178: // EBPF_OP_LDXW pc=2902 dst=r3 src=r10 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2903 dst=r3 src=r0 offset=20 imm=4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r3 == IMMEDIATE(4)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_179; - // EBPF_OP_LDDW pc=2904 dst=r1 src=r0 offset=0 imm=1735289204 -#line 278 "sample/map.c" + // EBPF_OP_LDDW pc=2904 dst=r1 src=r0 offset=0 imm=1735289204 +#line 278 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2906 dst=r10 src=r1 offset=-32 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2907 dst=r1 src=r0 offset=0 imm=1696621605 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2909 dst=r10 src=r1 offset=-40 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2910 dst=r1 src=r0 offset=0 imm=1952805408 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2912 dst=r10 src=r1 offset=-48 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2913 dst=r1 src=r0 offset=0 imm=1601204080 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2915 dst=r10 src=r1 offset=-56 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2916 dst=r1 src=r0 offset=0 imm=1600548962 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2918 dst=r10 src=r1 offset=-64 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2919 dst=r1 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2920 dst=r1 src=r0 offset=0 imm=-64 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2921 dst=r2 src=r0 offset=0 imm=40 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2922 dst=r4 src=r0 offset=0 imm=4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = IMMEDIATE(4); // EBPF_OP_JA pc=2923 dst=r0 src=r0 offset=-702 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_140; label_179: // EBPF_OP_MOV64_IMM pc=2924 dst=r6 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2925 dst=r10 src=r6 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2926 dst=r2 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2927 dst=r2 src=r0 offset=0 imm=-4 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2928 dst=r1 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2930 dst=r0 src=r0 offset=0 imm=17 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2931 dst=r7 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2931 dst=r7 src=r0 offset=0 imm=0 +#line 279 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2932 dst=r4 src=r7 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2933 dst=r4 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2934 dst=r1 src=r4 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2935 dst=r1 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2936 dst=r1 src=r0 offset=1 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_180; - // EBPF_OP_JA pc=2937 dst=r0 src=r0 offset=-276 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_JA pc=2937 dst=r0 src=r0 offset=-276 imm=0 +#line 279 "sample/undocked/map.c" goto label_165; label_180: // EBPF_OP_LDXW pc=2938 dst=r3 src=r10 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2939 dst=r3 src=r0 offset=20 imm=3 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r3 == IMMEDIATE(3)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_181; - // EBPF_OP_LDDW pc=2940 dst=r1 src=r0 offset=0 imm=1735289204 -#line 279 "sample/map.c" + // EBPF_OP_LDDW pc=2940 dst=r1 src=r0 offset=0 imm=1735289204 +#line 279 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2942 dst=r10 src=r1 offset=-32 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2943 dst=r1 src=r0 offset=0 imm=1696621605 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2945 dst=r10 src=r1 offset=-40 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2946 dst=r1 src=r0 offset=0 imm=1952805408 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2948 dst=r10 src=r1 offset=-48 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2949 dst=r1 src=r0 offset=0 imm=1601204080 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2951 dst=r10 src=r1 offset=-56 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2952 dst=r1 src=r0 offset=0 imm=1600548962 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2954 dst=r10 src=r1 offset=-64 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2955 dst=r1 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2956 dst=r1 src=r0 offset=0 imm=-64 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2957 dst=r2 src=r0 offset=0 imm=40 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2958 dst=r4 src=r0 offset=0 imm=3 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = IMMEDIATE(3); // EBPF_OP_JA pc=2959 dst=r0 src=r0 offset=-738 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_140; label_181: // EBPF_OP_MOV64_IMM pc=2960 dst=r6 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2961 dst=r10 src=r6 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2962 dst=r2 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2963 dst=r2 src=r0 offset=0 imm=-4 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2964 dst=r1 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2966 dst=r0 src=r0 offset=0 imm=17 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2967 dst=r7 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2967 dst=r7 src=r0 offset=0 imm=0 +#line 280 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2968 dst=r4 src=r7 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2969 dst=r4 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2970 dst=r1 src=r4 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2971 dst=r1 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2972 dst=r1 src=r0 offset=1 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_182; - // EBPF_OP_JA pc=2973 dst=r0 src=r0 offset=-312 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_JA pc=2973 dst=r0 src=r0 offset=-312 imm=0 +#line 280 "sample/undocked/map.c" goto label_165; label_182: // EBPF_OP_LDXW pc=2974 dst=r3 src=r10 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2975 dst=r3 src=r0 offset=20 imm=2 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r3 == IMMEDIATE(2)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_183; - // EBPF_OP_LDDW pc=2976 dst=r1 src=r0 offset=0 imm=1735289204 -#line 280 "sample/map.c" + // EBPF_OP_LDDW pc=2976 dst=r1 src=r0 offset=0 imm=1735289204 +#line 280 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2978 dst=r10 src=r1 offset=-32 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2979 dst=r1 src=r0 offset=0 imm=1696621605 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2981 dst=r10 src=r1 offset=-40 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2982 dst=r1 src=r0 offset=0 imm=1952805408 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2984 dst=r10 src=r1 offset=-48 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2985 dst=r1 src=r0 offset=0 imm=1601204080 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2987 dst=r10 src=r1 offset=-56 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2988 dst=r1 src=r0 offset=0 imm=1600548962 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2990 dst=r10 src=r1 offset=-64 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2991 dst=r1 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2992 dst=r1 src=r0 offset=0 imm=-64 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2993 dst=r2 src=r0 offset=0 imm=40 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2994 dst=r4 src=r0 offset=0 imm=2 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = IMMEDIATE(2); // EBPF_OP_JA pc=2995 dst=r0 src=r0 offset=-774 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_140; label_183: // EBPF_OP_MOV64_IMM pc=2996 dst=r6 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2997 dst=r10 src=r6 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2998 dst=r2 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2999 dst=r2 src=r0 offset=0 imm=-4 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3000 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3002 dst=r0 src=r0 offset=0 imm=17 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3003 dst=r7 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3003 dst=r7 src=r0 offset=0 imm=0 +#line 281 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3004 dst=r4 src=r7 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3005 dst=r4 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3006 dst=r1 src=r4 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3007 dst=r1 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=3008 dst=r1 src=r0 offset=1 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_184; - // EBPF_OP_JA pc=3009 dst=r0 src=r0 offset=-348 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_JA pc=3009 dst=r0 src=r0 offset=-348 imm=0 +#line 281 "sample/undocked/map.c" goto label_165; label_184: // EBPF_OP_LDXW pc=3010 dst=r3 src=r10 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3011 dst=r3 src=r0 offset=20 imm=1 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_185; - // EBPF_OP_LDDW pc=3012 dst=r1 src=r0 offset=0 imm=1735289204 -#line 281 "sample/map.c" + // EBPF_OP_LDDW pc=3012 dst=r1 src=r0 offset=0 imm=1735289204 +#line 281 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=3014 dst=r10 src=r1 offset=-32 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3015 dst=r1 src=r0 offset=0 imm=1696621605 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=3017 dst=r10 src=r1 offset=-40 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3018 dst=r1 src=r0 offset=0 imm=1952805408 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=3020 dst=r10 src=r1 offset=-48 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3021 dst=r1 src=r0 offset=0 imm=1601204080 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=3023 dst=r10 src=r1 offset=-56 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3024 dst=r1 src=r0 offset=0 imm=1600548962 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=3026 dst=r10 src=r1 offset=-64 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=3027 dst=r1 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=3028 dst=r1 src=r0 offset=0 imm=-64 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=3029 dst=r2 src=r0 offset=0 imm=40 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=3030 dst=r4 src=r0 offset=0 imm=1 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=3031 dst=r0 src=r0 offset=-810 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_140; label_185: // EBPF_OP_MOV64_IMM pc=3032 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=3033 dst=r10 src=r1 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3034 dst=r2 src=r10 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3035 dst=r2 src=r0 offset=0 imm=-4 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3036 dst=r1 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3038 dst=r0 src=r0 offset=0 imm=18 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3039 dst=r7 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3039 dst=r7 src=r0 offset=0 imm=0 +#line 284 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3040 dst=r4 src=r7 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3041 dst=r4 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3042 dst=r1 src=r4 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3043 dst=r1 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=3044 dst=r2 src=r0 offset=0 imm=-7 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=3046 dst=r1 src=r2 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r1 == r2) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_186; - // EBPF_OP_JA pc=3047 dst=r0 src=r0 offset=-1714 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=3047 dst=r0 src=r0 offset=-1714 imm=0 +#line 284 "sample/undocked/map.c" goto label_87; label_186: // EBPF_OP_LDXW pc=3048 dst=r3 src=r10 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3049 dst=r3 src=r0 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_187; - // EBPF_OP_JA pc=3050 dst=r0 src=r0 offset=-850 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=3050 dst=r0 src=r0 offset=-850 imm=0 +#line 284 "sample/undocked/map.c" goto label_138; label_187: // EBPF_OP_MOV64_IMM pc=3051 dst=r6 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=3052 dst=r10 src=r6 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=3053 dst=r2 src=r10 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3054 dst=r2 src=r0 offset=0 imm=-4 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3055 dst=r1 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3057 dst=r0 src=r0 offset=0 imm=17 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3058 dst=r7 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3058 dst=r7 src=r0 offset=0 imm=0 +#line 285 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3059 dst=r4 src=r7 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3060 dst=r4 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3061 dst=r1 src=r4 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3062 dst=r1 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=3063 dst=r2 src=r0 offset=0 imm=-7 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=3065 dst=r1 src=r2 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r1 == r2) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_188; - // EBPF_OP_JA pc=3066 dst=r0 src=r0 offset=-801 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=3066 dst=r0 src=r0 offset=-801 imm=0 +#line 285 "sample/undocked/map.c" goto label_143; label_188: // EBPF_OP_LDXW pc=3067 dst=r3 src=r10 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3068 dst=r3 src=r0 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_189; - // EBPF_OP_JA pc=3069 dst=r0 src=r0 offset=-778 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=3069 dst=r0 src=r0 offset=-778 imm=0 +#line 285 "sample/undocked/map.c" goto label_145; label_189: // EBPF_OP_MOV64_IMM pc=3070 dst=r6 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_JA pc=3071 dst=r0 src=r0 offset=-2970 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_9; -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_btf_dll.c b/tests/bpf2c_tests/expected/map_in_map_btf_dll.c index 2673dbe0c0..4f1acc899c 100644 --- a/tests/bpf2c_tests/expected/map_in_map_btf_dll.c +++ b/tests/bpf2c_tests/expected/map_in_map_btf_dll.c @@ -87,107 +87,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" { -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" // Prologue -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r0 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r1 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r2 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r3 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r4 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r5 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r6 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r10 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r1 = (uintptr_t)context; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" r0 = lookup_helpers[0].address -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" (r1, r2, r3, r4, r5); -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 40 "sample/map_in_map_btf.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 40 "sample/undocked/map_in_map_btf.c" if (r0 == IMMEDIATE(0)) -#line 40 "sample/map_in_map_btf.c" +#line 40 "sample/undocked/map_in_map_btf.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 40 "sample/map_in_map_btf.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/map_in_map_btf.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" r0 = lookup_helpers[0].address -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" (r1, r2, r3, r4, r5); -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_btf.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_btf.c" if (r0 != IMMEDIATE(0)) -#line 43 "sample/map_in_map_btf.c" +#line 43 "sample/undocked/map_in_map_btf.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_btf.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_btf.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 44 "sample/map_in_map_btf.c" +#line 44 "sample/undocked/map_in_map_btf.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" return r0; -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_btf_raw.c b/tests/bpf2c_tests/expected/map_in_map_btf_raw.c index ab700ae6f5..43c25c8065 100644 --- a/tests/bpf2c_tests/expected/map_in_map_btf_raw.c +++ b/tests/bpf2c_tests/expected/map_in_map_btf_raw.c @@ -61,107 +61,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" { -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" // Prologue -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r0 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r1 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r2 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r3 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r4 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r5 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r6 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r10 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r1 = (uintptr_t)context; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" r0 = lookup_helpers[0].address -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" (r1, r2, r3, r4, r5); -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 40 "sample/map_in_map_btf.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 40 "sample/undocked/map_in_map_btf.c" if (r0 == IMMEDIATE(0)) -#line 40 "sample/map_in_map_btf.c" +#line 40 "sample/undocked/map_in_map_btf.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 40 "sample/map_in_map_btf.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/map_in_map_btf.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" r0 = lookup_helpers[0].address -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" (r1, r2, r3, r4, r5); -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_btf.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_btf.c" if (r0 != IMMEDIATE(0)) -#line 43 "sample/map_in_map_btf.c" +#line 43 "sample/undocked/map_in_map_btf.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_btf.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_btf.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 44 "sample/map_in_map_btf.c" +#line 44 "sample/undocked/map_in_map_btf.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" return r0; -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_btf_sys.c b/tests/bpf2c_tests/expected/map_in_map_btf_sys.c index e76757bdca..ba56e12b32 100644 --- a/tests/bpf2c_tests/expected/map_in_map_btf_sys.c +++ b/tests/bpf2c_tests/expected/map_in_map_btf_sys.c @@ -222,107 +222,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" { -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" // Prologue -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r0 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r1 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r2 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r3 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r4 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r5 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r6 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" register uint64_t r10 = 0; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r1 = (uintptr_t)context; -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_btf.c" +#line 36 "sample/undocked/map_in_map_btf.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/map_in_map_btf.c" +#line 38 "sample/undocked/map_in_map_btf.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" r0 = lookup_helpers[0].address -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" (r1, r2, r3, r4, r5); -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/map_in_map_btf.c" +#line 39 "sample/undocked/map_in_map_btf.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 40 "sample/map_in_map_btf.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 40 "sample/undocked/map_in_map_btf.c" if (r0 == IMMEDIATE(0)) -#line 40 "sample/map_in_map_btf.c" +#line 40 "sample/undocked/map_in_map_btf.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 40 "sample/map_in_map_btf.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/map_in_map_btf.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 41 "sample/map_in_map_btf.c" +#line 41 "sample/undocked/map_in_map_btf.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" r0 = lookup_helpers[0].address -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" (r1, r2, r3, r4, r5); -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 42 "sample/map_in_map_btf.c" +#line 42 "sample/undocked/map_in_map_btf.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_btf.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_btf.c" if (r0 != IMMEDIATE(0)) -#line 43 "sample/map_in_map_btf.c" +#line 43 "sample/undocked/map_in_map_btf.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_btf.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_btf.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 44 "sample/map_in_map_btf.c" +#line 44 "sample/undocked/map_in_map_btf.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" return r0; -#line 48 "sample/map_in_map_btf.c" +#line 48 "sample/undocked/map_in_map_btf.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_legacy_id_dll.c b/tests/bpf2c_tests/expected/map_in_map_legacy_id_dll.c index bfdad0c057..8a971e0102 100644 --- a/tests/bpf2c_tests/expected/map_in_map_legacy_id_dll.c +++ b/tests/bpf2c_tests/expected/map_in_map_legacy_id_dll.c @@ -87,107 +87,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" { -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" // Prologue -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r0 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r1 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r2 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r3 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r4 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r5 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r6 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r10 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r1 = (uintptr_t)context; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" r0 = lookup_helpers[0].address -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" (r1, r2, r3, r4, r5); -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 40 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 40 "sample/undocked/map_in_map_legacy_id.c" if (r0 == IMMEDIATE(0)) -#line 40 "sample/map_in_map_legacy_id.c" +#line 40 "sample/undocked/map_in_map_legacy_id.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 40 "sample/map_in_map_legacy_id.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/map_in_map_legacy_id.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" r0 = lookup_helpers[0].address -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" (r1, r2, r3, r4, r5); -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_legacy_id.c" if (r0 != IMMEDIATE(0)) -#line 43 "sample/map_in_map_legacy_id.c" +#line 43 "sample/undocked/map_in_map_legacy_id.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_legacy_id.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 44 "sample/map_in_map_legacy_id.c" +#line 44 "sample/undocked/map_in_map_legacy_id.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" return r0; -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_legacy_id_raw.c b/tests/bpf2c_tests/expected/map_in_map_legacy_id_raw.c index 3056346512..128ddd5a43 100644 --- a/tests/bpf2c_tests/expected/map_in_map_legacy_id_raw.c +++ b/tests/bpf2c_tests/expected/map_in_map_legacy_id_raw.c @@ -61,107 +61,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" { -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" // Prologue -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r0 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r1 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r2 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r3 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r4 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r5 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r6 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r10 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r1 = (uintptr_t)context; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" r0 = lookup_helpers[0].address -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" (r1, r2, r3, r4, r5); -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 40 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 40 "sample/undocked/map_in_map_legacy_id.c" if (r0 == IMMEDIATE(0)) -#line 40 "sample/map_in_map_legacy_id.c" +#line 40 "sample/undocked/map_in_map_legacy_id.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 40 "sample/map_in_map_legacy_id.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/map_in_map_legacy_id.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" r0 = lookup_helpers[0].address -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" (r1, r2, r3, r4, r5); -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_legacy_id.c" if (r0 != IMMEDIATE(0)) -#line 43 "sample/map_in_map_legacy_id.c" +#line 43 "sample/undocked/map_in_map_legacy_id.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_legacy_id.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 44 "sample/map_in_map_legacy_id.c" +#line 44 "sample/undocked/map_in_map_legacy_id.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" return r0; -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_legacy_id_sys.c b/tests/bpf2c_tests/expected/map_in_map_legacy_id_sys.c index 38b91899b0..ac4be508c8 100644 --- a/tests/bpf2c_tests/expected/map_in_map_legacy_id_sys.c +++ b/tests/bpf2c_tests/expected/map_in_map_legacy_id_sys.c @@ -222,107 +222,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" { -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" // Prologue -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r0 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r1 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r2 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r3 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r4 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r5 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r6 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" register uint64_t r10 = 0; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r1 = (uintptr_t)context; -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_legacy_id.c" +#line 36 "sample/undocked/map_in_map_legacy_id.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/map_in_map_legacy_id.c" +#line 38 "sample/undocked/map_in_map_legacy_id.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" r0 = lookup_helpers[0].address -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" (r1, r2, r3, r4, r5); -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/map_in_map_legacy_id.c" +#line 39 "sample/undocked/map_in_map_legacy_id.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 40 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 40 "sample/undocked/map_in_map_legacy_id.c" if (r0 == IMMEDIATE(0)) -#line 40 "sample/map_in_map_legacy_id.c" +#line 40 "sample/undocked/map_in_map_legacy_id.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 40 "sample/map_in_map_legacy_id.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/map_in_map_legacy_id.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 41 "sample/map_in_map_legacy_id.c" +#line 41 "sample/undocked/map_in_map_legacy_id.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" r0 = lookup_helpers[0].address -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" (r1, r2, r3, r4, r5); -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 42 "sample/map_in_map_legacy_id.c" +#line 42 "sample/undocked/map_in_map_legacy_id.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_legacy_id.c" if (r0 != IMMEDIATE(0)) -#line 43 "sample/map_in_map_legacy_id.c" +#line 43 "sample/undocked/map_in_map_legacy_id.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 43 "sample/map_in_map_legacy_id.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 43 "sample/undocked/map_in_map_legacy_id.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 44 "sample/map_in_map_legacy_id.c" +#line 44 "sample/undocked/map_in_map_legacy_id.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" return r0; -#line 48 "sample/map_in_map_legacy_id.c" +#line 48 "sample/undocked/map_in_map_legacy_id.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_legacy_idx_dll.c b/tests/bpf2c_tests/expected/map_in_map_legacy_idx_dll.c index 59512b2d43..efbe578dfd 100644 --- a/tests/bpf2c_tests/expected/map_in_map_legacy_idx_dll.c +++ b/tests/bpf2c_tests/expected/map_in_map_legacy_idx_dll.c @@ -87,107 +87,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" { -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" // Prologue -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r0 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r1 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r2 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r3 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r4 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r5 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r6 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r10 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r1 = (uintptr_t)context; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" r0 = lookup_helpers[0].address -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" (r1, r2, r3, r4, r5); -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 34 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 34 "sample/undocked/map_in_map_legacy_idx.c" if (r0 == IMMEDIATE(0)) -#line 34 "sample/map_in_map_legacy_idx.c" +#line 34 "sample/undocked/map_in_map_legacy_idx.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 34 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 34 "sample/undocked/map_in_map_legacy_idx.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" r0 = lookup_helpers[0].address -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" (r1, r2, r3, r4, r5); -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 37 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 37 "sample/undocked/map_in_map_legacy_idx.c" if (r0 != IMMEDIATE(0)) -#line 37 "sample/map_in_map_legacy_idx.c" +#line 37 "sample/undocked/map_in_map_legacy_idx.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 37 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 37 "sample/undocked/map_in_map_legacy_idx.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 38 "sample/map_in_map_legacy_idx.c" +#line 38 "sample/undocked/map_in_map_legacy_idx.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" return r0; -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_legacy_idx_raw.c b/tests/bpf2c_tests/expected/map_in_map_legacy_idx_raw.c index f2cf84e214..708a076446 100644 --- a/tests/bpf2c_tests/expected/map_in_map_legacy_idx_raw.c +++ b/tests/bpf2c_tests/expected/map_in_map_legacy_idx_raw.c @@ -61,107 +61,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" { -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" // Prologue -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r0 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r1 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r2 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r3 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r4 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r5 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r6 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r10 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r1 = (uintptr_t)context; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" r0 = lookup_helpers[0].address -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" (r1, r2, r3, r4, r5); -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 34 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 34 "sample/undocked/map_in_map_legacy_idx.c" if (r0 == IMMEDIATE(0)) -#line 34 "sample/map_in_map_legacy_idx.c" +#line 34 "sample/undocked/map_in_map_legacy_idx.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 34 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 34 "sample/undocked/map_in_map_legacy_idx.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" r0 = lookup_helpers[0].address -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" (r1, r2, r3, r4, r5); -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 37 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 37 "sample/undocked/map_in_map_legacy_idx.c" if (r0 != IMMEDIATE(0)) -#line 37 "sample/map_in_map_legacy_idx.c" +#line 37 "sample/undocked/map_in_map_legacy_idx.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 37 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 37 "sample/undocked/map_in_map_legacy_idx.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 38 "sample/map_in_map_legacy_idx.c" +#line 38 "sample/undocked/map_in_map_legacy_idx.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" return r0; -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_in_map_legacy_idx_sys.c b/tests/bpf2c_tests/expected/map_in_map_legacy_idx_sys.c index 9d8a072a9d..08855eab21 100644 --- a/tests/bpf2c_tests/expected/map_in_map_legacy_idx_sys.c +++ b/tests/bpf2c_tests/expected/map_in_map_legacy_idx_sys.c @@ -222,107 +222,107 @@ static uint16_t lookup_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup(void* context) -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" { -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" // Prologue -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r0 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r1 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r2 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r3 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r4 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r5 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r6 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" register uint64_t r10 = 0; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r1 = (uintptr_t)context; -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 30 "sample/map_in_map_legacy_idx.c" +#line 30 "sample/undocked/map_in_map_legacy_idx.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 32 "sample/map_in_map_legacy_idx.c" +#line 32 "sample/undocked/map_in_map_legacy_idx.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" r0 = lookup_helpers[0].address -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" (r1, r2, r3, r4, r5); -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 33 "sample/map_in_map_legacy_idx.c" +#line 33 "sample/undocked/map_in_map_legacy_idx.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 -#line 34 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=9 imm=0 +#line 34 "sample/undocked/map_in_map_legacy_idx.c" if (r0 == IMMEDIATE(0)) -#line 34 "sample/map_in_map_legacy_idx.c" +#line 34 "sample/undocked/map_in_map_legacy_idx.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 34 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 34 "sample/undocked/map_in_map_legacy_idx.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 35 "sample/map_in_map_legacy_idx.c" +#line 35 "sample/undocked/map_in_map_legacy_idx.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" r0 = lookup_helpers[0].address -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" (r1, r2, r3, r4, r5); -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" if ((lookup_helpers[0].tail_call) && (r0 == 0)) -#line 36 "sample/map_in_map_legacy_idx.c" +#line 36 "sample/undocked/map_in_map_legacy_idx.c" return 0; - // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 -#line 37 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JNE_IMM pc=14 dst=r0 src=r0 offset=1 imm=0 +#line 37 "sample/undocked/map_in_map_legacy_idx.c" if (r0 != IMMEDIATE(0)) -#line 37 "sample/map_in_map_legacy_idx.c" +#line 37 "sample/undocked/map_in_map_legacy_idx.c" goto label_1; - // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 -#line 37 "sample/map_in_map_legacy_idx.c" + // EBPF_OP_JA pc=15 dst=r0 src=r0 offset=1 imm=0 +#line 37 "sample/undocked/map_in_map_legacy_idx.c" goto label_2; label_1: // EBPF_OP_LDXW pc=16 dst=r6 src=r0 offset=0 imm=0 -#line 38 "sample/map_in_map_legacy_idx.c" +#line 38 "sample/undocked/map_in_map_legacy_idx.c" r6 = *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=17 dst=r0 src=r6 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" r0 = r6; // EBPF_OP_EXIT pc=18 dst=r0 src=r0 offset=0 imm=0 -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" return r0; -#line 42 "sample/map_in_map_legacy_idx.c" +#line 42 "sample/undocked/map_in_map_legacy_idx.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_raw.c b/tests/bpf2c_tests/expected/map_raw.c index b573dc8be9..98634415e1 100644 --- a/tests/bpf2c_tests/expected/map_raw.c +++ b/tests/bpf2c_tests/expected/map_raw.c @@ -151,9050 +151,9050 @@ static uint16_t test_maps_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_maps(void* context) -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" { -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" // Prologue -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r0 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r1 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r2 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r3 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r4 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r5 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r6 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r7 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r8 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r10 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r1 = (uintptr_t)context; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=2 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=3 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=6 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=10 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=12 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=12 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=13 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=14 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=15 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=16 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_2; label_1: // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=20 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=22 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=23 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=25 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_5; label_2: // EBPF_OP_MOV64_REG pc=26 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=27 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=28 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=30 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=31 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=31 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_4; - // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=33 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=34 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=36 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=37 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=39 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=40 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=42 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=43 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=45 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=46 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=47 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=48 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_3: // EBPF_OP_CALL pc=49 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=50 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=50 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=52 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_6; label_4: // EBPF_OP_MOV64_REG pc=53 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=54 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=55 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=57 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=58 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=58 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=59 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=60 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=61 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=62 dst=r3 src=r0 offset=41 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_10; - // EBPF_OP_LDDW pc=63 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=63 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=65 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=66 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=68 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=69 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_5: // EBPF_OP_STXDW pc=71 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=72 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=74 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=75 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=76 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=77 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=78 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_6: // EBPF_OP_MOV64_IMM pc=79 dst=r1 src=r0 offset=0 imm=100 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=80 dst=r10 src=r1 offset=-28 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=81 dst=r1 src=r0 offset=0 imm=622879845 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=82 dst=r10 src=r1 offset=-32 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=83 dst=r1 src=r0 offset=0 imm=1701978184 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722056; // EBPF_OP_STXDW pc=85 dst=r10 src=r1 offset=-40 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=86 dst=r1 src=r0 offset=0 imm=1885433120 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)5999155482795797792; // EBPF_OP_STXDW pc=88 dst=r10 src=r1 offset=-48 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=89 dst=r1 src=r0 offset=0 imm=1279349317 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=91 dst=r10 src=r1 offset=-56 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=92 dst=r1 src=r0 offset=0 imm=1953719636 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; label_7: // EBPF_OP_STXDW pc=94 dst=r10 src=r1 offset=-64 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=95 dst=r3 src=r6 offset=0 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=96 dst=r3 src=r0 offset=0 imm=32 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=97 dst=r3 src=r0 offset=0 imm=32 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=98 dst=r1 src=r10 offset=0 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=99 dst=r1 src=r0 offset=0 imm=-64 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=100 dst=r2 src=r0 offset=0 imm=38 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r2 = IMMEDIATE(38); label_8: // EBPF_OP_CALL pc=101 dst=r0 src=r0 offset=0 imm=13 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" return 0; label_9: // EBPF_OP_MOV64_REG pc=102 dst=r0 src=r6 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r0 = r6; // EBPF_OP_EXIT pc=103 dst=r0 src=r0 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" return r0; label_10: // EBPF_OP_MOV64_REG pc=104 dst=r2 src=r10 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=105 dst=r2 src=r0 offset=0 imm=-4 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=106 dst=r3 src=r10 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=107 dst=r3 src=r0 offset=0 imm=-68 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=108 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=110 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=111 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=112 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=112 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=113 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=114 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=115 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=116 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_11; - // EBPF_OP_JA pc=117 dst=r0 src=r0 offset=-101 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=117 dst=r0 src=r0 offset=-101 imm=0 +#line 93 "sample/undocked/map.c" goto label_1; label_11: // EBPF_OP_MOV64_REG pc=118 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=119 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=120 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=122 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=123 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=123 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_12; - // EBPF_OP_MOV64_IMM pc=124 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=124 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=125 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=126 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=127 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=128 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=130 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=131 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=133 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=134 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=136 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=137 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=139 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=140 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=142 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=143 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=144 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=145 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=146 dst=r0 src=r0 offset=-98 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_3; label_12: // EBPF_OP_MOV64_IMM pc=147 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=148 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=149 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=150 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=151 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=152 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=153 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=154 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=155 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=157 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=158 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=159 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=159 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=160 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=161 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=162 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=163 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_14; label_13: // EBPF_OP_LDDW pc=164 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=166 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=167 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=169 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=170 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=172 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_17; label_14: // EBPF_OP_MOV64_REG pc=173 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=174 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=175 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=177 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=178 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=178 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_16; - // EBPF_OP_MOV64_IMM pc=179 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=179 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=180 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=181 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=183 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=184 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=186 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=187 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=189 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=190 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=192 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=193 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=194 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=195 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_15: // EBPF_OP_CALL pc=196 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=197 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=197 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=199 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_18; label_16: // EBPF_OP_MOV64_REG pc=200 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=201 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=202 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=204 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=205 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=205 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=206 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=207 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=208 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=209 dst=r3 src=r0 offset=42 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_20; - // EBPF_OP_LDDW pc=210 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=210 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=212 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=213 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=215 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=216 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_17: // EBPF_OP_STXDW pc=218 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=219 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=221 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=222 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=223 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=224 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=225 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_18: // EBPF_OP_MOV64_IMM pc=226 dst=r1 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=227 dst=r10 src=r1 offset=-20 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=228 dst=r1 src=r0 offset=0 imm=1680154724 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = IMMEDIATE(1680154724); // EBPF_OP_STXW pc=229 dst=r10 src=r1 offset=-24 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=230 dst=r1 src=r0 offset=0 imm=1952805408 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)7308905094058439200; // EBPF_OP_STXDW pc=232 dst=r10 src=r1 offset=-32 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=233 dst=r1 src=r0 offset=0 imm=1599426627 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5211580972890673219; // EBPF_OP_STXDW pc=235 dst=r10 src=r1 offset=-40 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=236 dst=r1 src=r0 offset=0 imm=1885433120 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5928232584757734688; // EBPF_OP_STXDW pc=238 dst=r10 src=r1 offset=-48 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=239 dst=r1 src=r0 offset=0 imm=1279349317 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=241 dst=r10 src=r1 offset=-56 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=242 dst=r1 src=r0 offset=0 imm=1953719636 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; label_19: // EBPF_OP_STXDW pc=244 dst=r10 src=r1 offset=-64 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=245 dst=r3 src=r6 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=246 dst=r3 src=r0 offset=0 imm=32 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=247 dst=r3 src=r0 offset=0 imm=32 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=248 dst=r1 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=249 dst=r1 src=r0 offset=0 imm=-64 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=250 dst=r2 src=r0 offset=0 imm=45 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=251 dst=r0 src=r0 offset=-151 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" goto label_8; label_20: // EBPF_OP_MOV64_REG pc=252 dst=r2 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=253 dst=r2 src=r0 offset=0 imm=-4 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=254 dst=r3 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=255 dst=r3 src=r0 offset=0 imm=-68 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=256 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=258 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=259 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=260 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=260 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=261 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=262 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=263 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=264 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_21; - // EBPF_OP_JA pc=265 dst=r0 src=r0 offset=-102 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=265 dst=r0 src=r0 offset=-102 imm=0 +#line 93 "sample/undocked/map.c" goto label_13; label_21: // EBPF_OP_MOV64_REG pc=266 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=267 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=268 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=270 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=271 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=271 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_22; - // EBPF_OP_MOV64_IMM pc=272 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=272 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=273 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=274 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=275 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=276 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=278 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=279 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=281 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=282 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=284 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=285 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=287 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=288 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=290 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=291 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=292 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=293 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=294 dst=r0 src=r0 offset=-99 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_15; label_22: // EBPF_OP_MOV64_IMM pc=295 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=296 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=297 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=298 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=299 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=300 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=301 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=302 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=303 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_MOV64_IMM pc=305 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=306 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=307 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=307 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=308 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=309 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=310 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=311 dst=r3 src=r0 offset=1 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_23; - // EBPF_OP_JA pc=312 dst=r0 src=r0 offset=60 imm=0 -#line 75 "sample/map.c" + // EBPF_OP_JA pc=312 dst=r0 src=r0 offset=60 imm=0 +#line 75 "sample/undocked/map.c" goto label_26; label_23: // EBPF_OP_MOV64_REG pc=313 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=314 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=315 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_CALL pc=317 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=318 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=318 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_24; - // EBPF_OP_MOV64_IMM pc=319 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=319 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=320 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=321 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=323 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=324 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=326 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=327 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=329 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=330 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=332 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=333 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=334 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=335 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); // EBPF_OP_CALL pc=336 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=337 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=337 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=339 dst=r0 src=r0 offset=49 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_28; label_24: // EBPF_OP_MOV64_REG pc=340 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=341 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=342 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_CALL pc=344 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=345 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=345 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=346 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=347 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=348 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=349 dst=r3 src=r0 offset=9 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_25; - // EBPF_OP_LDDW pc=350 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=350 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=352 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=353 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=355 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=356 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; // EBPF_OP_JA pc=358 dst=r0 src=r0 offset=22 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" goto label_27; label_25: // EBPF_OP_MOV64_REG pc=359 dst=r2 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=360 dst=r2 src=r0 offset=0 imm=-4 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=361 dst=r3 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=362 dst=r3 src=r0 offset=0 imm=-68 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=363 dst=r7 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=364 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_MOV64_IMM pc=366 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=367 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=368 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=368 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=369 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=370 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=371 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=372 dst=r3 src=r0 offset=41 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_29; label_26: // EBPF_OP_LDDW pc=373 dst=r1 src=r0 offset=0 imm=1684369010 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=375 dst=r10 src=r1 offset=-40 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=376 dst=r1 src=r0 offset=0 imm=544040300 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=378 dst=r10 src=r1 offset=-48 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=379 dst=r1 src=r0 offset=0 imm=1633972341 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; label_27: // EBPF_OP_STXDW pc=381 dst=r10 src=r1 offset=-56 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=382 dst=r1 src=r0 offset=0 imm=1600548962 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=384 dst=r10 src=r1 offset=-64 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=385 dst=r1 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=386 dst=r1 src=r0 offset=0 imm=-64 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=387 dst=r2 src=r0 offset=0 imm=32 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=388 dst=r0 src=r0 offset=0 imm=13 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" return 0; label_28: // EBPF_OP_MOV64_IMM pc=389 dst=r1 src=r0 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=390 dst=r10 src=r1 offset=-26 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-26)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=391 dst=r1 src=r0 offset=0 imm=25637 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=392 dst=r10 src=r1 offset=-28 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=393 dst=r1 src=r0 offset=0 imm=543450478 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=394 dst=r10 src=r1 offset=-32 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=395 dst=r1 src=r0 offset=0 imm=1914722625 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)8247626271654172993; // EBPF_OP_STXDW pc=397 dst=r10 src=r1 offset=-40 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=398 dst=r1 src=r0 offset=0 imm=1885433120 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)5931875266780556576; // EBPF_OP_STXDW pc=400 dst=r10 src=r1 offset=-48 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=401 dst=r1 src=r0 offset=0 imm=1279349317 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=403 dst=r10 src=r1 offset=-56 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=404 dst=r1 src=r0 offset=0 imm=1953719636 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=406 dst=r10 src=r1 offset=-64 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=407 dst=r3 src=r6 offset=0 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=408 dst=r3 src=r0 offset=0 imm=32 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=409 dst=r3 src=r0 offset=0 imm=32 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=410 dst=r1 src=r10 offset=0 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=411 dst=r1 src=r0 offset=0 imm=-64 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=412 dst=r2 src=r0 offset=0 imm=39 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r2 = IMMEDIATE(39); // EBPF_OP_JA pc=413 dst=r0 src=r0 offset=-313 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" goto label_8; label_29: // EBPF_OP_STXW pc=414 dst=r10 src=r7 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=415 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=416 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=417 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=418 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=419 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=420 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=421 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_MOV64_IMM pc=423 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=424 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=425 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=425 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=426 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=427 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=428 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=429 dst=r3 src=r0 offset=1 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_30; - // EBPF_OP_JA pc=430 dst=r0 src=r0 offset=60 imm=0 -#line 75 "sample/map.c" + // EBPF_OP_JA pc=430 dst=r0 src=r0 offset=60 imm=0 +#line 75 "sample/undocked/map.c" goto label_33; label_30: // EBPF_OP_MOV64_REG pc=431 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=432 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=433 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_CALL pc=435 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=436 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=436 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_31; - // EBPF_OP_MOV64_IMM pc=437 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=437 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=438 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=439 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=441 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=442 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=444 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=445 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=447 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=448 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=450 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=451 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=452 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=453 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); // EBPF_OP_CALL pc=454 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=455 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=455 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=457 dst=r0 src=r0 offset=49 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_35; label_31: // EBPF_OP_MOV64_REG pc=458 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=459 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=460 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_CALL pc=462 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=463 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=463 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=464 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=465 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=466 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=467 dst=r3 src=r0 offset=9 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_32; - // EBPF_OP_LDDW pc=468 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=468 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=470 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=471 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=473 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=474 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; // EBPF_OP_JA pc=476 dst=r0 src=r0 offset=22 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" goto label_34; label_32: // EBPF_OP_MOV64_REG pc=477 dst=r2 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=478 dst=r2 src=r0 offset=0 imm=-4 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=479 dst=r3 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=480 dst=r3 src=r0 offset=0 imm=-68 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=481 dst=r7 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=482 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_MOV64_IMM pc=484 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=485 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=486 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=486 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=487 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=488 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=489 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=490 dst=r3 src=r0 offset=42 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_36; label_33: // EBPF_OP_LDDW pc=491 dst=r1 src=r0 offset=0 imm=1684369010 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=493 dst=r10 src=r1 offset=-40 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=494 dst=r1 src=r0 offset=0 imm=544040300 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=496 dst=r10 src=r1 offset=-48 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=497 dst=r1 src=r0 offset=0 imm=1633972341 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; label_34: // EBPF_OP_STXDW pc=499 dst=r10 src=r1 offset=-56 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=500 dst=r1 src=r0 offset=0 imm=1600548962 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=502 dst=r10 src=r1 offset=-64 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=503 dst=r1 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=504 dst=r1 src=r0 offset=0 imm=-64 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=505 dst=r2 src=r0 offset=0 imm=32 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=506 dst=r0 src=r0 offset=0 imm=13 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" return 0; label_35: // EBPF_OP_MOV64_IMM pc=507 dst=r1 src=r0 offset=0 imm=100 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=508 dst=r10 src=r1 offset=-20 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=509 dst=r1 src=r0 offset=0 imm=622879845 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=510 dst=r10 src=r1 offset=-24 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=511 dst=r1 src=r0 offset=0 imm=1701978201 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722073; // EBPF_OP_STXDW pc=513 dst=r10 src=r1 offset=-32 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=514 dst=r1 src=r0 offset=0 imm=1599426627 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)4706915001281368131; // EBPF_OP_STXDW pc=516 dst=r10 src=r1 offset=-40 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=517 dst=r1 src=r0 offset=0 imm=1885433120 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)5928232584757734688; // EBPF_OP_STXDW pc=519 dst=r10 src=r1 offset=-48 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=520 dst=r1 src=r0 offset=0 imm=1279349317 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=522 dst=r10 src=r1 offset=-56 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=523 dst=r1 src=r0 offset=0 imm=1953719636 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=525 dst=r10 src=r1 offset=-64 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=526 dst=r3 src=r6 offset=0 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=527 dst=r3 src=r0 offset=0 imm=32 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=528 dst=r3 src=r0 offset=0 imm=32 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=529 dst=r1 src=r10 offset=0 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=530 dst=r1 src=r0 offset=0 imm=-64 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=531 dst=r2 src=r0 offset=0 imm=46 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r2 = IMMEDIATE(46); // EBPF_OP_JA pc=532 dst=r0 src=r0 offset=-432 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" goto label_8; label_36: // EBPF_OP_STXW pc=533 dst=r10 src=r7 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=534 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=535 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=536 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=537 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=538 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=539 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=540 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=542 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=543 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=544 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=544 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=545 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=546 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=547 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=548 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_38; label_37: // EBPF_OP_LDDW pc=549 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=551 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=552 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=554 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=555 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=557 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_41; label_38: // EBPF_OP_MOV64_REG pc=558 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=559 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=560 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=562 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=563 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=563 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_40; - // EBPF_OP_MOV64_IMM pc=564 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=564 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=565 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=566 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=568 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=569 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=571 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=572 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=574 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=575 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=577 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=578 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=579 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=580 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_39: // EBPF_OP_CALL pc=581 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=582 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=582 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=584 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_42; label_40: // EBPF_OP_MOV64_REG pc=585 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=586 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=587 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=589 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=590 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=590 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=591 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=592 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=593 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=594 dst=r3 src=r0 offset=40 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_43; - // EBPF_OP_LDDW pc=595 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=595 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=597 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=598 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=600 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=601 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_41: // EBPF_OP_STXDW pc=603 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=604 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=606 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=607 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=608 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=609 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=610 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_42: // EBPF_OP_MOV64_IMM pc=611 dst=r1 src=r0 offset=0 imm=100 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=612 dst=r10 src=r1 offset=-24 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint16_t)r1; // EBPF_OP_LDDW pc=613 dst=r1 src=r0 offset=0 imm=1852994932 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=615 dst=r10 src=r1 offset=-32 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=616 dst=r1 src=r0 offset=0 imm=1396787295 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)7309940640182257759; // EBPF_OP_STXDW pc=618 dst=r10 src=r1 offset=-40 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=619 dst=r1 src=r0 offset=0 imm=1885433120 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)6148060143522245920; // EBPF_OP_STXDW pc=621 dst=r10 src=r1 offset=-48 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=622 dst=r1 src=r0 offset=0 imm=1279349317 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=624 dst=r10 src=r1 offset=-56 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=625 dst=r1 src=r0 offset=0 imm=1953719636 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=627 dst=r10 src=r1 offset=-64 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=628 dst=r3 src=r6 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=629 dst=r3 src=r0 offset=0 imm=32 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=630 dst=r3 src=r0 offset=0 imm=32 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=631 dst=r1 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=632 dst=r1 src=r0 offset=0 imm=-64 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=633 dst=r2 src=r0 offset=0 imm=42 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 = IMMEDIATE(42); // EBPF_OP_JA pc=634 dst=r0 src=r0 offset=-534 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" goto label_8; label_43: // EBPF_OP_MOV64_REG pc=635 dst=r2 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=636 dst=r2 src=r0 offset=0 imm=-4 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=637 dst=r3 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=638 dst=r3 src=r0 offset=0 imm=-68 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=639 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=641 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=642 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=643 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=643 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=644 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=645 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=646 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=647 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_44; - // EBPF_OP_JA pc=648 dst=r0 src=r0 offset=-100 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=648 dst=r0 src=r0 offset=-100 imm=0 +#line 93 "sample/undocked/map.c" goto label_37; label_44: // EBPF_OP_MOV64_REG pc=649 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=650 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=651 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=653 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=654 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=654 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_45; - // EBPF_OP_MOV64_IMM pc=655 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=655 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=656 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=657 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=658 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=659 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=661 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=662 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=664 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=665 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=667 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=668 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=670 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=671 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=673 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=674 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=675 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=676 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=677 dst=r0 src=r0 offset=-97 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_39; label_45: // EBPF_OP_MOV64_IMM pc=678 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=679 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=680 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=681 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=682 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=683 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=684 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=685 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=686 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=688 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=689 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=690 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=690 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=691 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=692 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=693 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=694 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_47; label_46: // EBPF_OP_LDDW pc=695 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=697 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=698 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=700 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=701 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=703 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_50; label_47: // EBPF_OP_MOV64_REG pc=704 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=705 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=706 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=708 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=709 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=709 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_49; - // EBPF_OP_MOV64_IMM pc=710 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=710 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=711 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=712 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=714 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=715 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=717 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=718 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=720 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=721 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=723 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=724 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=725 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=726 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_48: // EBPF_OP_CALL pc=727 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=728 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=728 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=730 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_51; label_49: // EBPF_OP_MOV64_REG pc=731 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=732 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=733 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=735 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=736 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=736 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=737 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=738 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=739 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=740 dst=r3 src=r0 offset=43 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_52; - // EBPF_OP_LDDW pc=741 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=741 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=743 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=744 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=746 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=747 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_50: // EBPF_OP_STXDW pc=749 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=750 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=752 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=753 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=754 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=755 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=756 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_51: // EBPF_OP_MOV64_IMM pc=757 dst=r1 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=758 dst=r10 src=r1 offset=-16 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r1; // EBPF_OP_LDDW pc=759 dst=r1 src=r0 offset=0 imm=1701737077 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=761 dst=r10 src=r1 offset=-24 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=762 dst=r1 src=r0 offset=0 imm=1213415752 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)8387235364025352520; // EBPF_OP_STXDW pc=764 dst=r10 src=r1 offset=-32 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=765 dst=r1 src=r0 offset=0 imm=1380274271 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)6869485056696864863; // EBPF_OP_STXDW pc=767 dst=r10 src=r1 offset=-40 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=768 dst=r1 src=r0 offset=0 imm=1885433120 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)6148060143522245920; // EBPF_OP_STXDW pc=770 dst=r10 src=r1 offset=-48 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=771 dst=r1 src=r0 offset=0 imm=1279349317 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=773 dst=r10 src=r1 offset=-56 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=774 dst=r1 src=r0 offset=0 imm=1953719636 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=776 dst=r10 src=r1 offset=-64 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=777 dst=r3 src=r6 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=778 dst=r3 src=r0 offset=0 imm=32 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=779 dst=r3 src=r0 offset=0 imm=32 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=780 dst=r1 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=781 dst=r1 src=r0 offset=0 imm=-64 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=782 dst=r2 src=r0 offset=0 imm=49 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=783 dst=r0 src=r0 offset=-683 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" goto label_8; label_52: // EBPF_OP_MOV64_REG pc=784 dst=r2 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=785 dst=r2 src=r0 offset=0 imm=-4 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=786 dst=r3 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=787 dst=r3 src=r0 offset=0 imm=-68 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=788 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=790 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=791 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=792 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=792 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=793 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=794 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=795 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=796 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_53; - // EBPF_OP_JA pc=797 dst=r0 src=r0 offset=-103 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=797 dst=r0 src=r0 offset=-103 imm=0 +#line 93 "sample/undocked/map.c" goto label_46; label_53: // EBPF_OP_MOV64_REG pc=798 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=799 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=800 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=802 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=803 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=803 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_54; - // EBPF_OP_MOV64_IMM pc=804 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=804 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=805 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=806 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=807 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=808 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=810 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=811 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=813 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=814 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=816 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=817 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=819 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=820 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=822 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=823 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=824 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=825 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=826 dst=r0 src=r0 offset=-100 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_48; label_54: // EBPF_OP_MOV64_IMM pc=827 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=828 dst=r10 src=r1 offset=-4 imm=0 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=829 dst=r7 src=r0 offset=0 imm=1 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" r7 = IMMEDIATE(1); // EBPF_OP_STXW pc=830 dst=r10 src=r7 offset=-68 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=831 dst=r2 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=832 dst=r2 src=r0 offset=0 imm=-4 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=833 dst=r3 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=834 dst=r3 src=r0 offset=0 imm=-68 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=835 dst=r1 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=837 dst=r4 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=838 dst=r0 src=r0 offset=0 imm=2 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=839 dst=r6 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" + // EBPF_OP_MOV64_REG pc=839 dst=r6 src=r0 offset=0 imm=0 +#line 129 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=840 dst=r3 src=r6 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=841 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=842 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=843 dst=r3 src=r0 offset=1 imm=-1 -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" goto label_55; - // EBPF_OP_JA pc=844 dst=r0 src=r0 offset=159 imm=0 -#line 130 "sample/map.c" + // EBPF_OP_JA pc=844 dst=r0 src=r0 offset=159 imm=0 +#line 130 "sample/undocked/map.c" goto label_65; label_55: // EBPF_OP_STXW pc=845 dst=r10 src=r7 offset=-4 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=846 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=847 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=848 dst=r3 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=849 dst=r3 src=r0 offset=0 imm=-68 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=850 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=852 dst=r4 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=853 dst=r0 src=r0 offset=0 imm=2 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=854 dst=r6 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" + // EBPF_OP_MOV64_REG pc=854 dst=r6 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=855 dst=r3 src=r6 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=856 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=857 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=858 dst=r3 src=r0 offset=1 imm=-1 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" goto label_56; - // EBPF_OP_JA pc=859 dst=r0 src=r0 offset=144 imm=0 -#line 136 "sample/map.c" + // EBPF_OP_JA pc=859 dst=r0 src=r0 offset=144 imm=0 +#line 136 "sample/undocked/map.c" goto label_65; label_56: // EBPF_OP_MOV64_IMM pc=860 dst=r1 src=r0 offset=0 imm=2 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=861 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=862 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=863 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=864 dst=r3 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=865 dst=r3 src=r0 offset=0 imm=-68 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=866 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=868 dst=r4 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=869 dst=r0 src=r0 offset=0 imm=2 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=870 dst=r6 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" + // EBPF_OP_MOV64_REG pc=870 dst=r6 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=871 dst=r3 src=r6 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=872 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=873 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=874 dst=r3 src=r0 offset=1 imm=-1 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" goto label_57; - // EBPF_OP_JA pc=875 dst=r0 src=r0 offset=128 imm=0 -#line 142 "sample/map.c" + // EBPF_OP_JA pc=875 dst=r0 src=r0 offset=128 imm=0 +#line 142 "sample/undocked/map.c" goto label_65; label_57: // EBPF_OP_MOV64_IMM pc=876 dst=r1 src=r0 offset=0 imm=3 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=877 dst=r10 src=r1 offset=-4 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=878 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=879 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=880 dst=r3 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=881 dst=r3 src=r0 offset=0 imm=-68 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=882 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=884 dst=r4 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=885 dst=r0 src=r0 offset=0 imm=2 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=886 dst=r6 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" + // EBPF_OP_MOV64_REG pc=886 dst=r6 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=887 dst=r3 src=r6 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=888 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=889 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=890 dst=r3 src=r0 offset=1 imm=-1 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" goto label_58; - // EBPF_OP_JA pc=891 dst=r0 src=r0 offset=112 imm=0 -#line 148 "sample/map.c" + // EBPF_OP_JA pc=891 dst=r0 src=r0 offset=112 imm=0 +#line 148 "sample/undocked/map.c" goto label_65; label_58: // EBPF_OP_MOV64_IMM pc=892 dst=r1 src=r0 offset=0 imm=4 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=893 dst=r10 src=r1 offset=-4 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=894 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=895 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=896 dst=r3 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=897 dst=r3 src=r0 offset=0 imm=-68 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=898 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=900 dst=r4 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=901 dst=r0 src=r0 offset=0 imm=2 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=902 dst=r6 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" + // EBPF_OP_MOV64_REG pc=902 dst=r6 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=903 dst=r3 src=r6 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=904 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=905 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=906 dst=r3 src=r0 offset=1 imm=-1 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" goto label_59; - // EBPF_OP_JA pc=907 dst=r0 src=r0 offset=96 imm=0 -#line 154 "sample/map.c" + // EBPF_OP_JA pc=907 dst=r0 src=r0 offset=96 imm=0 +#line 154 "sample/undocked/map.c" goto label_65; label_59: // EBPF_OP_MOV64_IMM pc=908 dst=r1 src=r0 offset=0 imm=5 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=909 dst=r10 src=r1 offset=-4 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=910 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=911 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=912 dst=r3 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=913 dst=r3 src=r0 offset=0 imm=-68 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=914 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=916 dst=r4 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=917 dst=r0 src=r0 offset=0 imm=2 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=918 dst=r6 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" + // EBPF_OP_MOV64_REG pc=918 dst=r6 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=919 dst=r3 src=r6 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=920 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=921 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=922 dst=r3 src=r0 offset=1 imm=-1 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" goto label_60; - // EBPF_OP_JA pc=923 dst=r0 src=r0 offset=80 imm=0 -#line 160 "sample/map.c" + // EBPF_OP_JA pc=923 dst=r0 src=r0 offset=80 imm=0 +#line 160 "sample/undocked/map.c" goto label_65; label_60: // EBPF_OP_MOV64_IMM pc=924 dst=r1 src=r0 offset=0 imm=6 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=925 dst=r10 src=r1 offset=-4 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=926 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=927 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=928 dst=r3 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=929 dst=r3 src=r0 offset=0 imm=-68 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=930 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=932 dst=r4 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=933 dst=r0 src=r0 offset=0 imm=2 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=934 dst=r6 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" + // EBPF_OP_MOV64_REG pc=934 dst=r6 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=935 dst=r3 src=r6 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=936 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=937 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=938 dst=r3 src=r0 offset=1 imm=-1 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" goto label_61; - // EBPF_OP_JA pc=939 dst=r0 src=r0 offset=64 imm=0 -#line 166 "sample/map.c" + // EBPF_OP_JA pc=939 dst=r0 src=r0 offset=64 imm=0 +#line 166 "sample/undocked/map.c" goto label_65; label_61: // EBPF_OP_MOV64_IMM pc=940 dst=r1 src=r0 offset=0 imm=7 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=941 dst=r10 src=r1 offset=-4 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=942 dst=r2 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=943 dst=r2 src=r0 offset=0 imm=-4 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=944 dst=r3 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=945 dst=r3 src=r0 offset=0 imm=-68 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=946 dst=r1 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=948 dst=r4 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=949 dst=r0 src=r0 offset=0 imm=2 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=950 dst=r6 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" + // EBPF_OP_MOV64_REG pc=950 dst=r6 src=r0 offset=0 imm=0 +#line 171 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=951 dst=r3 src=r6 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=952 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=953 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=954 dst=r3 src=r0 offset=1 imm=-1 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" goto label_62; - // EBPF_OP_JA pc=955 dst=r0 src=r0 offset=48 imm=0 -#line 172 "sample/map.c" + // EBPF_OP_JA pc=955 dst=r0 src=r0 offset=48 imm=0 +#line 172 "sample/undocked/map.c" goto label_65; label_62: // EBPF_OP_MOV64_IMM pc=956 dst=r1 src=r0 offset=0 imm=8 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=957 dst=r10 src=r1 offset=-4 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=958 dst=r2 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=959 dst=r2 src=r0 offset=0 imm=-4 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=960 dst=r3 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=961 dst=r3 src=r0 offset=0 imm=-68 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=962 dst=r1 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=964 dst=r4 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=965 dst=r0 src=r0 offset=0 imm=2 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=966 dst=r6 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" + // EBPF_OP_MOV64_REG pc=966 dst=r6 src=r0 offset=0 imm=0 +#line 177 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=967 dst=r3 src=r6 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=968 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=969 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=970 dst=r3 src=r0 offset=1 imm=-1 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" goto label_63; - // EBPF_OP_JA pc=971 dst=r0 src=r0 offset=32 imm=0 -#line 178 "sample/map.c" + // EBPF_OP_JA pc=971 dst=r0 src=r0 offset=32 imm=0 +#line 178 "sample/undocked/map.c" goto label_65; label_63: // EBPF_OP_MOV64_IMM pc=972 dst=r1 src=r0 offset=0 imm=9 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=973 dst=r10 src=r1 offset=-4 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=974 dst=r2 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=975 dst=r2 src=r0 offset=0 imm=-4 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=976 dst=r3 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=977 dst=r3 src=r0 offset=0 imm=-68 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=978 dst=r1 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=980 dst=r4 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=981 dst=r0 src=r0 offset=0 imm=2 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=982 dst=r6 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" + // EBPF_OP_MOV64_REG pc=982 dst=r6 src=r0 offset=0 imm=0 +#line 183 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=983 dst=r3 src=r6 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=984 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=985 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=986 dst=r3 src=r0 offset=1 imm=-1 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" goto label_64; - // EBPF_OP_JA pc=987 dst=r0 src=r0 offset=16 imm=0 -#line 184 "sample/map.c" + // EBPF_OP_JA pc=987 dst=r0 src=r0 offset=16 imm=0 +#line 184 "sample/undocked/map.c" goto label_65; label_64: // EBPF_OP_MOV64_IMM pc=988 dst=r1 src=r0 offset=0 imm=10 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=989 dst=r10 src=r1 offset=-4 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=990 dst=r2 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=991 dst=r2 src=r0 offset=0 imm=-4 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=992 dst=r3 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=993 dst=r3 src=r0 offset=0 imm=-68 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=994 dst=r7 src=r0 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=995 dst=r1 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=997 dst=r4 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=998 dst=r0 src=r0 offset=0 imm=2 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=999 dst=r6 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" + // EBPF_OP_MOV64_REG pc=999 dst=r6 src=r0 offset=0 imm=0 +#line 189 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1000 dst=r3 src=r6 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1001 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1002 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1003 dst=r3 src=r0 offset=32 imm=-1 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" goto label_66; label_65: // EBPF_OP_LDDW pc=1004 dst=r1 src=r0 offset=0 imm=1684369010 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1006 dst=r10 src=r1 offset=-40 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1007 dst=r1 src=r0 offset=0 imm=544040300 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=1009 dst=r10 src=r1 offset=-48 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1010 dst=r1 src=r0 offset=0 imm=1633972341 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_STXDW pc=1012 dst=r10 src=r1 offset=-56 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1013 dst=r1 src=r0 offset=0 imm=1600548962 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1015 dst=r10 src=r1 offset=-64 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1016 dst=r1 src=r10 offset=0 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1017 dst=r1 src=r0 offset=0 imm=-64 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1018 dst=r2 src=r0 offset=0 imm=32 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=1019 dst=r0 src=r0 offset=0 imm=13 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_IMM pc=1020 dst=r1 src=r0 offset=0 imm=100 -#line 190 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1020 dst=r1 src=r0 offset=0 imm=100 +#line 190 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1021 dst=r10 src=r1 offset=-28 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1022 dst=r1 src=r0 offset=0 imm=622879845 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=1023 dst=r10 src=r1 offset=-32 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1024 dst=r1 src=r0 offset=0 imm=1701978184 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722056; // EBPF_OP_STXDW pc=1026 dst=r10 src=r1 offset=-40 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1027 dst=r1 src=r0 offset=0 imm=1431456800 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)5999155752924761120; // EBPF_OP_STXDW pc=1029 dst=r10 src=r1 offset=-48 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1030 dst=r1 src=r0 offset=0 imm=1919903264 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)8097873591115146784; // EBPF_OP_STXDW pc=1032 dst=r10 src=r1 offset=-56 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1033 dst=r1 src=r0 offset=0 imm=1953719636 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)6148060143590532436; // EBPF_OP_JA pc=1035 dst=r0 src=r0 offset=-942 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" goto label_7; label_66: // EBPF_OP_STXW pc=1036 dst=r10 src=r7 offset=-4 imm=0 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=1037 dst=r7 src=r0 offset=0 imm=1 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" r7 = IMMEDIATE(1); // EBPF_OP_STXW pc=1038 dst=r10 src=r7 offset=-68 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1039 dst=r2 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1040 dst=r2 src=r0 offset=0 imm=-4 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1041 dst=r3 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1042 dst=r3 src=r0 offset=0 imm=-68 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1043 dst=r1 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1045 dst=r4 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1046 dst=r0 src=r0 offset=0 imm=2 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1047 dst=r6 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1047 dst=r6 src=r0 offset=0 imm=0 +#line 129 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1048 dst=r3 src=r6 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1049 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1050 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1051 dst=r3 src=r0 offset=1 imm=-1 -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" goto label_67; - // EBPF_OP_JA pc=1052 dst=r0 src=r0 offset=159 imm=0 -#line 130 "sample/map.c" + // EBPF_OP_JA pc=1052 dst=r0 src=r0 offset=159 imm=0 +#line 130 "sample/undocked/map.c" goto label_77; label_67: // EBPF_OP_STXW pc=1053 dst=r10 src=r7 offset=-4 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1054 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1055 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1056 dst=r3 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1057 dst=r3 src=r0 offset=0 imm=-68 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1058 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1060 dst=r4 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1061 dst=r0 src=r0 offset=0 imm=2 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1062 dst=r6 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1062 dst=r6 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1063 dst=r3 src=r6 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1064 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1065 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1066 dst=r3 src=r0 offset=1 imm=-1 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" goto label_68; - // EBPF_OP_JA pc=1067 dst=r0 src=r0 offset=144 imm=0 -#line 136 "sample/map.c" + // EBPF_OP_JA pc=1067 dst=r0 src=r0 offset=144 imm=0 +#line 136 "sample/undocked/map.c" goto label_77; label_68: // EBPF_OP_MOV64_IMM pc=1068 dst=r1 src=r0 offset=0 imm=2 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=1069 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1070 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1071 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1072 dst=r3 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1073 dst=r3 src=r0 offset=0 imm=-68 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1074 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1076 dst=r4 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1077 dst=r0 src=r0 offset=0 imm=2 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1078 dst=r6 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1078 dst=r6 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1079 dst=r3 src=r6 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1080 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1081 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1082 dst=r3 src=r0 offset=1 imm=-1 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" goto label_69; - // EBPF_OP_JA pc=1083 dst=r0 src=r0 offset=128 imm=0 -#line 142 "sample/map.c" + // EBPF_OP_JA pc=1083 dst=r0 src=r0 offset=128 imm=0 +#line 142 "sample/undocked/map.c" goto label_77; label_69: // EBPF_OP_MOV64_IMM pc=1084 dst=r1 src=r0 offset=0 imm=3 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=1085 dst=r10 src=r1 offset=-4 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1086 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1087 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1088 dst=r3 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1089 dst=r3 src=r0 offset=0 imm=-68 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1090 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1092 dst=r4 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1093 dst=r0 src=r0 offset=0 imm=2 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1094 dst=r6 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1094 dst=r6 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1095 dst=r3 src=r6 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1096 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1097 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1098 dst=r3 src=r0 offset=1 imm=-1 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" goto label_70; - // EBPF_OP_JA pc=1099 dst=r0 src=r0 offset=112 imm=0 -#line 148 "sample/map.c" + // EBPF_OP_JA pc=1099 dst=r0 src=r0 offset=112 imm=0 +#line 148 "sample/undocked/map.c" goto label_77; label_70: // EBPF_OP_MOV64_IMM pc=1100 dst=r1 src=r0 offset=0 imm=4 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=1101 dst=r10 src=r1 offset=-4 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1102 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1103 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1104 dst=r3 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1105 dst=r3 src=r0 offset=0 imm=-68 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1106 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1108 dst=r4 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1109 dst=r0 src=r0 offset=0 imm=2 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1110 dst=r6 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1110 dst=r6 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1111 dst=r3 src=r6 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1112 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1113 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1114 dst=r3 src=r0 offset=1 imm=-1 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" goto label_71; - // EBPF_OP_JA pc=1115 dst=r0 src=r0 offset=96 imm=0 -#line 154 "sample/map.c" + // EBPF_OP_JA pc=1115 dst=r0 src=r0 offset=96 imm=0 +#line 154 "sample/undocked/map.c" goto label_77; label_71: // EBPF_OP_MOV64_IMM pc=1116 dst=r1 src=r0 offset=0 imm=5 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=1117 dst=r10 src=r1 offset=-4 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1118 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1119 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1120 dst=r3 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1121 dst=r3 src=r0 offset=0 imm=-68 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1122 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1124 dst=r4 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1125 dst=r0 src=r0 offset=0 imm=2 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1126 dst=r6 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1126 dst=r6 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1127 dst=r3 src=r6 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1128 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1129 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1130 dst=r3 src=r0 offset=1 imm=-1 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" goto label_72; - // EBPF_OP_JA pc=1131 dst=r0 src=r0 offset=80 imm=0 -#line 160 "sample/map.c" + // EBPF_OP_JA pc=1131 dst=r0 src=r0 offset=80 imm=0 +#line 160 "sample/undocked/map.c" goto label_77; label_72: // EBPF_OP_MOV64_IMM pc=1132 dst=r1 src=r0 offset=0 imm=6 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=1133 dst=r10 src=r1 offset=-4 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1134 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1135 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1136 dst=r3 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1137 dst=r3 src=r0 offset=0 imm=-68 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1138 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1140 dst=r4 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1141 dst=r0 src=r0 offset=0 imm=2 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1142 dst=r6 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1142 dst=r6 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1143 dst=r3 src=r6 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1144 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1145 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1146 dst=r3 src=r0 offset=1 imm=-1 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" goto label_73; - // EBPF_OP_JA pc=1147 dst=r0 src=r0 offset=64 imm=0 -#line 166 "sample/map.c" + // EBPF_OP_JA pc=1147 dst=r0 src=r0 offset=64 imm=0 +#line 166 "sample/undocked/map.c" goto label_77; label_73: // EBPF_OP_MOV64_IMM pc=1148 dst=r1 src=r0 offset=0 imm=7 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=1149 dst=r10 src=r1 offset=-4 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1150 dst=r2 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1151 dst=r2 src=r0 offset=0 imm=-4 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1152 dst=r3 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1153 dst=r3 src=r0 offset=0 imm=-68 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1154 dst=r1 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1156 dst=r4 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1157 dst=r0 src=r0 offset=0 imm=2 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1158 dst=r6 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1158 dst=r6 src=r0 offset=0 imm=0 +#line 171 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1159 dst=r3 src=r6 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1160 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1161 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1162 dst=r3 src=r0 offset=1 imm=-1 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" goto label_74; - // EBPF_OP_JA pc=1163 dst=r0 src=r0 offset=48 imm=0 -#line 172 "sample/map.c" + // EBPF_OP_JA pc=1163 dst=r0 src=r0 offset=48 imm=0 +#line 172 "sample/undocked/map.c" goto label_77; label_74: // EBPF_OP_MOV64_IMM pc=1164 dst=r1 src=r0 offset=0 imm=8 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=1165 dst=r10 src=r1 offset=-4 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1166 dst=r2 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1167 dst=r2 src=r0 offset=0 imm=-4 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1168 dst=r3 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1169 dst=r3 src=r0 offset=0 imm=-68 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1170 dst=r1 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1172 dst=r4 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1173 dst=r0 src=r0 offset=0 imm=2 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1174 dst=r6 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1174 dst=r6 src=r0 offset=0 imm=0 +#line 177 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1175 dst=r3 src=r6 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1176 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1177 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1178 dst=r3 src=r0 offset=1 imm=-1 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" goto label_75; - // EBPF_OP_JA pc=1179 dst=r0 src=r0 offset=32 imm=0 -#line 178 "sample/map.c" + // EBPF_OP_JA pc=1179 dst=r0 src=r0 offset=32 imm=0 +#line 178 "sample/undocked/map.c" goto label_77; label_75: // EBPF_OP_MOV64_IMM pc=1180 dst=r1 src=r0 offset=0 imm=9 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=1181 dst=r10 src=r1 offset=-4 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1182 dst=r2 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1183 dst=r2 src=r0 offset=0 imm=-4 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1184 dst=r3 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1185 dst=r3 src=r0 offset=0 imm=-68 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1186 dst=r1 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1188 dst=r4 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1189 dst=r0 src=r0 offset=0 imm=2 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1190 dst=r6 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1190 dst=r6 src=r0 offset=0 imm=0 +#line 183 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1191 dst=r3 src=r6 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1192 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1193 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1194 dst=r3 src=r0 offset=1 imm=-1 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" goto label_76; - // EBPF_OP_JA pc=1195 dst=r0 src=r0 offset=16 imm=0 -#line 184 "sample/map.c" + // EBPF_OP_JA pc=1195 dst=r0 src=r0 offset=16 imm=0 +#line 184 "sample/undocked/map.c" goto label_77; label_76: // EBPF_OP_MOV64_IMM pc=1196 dst=r1 src=r0 offset=0 imm=10 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=1197 dst=r10 src=r1 offset=-4 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1198 dst=r2 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1199 dst=r2 src=r0 offset=0 imm=-4 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1200 dst=r3 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1201 dst=r3 src=r0 offset=0 imm=-68 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=1202 dst=r7 src=r0 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1203 dst=r1 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1205 dst=r4 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1206 dst=r0 src=r0 offset=0 imm=2 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1207 dst=r6 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1207 dst=r6 src=r0 offset=0 imm=0 +#line 189 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1208 dst=r3 src=r6 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1209 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1210 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1211 dst=r3 src=r0 offset=35 imm=-1 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" goto label_78; label_77: // EBPF_OP_LDDW pc=1212 dst=r1 src=r0 offset=0 imm=1684369010 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1214 dst=r10 src=r1 offset=-40 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1215 dst=r1 src=r0 offset=0 imm=544040300 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=1217 dst=r10 src=r1 offset=-48 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1218 dst=r1 src=r0 offset=0 imm=1633972341 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_STXDW pc=1220 dst=r10 src=r1 offset=-56 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1221 dst=r1 src=r0 offset=0 imm=1600548962 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1223 dst=r10 src=r1 offset=-64 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1224 dst=r1 src=r10 offset=0 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1225 dst=r1 src=r0 offset=0 imm=-64 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1226 dst=r2 src=r0 offset=0 imm=32 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=1227 dst=r0 src=r0 offset=0 imm=13 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_IMM pc=1228 dst=r1 src=r0 offset=0 imm=0 -#line 190 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1228 dst=r1 src=r0 offset=0 imm=0 +#line 190 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1229 dst=r10 src=r1 offset=-20 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=1230 dst=r1 src=r0 offset=0 imm=1680154724 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = IMMEDIATE(1680154724); // EBPF_OP_STXW pc=1231 dst=r10 src=r1 offset=-24 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1232 dst=r1 src=r0 offset=0 imm=1952805408 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)7308905094058439200; // EBPF_OP_STXDW pc=1234 dst=r10 src=r1 offset=-32 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1235 dst=r1 src=r0 offset=0 imm=1599426627 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)5211580972890673219; // EBPF_OP_STXDW pc=1237 dst=r10 src=r1 offset=-40 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1238 dst=r1 src=r0 offset=0 imm=1431456800 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)5928232854886698016; // EBPF_OP_STXDW pc=1240 dst=r10 src=r1 offset=-48 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1241 dst=r1 src=r0 offset=0 imm=1919903264 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)8097873591115146784; // EBPF_OP_STXDW pc=1243 dst=r10 src=r1 offset=-56 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1244 dst=r1 src=r0 offset=0 imm=1953719636 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)6148060143590532436; // EBPF_OP_JA pc=1246 dst=r0 src=r0 offset=-1003 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" goto label_19; label_78: // EBPF_OP_STXW pc=1247 dst=r10 src=r7 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1248 dst=r2 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1249 dst=r2 src=r0 offset=0 imm=-4 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1250 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1252 dst=r0 src=r0 offset=0 imm=18 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1253 dst=r6 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1253 dst=r6 src=r0 offset=0 imm=0 +#line 240 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1254 dst=r4 src=r6 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1255 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1256 dst=r1 src=r4 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1257 dst=r1 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1258 dst=r2 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1260 dst=r1 src=r2 offset=27 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r1 == r2) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_81; label_79: // EBPF_OP_MOV64_IMM pc=1261 dst=r1 src=r0 offset=0 imm=100 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1262 dst=r10 src=r1 offset=-16 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1263 dst=r1 src=r0 offset=0 imm=1852994932 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1265 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1266 dst=r1 src=r0 offset=0 imm=622883948 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1268 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1269 dst=r1 src=r0 offset=0 imm=543649385 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1271 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1272 dst=r1 src=r0 offset=0 imm=2019893357 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1274 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1275 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1277 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1278 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1280 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1281 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1282 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1283 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1284 dst=r2 src=r0 offset=0 imm=50 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_80: // EBPF_OP_MOV64_IMM pc=1285 dst=r3 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = IMMEDIATE(-7); // EBPF_OP_CALL pc=1286 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1287 dst=r0 src=r0 offset=26 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_JA pc=1287 dst=r0 src=r0 offset=26 imm=0 +#line 240 "sample/undocked/map.c" goto label_85; label_81: // EBPF_OP_LDXW pc=1288 dst=r3 src=r10 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1289 dst=r3 src=r0 offset=90 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_90; label_82: // EBPF_OP_LDDW pc=1290 dst=r1 src=r0 offset=0 imm=1852404835 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=1292 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1293 dst=r1 src=r0 offset=0 imm=543434016 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=1295 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1296 dst=r1 src=r0 offset=0 imm=1701978221 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=1298 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1299 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1301 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1302 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1304 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=1305 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1306 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_MOV64_REG pc=1307 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1308 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1309 dst=r2 src=r0 offset=0 imm=41 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(41); label_83: // EBPF_OP_MOV64_IMM pc=1310 dst=r4 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_84: // EBPF_OP_CALL pc=1311 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=1312 dst=r6 src=r0 offset=0 imm=-1 -#line 240 "sample/map.c" + // EBPF_OP_LDDW pc=1312 dst=r6 src=r0 offset=0 imm=-1 +#line 240 "sample/undocked/map.c" r6 = (uint64_t)4294967295; label_85: // EBPF_OP_MOV64_REG pc=1314 dst=r3 src=r6 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1315 dst=r3 src=r0 offset=0 imm=32 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1316 dst=r3 src=r0 offset=0 imm=32 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1317 dst=r3 src=r0 offset=1 imm=-1 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" goto label_86; - // EBPF_OP_JA pc=1318 dst=r0 src=r0 offset=42 imm=0 -#line 303 "sample/map.c" + // EBPF_OP_JA pc=1318 dst=r0 src=r0 offset=42 imm=0 +#line 303 "sample/undocked/map.c" goto label_89; label_86: // EBPF_OP_MOV64_IMM pc=1319 dst=r1 src=r0 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1320 dst=r10 src=r1 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1321 dst=r2 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1322 dst=r2 src=r0 offset=0 imm=-4 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1323 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=1325 dst=r0 src=r0 offset=0 imm=18 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1326 dst=r7 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1326 dst=r7 src=r0 offset=0 imm=0 +#line 240 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=1327 dst=r4 src=r7 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=1328 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1329 dst=r1 src=r4 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1330 dst=r1 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1331 dst=r2 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1333 dst=r1 src=r2 offset=865 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r1 == r2) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_137; label_87: // EBPF_OP_MOV64_IMM pc=1334 dst=r1 src=r0 offset=0 imm=100 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1335 dst=r10 src=r1 offset=-16 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1336 dst=r1 src=r0 offset=0 imm=1852994932 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1338 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1339 dst=r1 src=r0 offset=0 imm=622883948 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1341 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1342 dst=r1 src=r0 offset=0 imm=543649385 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1344 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1345 dst=r1 src=r0 offset=0 imm=2019893357 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1347 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1348 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1350 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1351 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1353 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1354 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1355 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1356 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1357 dst=r2 src=r0 offset=0 imm=50 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_88: // EBPF_OP_MOV64_IMM pc=1358 dst=r3 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = IMMEDIATE(-7); // EBPF_OP_CALL pc=1359 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1360 dst=r0 src=r0 offset=864 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_JA pc=1360 dst=r0 src=r0 offset=864 imm=0 +#line 240 "sample/undocked/map.c" goto label_141; label_89: // EBPF_OP_LDDW pc=1361 dst=r1 src=r0 offset=0 imm=1684369010 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1363 dst=r10 src=r1 offset=-32 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1364 dst=r1 src=r0 offset=0 imm=541414725 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)8463501140578096453; // EBPF_OP_STXDW pc=1366 dst=r10 src=r1 offset=-40 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1367 dst=r1 src=r0 offset=0 imm=1634541682 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)6147730633380405362; // EBPF_OP_STXDW pc=1369 dst=r10 src=r1 offset=-48 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1370 dst=r1 src=r0 offset=0 imm=1330667336 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)8027138915134627656; // EBPF_OP_STXDW pc=1372 dst=r10 src=r1 offset=-56 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1373 dst=r1 src=r0 offset=0 imm=1953719636 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)6004793778491319636; // EBPF_OP_STXDW pc=1375 dst=r10 src=r1 offset=-64 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1376 dst=r1 src=r10 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1377 dst=r1 src=r0 offset=0 imm=-64 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1378 dst=r2 src=r0 offset=0 imm=40 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=1379 dst=r0 src=r0 offset=-1279 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" goto label_8; label_90: // EBPF_OP_MOV64_IMM pc=1380 dst=r7 src=r0 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1381 dst=r10 src=r7 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1382 dst=r2 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1383 dst=r2 src=r0 offset=0 imm=-4 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1384 dst=r1 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1386 dst=r0 src=r0 offset=0 imm=17 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1387 dst=r6 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1387 dst=r6 src=r0 offset=0 imm=0 +#line 241 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1388 dst=r4 src=r6 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1389 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1390 dst=r1 src=r4 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1391 dst=r1 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1392 dst=r2 src=r0 offset=0 imm=-7 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1394 dst=r1 src=r2 offset=24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r1 == r2) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_92; label_91: // EBPF_OP_STXB pc=1395 dst=r10 src=r7 offset=-16 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r7; // EBPF_OP_LDDW pc=1396 dst=r1 src=r0 offset=0 imm=1701737077 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=1398 dst=r10 src=r1 offset=-24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1399 dst=r1 src=r0 offset=0 imm=1680154740 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=1401 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1402 dst=r1 src=r0 offset=0 imm=1914726254 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=1404 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1405 dst=r1 src=r0 offset=0 imm=1886938400 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=1407 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1408 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1410 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1411 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1413 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1414 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1415 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1416 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1417 dst=r2 src=r0 offset=0 imm=49 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=1418 dst=r0 src=r0 offset=-134 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_80; label_92: // EBPF_OP_LDXW pc=1419 dst=r3 src=r10 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1420 dst=r3 src=r0 offset=19 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_94; label_93: // EBPF_OP_LDDW pc=1421 dst=r1 src=r0 offset=0 imm=1735289204 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1423 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1424 dst=r1 src=r0 offset=0 imm=1696621605 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1426 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1427 dst=r1 src=r0 offset=0 imm=1952805408 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1429 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1430 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1432 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1433 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1435 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1436 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1437 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1438 dst=r2 src=r0 offset=0 imm=40 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=1439 dst=r0 src=r0 offset=-130 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_83; label_94: // EBPF_OP_MOV64_IMM pc=1440 dst=r7 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1441 dst=r10 src=r7 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1442 dst=r2 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1443 dst=r2 src=r0 offset=0 imm=-4 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1444 dst=r1 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1446 dst=r3 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1447 dst=r0 src=r0 offset=0 imm=16 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1448 dst=r6 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1448 dst=r6 src=r0 offset=0 imm=0 +#line 249 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1449 dst=r5 src=r6 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1450 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1451 dst=r1 src=r5 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1452 dst=r1 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1453 dst=r1 src=r0 offset=31 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" goto label_98; label_95: // EBPF_OP_MOV64_IMM pc=1454 dst=r1 src=r0 offset=0 imm=25637 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1455 dst=r10 src=r1 offset=-12 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1456 dst=r1 src=r0 offset=0 imm=543450478 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1457 dst=r10 src=r1 offset=-16 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1458 dst=r1 src=r0 offset=0 imm=1914725413 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1460 dst=r10 src=r1 offset=-24 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1461 dst=r1 src=r0 offset=0 imm=1667592312 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1463 dst=r10 src=r1 offset=-32 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1464 dst=r1 src=r0 offset=0 imm=543649385 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1466 dst=r10 src=r1 offset=-40 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1467 dst=r1 src=r0 offset=0 imm=1852383341 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1469 dst=r10 src=r1 offset=-48 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1470 dst=r1 src=r0 offset=0 imm=1752397168 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1472 dst=r10 src=r1 offset=-56 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1473 dst=r1 src=r0 offset=0 imm=1600548962 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1475 dst=r10 src=r1 offset=-64 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=1476 dst=r10 src=r7 offset=-10 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r7; label_96: // EBPF_OP_LDXW pc=1477 dst=r3 src=r10 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=1478 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1479 dst=r1 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1480 dst=r1 src=r0 offset=0 imm=-64 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1481 dst=r2 src=r0 offset=0 imm=55 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=1482 dst=r4 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_97: // EBPF_OP_CALL pc=1483 dst=r0 src=r0 offset=0 imm=15 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[10].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[10].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1484 dst=r0 src=r0 offset=-171 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_JA pc=1484 dst=r0 src=r0 offset=-171 imm=0 +#line 249 "sample/undocked/map.c" goto label_85; label_98: // EBPF_OP_MOV64_IMM pc=1485 dst=r1 src=r0 offset=0 imm=1 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=1486 dst=r10 src=r1 offset=-4 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1487 dst=r2 src=r10 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1488 dst=r2 src=r0 offset=0 imm=-4 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1489 dst=r7 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1490 dst=r1 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1492 dst=r3 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1493 dst=r0 src=r0 offset=0 imm=16 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1494 dst=r6 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1494 dst=r6 src=r0 offset=0 imm=0 +#line 250 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1495 dst=r5 src=r6 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1496 dst=r5 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1497 dst=r1 src=r5 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1498 dst=r1 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1499 dst=r1 src=r0 offset=1 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" goto label_99; - // EBPF_OP_JA pc=1500 dst=r0 src=r0 offset=-47 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_JA pc=1500 dst=r0 src=r0 offset=-47 imm=0 +#line 250 "sample/undocked/map.c" goto label_95; label_99: // EBPF_OP_MOV64_IMM pc=1501 dst=r1 src=r0 offset=0 imm=2 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=1502 dst=r10 src=r1 offset=-4 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1503 dst=r2 src=r10 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1504 dst=r2 src=r0 offset=0 imm=-4 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1505 dst=r7 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1506 dst=r1 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1508 dst=r3 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1509 dst=r0 src=r0 offset=0 imm=16 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1510 dst=r6 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1510 dst=r6 src=r0 offset=0 imm=0 +#line 251 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1511 dst=r5 src=r6 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1512 dst=r5 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1513 dst=r1 src=r5 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1514 dst=r1 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1515 dst=r1 src=r0 offset=1 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" goto label_100; - // EBPF_OP_JA pc=1516 dst=r0 src=r0 offset=-63 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_JA pc=1516 dst=r0 src=r0 offset=-63 imm=0 +#line 251 "sample/undocked/map.c" goto label_95; label_100: // EBPF_OP_MOV64_IMM pc=1517 dst=r1 src=r0 offset=0 imm=3 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=1518 dst=r10 src=r1 offset=-4 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1519 dst=r2 src=r10 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1520 dst=r2 src=r0 offset=0 imm=-4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1521 dst=r7 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1522 dst=r1 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1524 dst=r3 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1525 dst=r0 src=r0 offset=0 imm=16 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1526 dst=r6 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1526 dst=r6 src=r0 offset=0 imm=0 +#line 252 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1527 dst=r5 src=r6 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1528 dst=r5 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1529 dst=r1 src=r5 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1530 dst=r1 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1531 dst=r1 src=r0 offset=1 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" goto label_101; - // EBPF_OP_JA pc=1532 dst=r0 src=r0 offset=-79 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_JA pc=1532 dst=r0 src=r0 offset=-79 imm=0 +#line 252 "sample/undocked/map.c" goto label_95; label_101: // EBPF_OP_MOV64_IMM pc=1533 dst=r1 src=r0 offset=0 imm=4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=1534 dst=r10 src=r1 offset=-4 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1535 dst=r2 src=r10 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1536 dst=r2 src=r0 offset=0 imm=-4 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1537 dst=r7 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1538 dst=r1 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1540 dst=r3 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1541 dst=r0 src=r0 offset=0 imm=16 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1542 dst=r6 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1542 dst=r6 src=r0 offset=0 imm=0 +#line 253 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1543 dst=r5 src=r6 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1544 dst=r5 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1545 dst=r1 src=r5 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1546 dst=r1 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1547 dst=r1 src=r0 offset=1 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" goto label_102; - // EBPF_OP_JA pc=1548 dst=r0 src=r0 offset=-95 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_JA pc=1548 dst=r0 src=r0 offset=-95 imm=0 +#line 253 "sample/undocked/map.c" goto label_95; label_102: // EBPF_OP_MOV64_IMM pc=1549 dst=r1 src=r0 offset=0 imm=5 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=1550 dst=r10 src=r1 offset=-4 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1551 dst=r2 src=r10 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1552 dst=r2 src=r0 offset=0 imm=-4 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1553 dst=r7 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1554 dst=r1 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1556 dst=r3 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1557 dst=r0 src=r0 offset=0 imm=16 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1558 dst=r6 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1558 dst=r6 src=r0 offset=0 imm=0 +#line 254 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1559 dst=r5 src=r6 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1560 dst=r5 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1561 dst=r1 src=r5 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1562 dst=r1 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1563 dst=r1 src=r0 offset=1 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" goto label_103; - // EBPF_OP_JA pc=1564 dst=r0 src=r0 offset=-111 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_JA pc=1564 dst=r0 src=r0 offset=-111 imm=0 +#line 254 "sample/undocked/map.c" goto label_95; label_103: // EBPF_OP_MOV64_IMM pc=1565 dst=r1 src=r0 offset=0 imm=6 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=1566 dst=r10 src=r1 offset=-4 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1567 dst=r2 src=r10 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1568 dst=r2 src=r0 offset=0 imm=-4 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1569 dst=r7 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1570 dst=r1 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1572 dst=r3 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1573 dst=r0 src=r0 offset=0 imm=16 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1574 dst=r6 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1574 dst=r6 src=r0 offset=0 imm=0 +#line 255 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1575 dst=r5 src=r6 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1576 dst=r5 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1577 dst=r1 src=r5 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1578 dst=r1 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1579 dst=r1 src=r0 offset=1 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" goto label_104; - // EBPF_OP_JA pc=1580 dst=r0 src=r0 offset=-127 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_JA pc=1580 dst=r0 src=r0 offset=-127 imm=0 +#line 255 "sample/undocked/map.c" goto label_95; label_104: // EBPF_OP_MOV64_IMM pc=1581 dst=r1 src=r0 offset=0 imm=7 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=1582 dst=r10 src=r1 offset=-4 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1583 dst=r2 src=r10 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1584 dst=r2 src=r0 offset=0 imm=-4 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1585 dst=r7 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1586 dst=r1 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1588 dst=r3 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1589 dst=r0 src=r0 offset=0 imm=16 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1590 dst=r6 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1590 dst=r6 src=r0 offset=0 imm=0 +#line 256 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1591 dst=r5 src=r6 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1592 dst=r5 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1593 dst=r1 src=r5 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1594 dst=r1 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1595 dst=r1 src=r0 offset=1 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" goto label_105; - // EBPF_OP_JA pc=1596 dst=r0 src=r0 offset=-143 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_JA pc=1596 dst=r0 src=r0 offset=-143 imm=0 +#line 256 "sample/undocked/map.c" goto label_95; label_105: // EBPF_OP_MOV64_IMM pc=1597 dst=r1 src=r0 offset=0 imm=8 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=1598 dst=r10 src=r1 offset=-4 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1599 dst=r2 src=r10 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1600 dst=r2 src=r0 offset=0 imm=-4 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1601 dst=r7 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1602 dst=r1 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1604 dst=r3 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1605 dst=r0 src=r0 offset=0 imm=16 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1606 dst=r6 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1606 dst=r6 src=r0 offset=0 imm=0 +#line 257 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1607 dst=r5 src=r6 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1608 dst=r5 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1609 dst=r1 src=r5 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1610 dst=r1 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1611 dst=r1 src=r0 offset=1 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" goto label_106; - // EBPF_OP_JA pc=1612 dst=r0 src=r0 offset=-159 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_JA pc=1612 dst=r0 src=r0 offset=-159 imm=0 +#line 257 "sample/undocked/map.c" goto label_95; label_106: // EBPF_OP_MOV64_IMM pc=1613 dst=r1 src=r0 offset=0 imm=9 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=1614 dst=r10 src=r1 offset=-4 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1615 dst=r2 src=r10 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1616 dst=r2 src=r0 offset=0 imm=-4 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1617 dst=r7 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1618 dst=r1 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1620 dst=r3 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1621 dst=r0 src=r0 offset=0 imm=16 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1622 dst=r6 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1622 dst=r6 src=r0 offset=0 imm=0 +#line 258 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1623 dst=r5 src=r6 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1624 dst=r5 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1625 dst=r1 src=r5 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1626 dst=r1 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1627 dst=r1 src=r0 offset=1 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" goto label_107; - // EBPF_OP_JA pc=1628 dst=r0 src=r0 offset=-175 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_JA pc=1628 dst=r0 src=r0 offset=-175 imm=0 +#line 258 "sample/undocked/map.c" goto label_95; label_107: // EBPF_OP_MOV64_IMM pc=1629 dst=r7 src=r0 offset=0 imm=10 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r7 = IMMEDIATE(10); // EBPF_OP_STXW pc=1630 dst=r10 src=r7 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1631 dst=r2 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1632 dst=r2 src=r0 offset=0 imm=-4 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1633 dst=r8 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r8 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1634 dst=r1 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1636 dst=r3 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1637 dst=r0 src=r0 offset=0 imm=16 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1638 dst=r6 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1638 dst=r6 src=r0 offset=0 imm=0 +#line 261 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1639 dst=r5 src=r6 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1640 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1641 dst=r1 src=r5 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1642 dst=r1 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1643 dst=r2 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = (uint64_t)4294967267; // EBPF_OP_JEQ_REG pc=1645 dst=r1 src=r2 offset=30 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if (r1 == r2) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_108; - // EBPF_OP_STXB pc=1646 dst=r10 src=r8 offset=-10 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_STXB pc=1646 dst=r10 src=r8 offset=-10 imm=0 +#line 261 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r8; // EBPF_OP_MOV64_IMM pc=1647 dst=r1 src=r0 offset=0 imm=25637 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1648 dst=r10 src=r1 offset=-12 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1649 dst=r1 src=r0 offset=0 imm=543450478 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1650 dst=r10 src=r1 offset=-16 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1651 dst=r1 src=r0 offset=0 imm=1914725413 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1653 dst=r10 src=r1 offset=-24 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1654 dst=r1 src=r0 offset=0 imm=1667592312 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1656 dst=r10 src=r1 offset=-32 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1657 dst=r1 src=r0 offset=0 imm=543649385 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1659 dst=r10 src=r1 offset=-40 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1660 dst=r1 src=r0 offset=0 imm=1852383341 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1662 dst=r10 src=r1 offset=-48 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1663 dst=r1 src=r0 offset=0 imm=1752397168 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1665 dst=r10 src=r1 offset=-56 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1666 dst=r1 src=r0 offset=0 imm=1600548962 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1668 dst=r10 src=r1 offset=-64 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_LDXW pc=1669 dst=r3 src=r10 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=1670 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1671 dst=r1 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1672 dst=r1 src=r0 offset=0 imm=-64 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1673 dst=r2 src=r0 offset=0 imm=55 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=1674 dst=r4 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r4 = IMMEDIATE(-29); // EBPF_OP_JA pc=1675 dst=r0 src=r0 offset=-193 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_97; label_108: // EBPF_OP_STXW pc=1676 dst=r10 src=r7 offset=-4 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1677 dst=r2 src=r10 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1678 dst=r2 src=r0 offset=0 imm=-4 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1679 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1681 dst=r3 src=r0 offset=0 imm=2 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=1682 dst=r0 src=r0 offset=0 imm=16 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1683 dst=r6 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1683 dst=r6 src=r0 offset=0 imm=0 +#line 262 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1684 dst=r5 src=r6 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1685 dst=r5 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1686 dst=r1 src=r5 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1687 dst=r1 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1688 dst=r1 src=r0 offset=25 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_109; - // EBPF_OP_MOV64_IMM pc=1689 dst=r1 src=r0 offset=0 imm=25637 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1689 dst=r1 src=r0 offset=0 imm=25637 +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1690 dst=r10 src=r1 offset=-12 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1691 dst=r1 src=r0 offset=0 imm=543450478 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1692 dst=r10 src=r1 offset=-16 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1693 dst=r1 src=r0 offset=0 imm=1914725413 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1695 dst=r10 src=r1 offset=-24 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1696 dst=r1 src=r0 offset=0 imm=1667592312 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1698 dst=r10 src=r1 offset=-32 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1699 dst=r1 src=r0 offset=0 imm=543649385 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1701 dst=r10 src=r1 offset=-40 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1702 dst=r1 src=r0 offset=0 imm=1852383341 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1704 dst=r10 src=r1 offset=-48 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1705 dst=r1 src=r0 offset=0 imm=1752397168 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1707 dst=r10 src=r1 offset=-56 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1708 dst=r1 src=r0 offset=0 imm=1600548962 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1710 dst=r10 src=r1 offset=-64 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=1711 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1712 dst=r10 src=r1 offset=-10 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r1; // EBPF_OP_JA pc=1713 dst=r0 src=r0 offset=-237 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_96; label_109: // EBPF_OP_MOV64_IMM pc=1714 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1715 dst=r10 src=r1 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1716 dst=r2 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1717 dst=r2 src=r0 offset=0 imm=-4 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1718 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1720 dst=r0 src=r0 offset=0 imm=18 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1721 dst=r6 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1721 dst=r6 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1722 dst=r4 src=r6 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1723 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1724 dst=r1 src=r4 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1725 dst=r1 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1726 dst=r1 src=r0 offset=27 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_111; - // EBPF_OP_MOV64_IMM pc=1727 dst=r1 src=r0 offset=0 imm=100 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1727 dst=r1 src=r0 offset=0 imm=100 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1728 dst=r10 src=r1 offset=-16 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1729 dst=r1 src=r0 offset=0 imm=1852994932 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1731 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1732 dst=r1 src=r0 offset=0 imm=622883948 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1734 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1735 dst=r1 src=r0 offset=0 imm=543649385 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1737 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1738 dst=r1 src=r0 offset=0 imm=2019893357 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1740 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1741 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1743 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1744 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1746 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1747 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1748 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1749 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1750 dst=r2 src=r0 offset=0 imm=50 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_110: // EBPF_OP_MOV64_IMM pc=1751 dst=r3 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1752 dst=r0 src=r0 offset=0 imm=14 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1753 dst=r0 src=r0 offset=-440 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_JA pc=1753 dst=r0 src=r0 offset=-440 imm=0 +#line 264 "sample/undocked/map.c" goto label_85; label_111: // EBPF_OP_LDXW pc=1754 dst=r3 src=r10 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1755 dst=r3 src=r0 offset=22 imm=1 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_112; - // EBPF_OP_MOV64_IMM pc=1756 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1756 dst=r1 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1757 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_LDDW pc=1758 dst=r1 src=r0 offset=0 imm=1852404835 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=1760 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1761 dst=r1 src=r0 offset=0 imm=543434016 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=1763 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1764 dst=r1 src=r0 offset=0 imm=1701978221 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=1766 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1767 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1769 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1770 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1772 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1773 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1774 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1775 dst=r2 src=r0 offset=0 imm=41 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(41); // EBPF_OP_MOV64_IMM pc=1776 dst=r4 src=r0 offset=0 imm=1 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=1777 dst=r0 src=r0 offset=-467 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_84; label_112: // EBPF_OP_MOV64_IMM pc=1778 dst=r7 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1779 dst=r10 src=r7 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1780 dst=r2 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1781 dst=r2 src=r0 offset=0 imm=-4 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1782 dst=r1 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1784 dst=r0 src=r0 offset=0 imm=17 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1785 dst=r6 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1785 dst=r6 src=r0 offset=0 imm=0 +#line 272 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1786 dst=r4 src=r6 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1787 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1788 dst=r1 src=r4 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1789 dst=r1 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1790 dst=r1 src=r0 offset=24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_114; label_113: // EBPF_OP_LDDW pc=1791 dst=r1 src=r0 offset=0 imm=1701737077 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=1793 dst=r10 src=r1 offset=-24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1794 dst=r1 src=r0 offset=0 imm=1680154740 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=1796 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1797 dst=r1 src=r0 offset=0 imm=1914726254 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=1799 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1800 dst=r1 src=r0 offset=0 imm=1886938400 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=1802 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1803 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1805 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1806 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1808 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=1809 dst=r10 src=r7 offset=-16 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r7; // EBPF_OP_ARSH64_IMM pc=1810 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1811 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1812 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1813 dst=r2 src=r0 offset=0 imm=49 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=1814 dst=r0 src=r0 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_110; label_114: // EBPF_OP_LDXW pc=1815 dst=r3 src=r10 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1816 dst=r3 src=r0 offset=20 imm=1 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_115; - // EBPF_OP_LDDW pc=1817 dst=r1 src=r0 offset=0 imm=1735289204 -#line 272 "sample/map.c" + // EBPF_OP_LDDW pc=1817 dst=r1 src=r0 offset=0 imm=1735289204 +#line 272 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1819 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1820 dst=r1 src=r0 offset=0 imm=1696621605 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1822 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1823 dst=r1 src=r0 offset=0 imm=1952805408 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1825 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1826 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1828 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1829 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1831 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1832 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1833 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1834 dst=r2 src=r0 offset=0 imm=40 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1835 dst=r4 src=r0 offset=0 imm=1 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=1836 dst=r0 src=r0 offset=-526 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_84; label_115: // EBPF_OP_MOV64_IMM pc=1837 dst=r7 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1838 dst=r10 src=r7 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1839 dst=r2 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1840 dst=r2 src=r0 offset=0 imm=-4 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1841 dst=r1 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1843 dst=r0 src=r0 offset=0 imm=17 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1844 dst=r6 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1844 dst=r6 src=r0 offset=0 imm=0 +#line 273 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1845 dst=r4 src=r6 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1846 dst=r4 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1847 dst=r1 src=r4 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1848 dst=r1 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1849 dst=r1 src=r0 offset=1 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_116; - // EBPF_OP_JA pc=1850 dst=r0 src=r0 offset=-60 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_JA pc=1850 dst=r0 src=r0 offset=-60 imm=0 +#line 273 "sample/undocked/map.c" goto label_113; label_116: // EBPF_OP_LDXW pc=1851 dst=r3 src=r10 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1852 dst=r3 src=r0 offset=20 imm=2 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r3 == IMMEDIATE(2)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_117; - // EBPF_OP_LDDW pc=1853 dst=r1 src=r0 offset=0 imm=1735289204 -#line 273 "sample/map.c" + // EBPF_OP_LDDW pc=1853 dst=r1 src=r0 offset=0 imm=1735289204 +#line 273 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1855 dst=r10 src=r1 offset=-32 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1856 dst=r1 src=r0 offset=0 imm=1696621605 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1858 dst=r10 src=r1 offset=-40 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1859 dst=r1 src=r0 offset=0 imm=1952805408 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1861 dst=r10 src=r1 offset=-48 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1862 dst=r1 src=r0 offset=0 imm=1601204080 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1864 dst=r10 src=r1 offset=-56 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1865 dst=r1 src=r0 offset=0 imm=1600548962 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1867 dst=r10 src=r1 offset=-64 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1868 dst=r1 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1869 dst=r1 src=r0 offset=0 imm=-64 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1870 dst=r2 src=r0 offset=0 imm=40 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1871 dst=r4 src=r0 offset=0 imm=2 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = IMMEDIATE(2); // EBPF_OP_JA pc=1872 dst=r0 src=r0 offset=-562 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_84; label_117: // EBPF_OP_MOV64_IMM pc=1873 dst=r7 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1874 dst=r10 src=r7 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1875 dst=r2 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1876 dst=r2 src=r0 offset=0 imm=-4 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1877 dst=r1 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1879 dst=r0 src=r0 offset=0 imm=17 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1880 dst=r6 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1880 dst=r6 src=r0 offset=0 imm=0 +#line 274 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1881 dst=r4 src=r6 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1882 dst=r4 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1883 dst=r1 src=r4 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1884 dst=r1 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1885 dst=r1 src=r0 offset=1 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_118; - // EBPF_OP_JA pc=1886 dst=r0 src=r0 offset=-96 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_JA pc=1886 dst=r0 src=r0 offset=-96 imm=0 +#line 274 "sample/undocked/map.c" goto label_113; label_118: // EBPF_OP_LDXW pc=1887 dst=r3 src=r10 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1888 dst=r3 src=r0 offset=20 imm=3 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r3 == IMMEDIATE(3)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_119; - // EBPF_OP_LDDW pc=1889 dst=r1 src=r0 offset=0 imm=1735289204 -#line 274 "sample/map.c" + // EBPF_OP_LDDW pc=1889 dst=r1 src=r0 offset=0 imm=1735289204 +#line 274 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1891 dst=r10 src=r1 offset=-32 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1892 dst=r1 src=r0 offset=0 imm=1696621605 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1894 dst=r10 src=r1 offset=-40 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1895 dst=r1 src=r0 offset=0 imm=1952805408 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1897 dst=r10 src=r1 offset=-48 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1898 dst=r1 src=r0 offset=0 imm=1601204080 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1900 dst=r10 src=r1 offset=-56 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1901 dst=r1 src=r0 offset=0 imm=1600548962 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1903 dst=r10 src=r1 offset=-64 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1904 dst=r1 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1905 dst=r1 src=r0 offset=0 imm=-64 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1906 dst=r2 src=r0 offset=0 imm=40 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1907 dst=r4 src=r0 offset=0 imm=3 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = IMMEDIATE(3); // EBPF_OP_JA pc=1908 dst=r0 src=r0 offset=-598 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_84; label_119: // EBPF_OP_MOV64_IMM pc=1909 dst=r7 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1910 dst=r10 src=r7 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1911 dst=r2 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1912 dst=r2 src=r0 offset=0 imm=-4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1913 dst=r1 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1915 dst=r0 src=r0 offset=0 imm=17 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1916 dst=r6 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1916 dst=r6 src=r0 offset=0 imm=0 +#line 275 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1917 dst=r4 src=r6 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1918 dst=r4 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1919 dst=r1 src=r4 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1920 dst=r1 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1921 dst=r1 src=r0 offset=1 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_120; - // EBPF_OP_JA pc=1922 dst=r0 src=r0 offset=-132 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_JA pc=1922 dst=r0 src=r0 offset=-132 imm=0 +#line 275 "sample/undocked/map.c" goto label_113; label_120: // EBPF_OP_LDXW pc=1923 dst=r3 src=r10 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1924 dst=r3 src=r0 offset=20 imm=4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r3 == IMMEDIATE(4)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_121; - // EBPF_OP_LDDW pc=1925 dst=r1 src=r0 offset=0 imm=1735289204 -#line 275 "sample/map.c" + // EBPF_OP_LDDW pc=1925 dst=r1 src=r0 offset=0 imm=1735289204 +#line 275 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1927 dst=r10 src=r1 offset=-32 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1928 dst=r1 src=r0 offset=0 imm=1696621605 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1930 dst=r10 src=r1 offset=-40 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1931 dst=r1 src=r0 offset=0 imm=1952805408 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1933 dst=r10 src=r1 offset=-48 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1934 dst=r1 src=r0 offset=0 imm=1601204080 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1936 dst=r10 src=r1 offset=-56 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1937 dst=r1 src=r0 offset=0 imm=1600548962 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1939 dst=r10 src=r1 offset=-64 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1940 dst=r1 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1941 dst=r1 src=r0 offset=0 imm=-64 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1942 dst=r2 src=r0 offset=0 imm=40 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1943 dst=r4 src=r0 offset=0 imm=4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = IMMEDIATE(4); // EBPF_OP_JA pc=1944 dst=r0 src=r0 offset=-634 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_84; label_121: // EBPF_OP_MOV64_IMM pc=1945 dst=r7 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1946 dst=r10 src=r7 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1947 dst=r2 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1948 dst=r2 src=r0 offset=0 imm=-4 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1949 dst=r1 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1951 dst=r0 src=r0 offset=0 imm=17 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1952 dst=r6 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1952 dst=r6 src=r0 offset=0 imm=0 +#line 276 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1953 dst=r4 src=r6 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1954 dst=r4 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1955 dst=r1 src=r4 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1956 dst=r1 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1957 dst=r1 src=r0 offset=1 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_122; - // EBPF_OP_JA pc=1958 dst=r0 src=r0 offset=-168 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_JA pc=1958 dst=r0 src=r0 offset=-168 imm=0 +#line 276 "sample/undocked/map.c" goto label_113; label_122: // EBPF_OP_LDXW pc=1959 dst=r3 src=r10 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1960 dst=r3 src=r0 offset=20 imm=5 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r3 == IMMEDIATE(5)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_123; - // EBPF_OP_LDDW pc=1961 dst=r1 src=r0 offset=0 imm=1735289204 -#line 276 "sample/map.c" + // EBPF_OP_LDDW pc=1961 dst=r1 src=r0 offset=0 imm=1735289204 +#line 276 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1963 dst=r10 src=r1 offset=-32 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1964 dst=r1 src=r0 offset=0 imm=1696621605 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1966 dst=r10 src=r1 offset=-40 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1967 dst=r1 src=r0 offset=0 imm=1952805408 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1969 dst=r10 src=r1 offset=-48 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1970 dst=r1 src=r0 offset=0 imm=1601204080 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1972 dst=r10 src=r1 offset=-56 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1973 dst=r1 src=r0 offset=0 imm=1600548962 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1975 dst=r10 src=r1 offset=-64 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1976 dst=r1 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1977 dst=r1 src=r0 offset=0 imm=-64 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1978 dst=r2 src=r0 offset=0 imm=40 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1979 dst=r4 src=r0 offset=0 imm=5 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = IMMEDIATE(5); // EBPF_OP_JA pc=1980 dst=r0 src=r0 offset=-670 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_84; label_123: // EBPF_OP_MOV64_IMM pc=1981 dst=r7 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1982 dst=r10 src=r7 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1983 dst=r2 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1984 dst=r2 src=r0 offset=0 imm=-4 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1985 dst=r1 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1987 dst=r0 src=r0 offset=0 imm=17 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1988 dst=r6 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1988 dst=r6 src=r0 offset=0 imm=0 +#line 277 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1989 dst=r4 src=r6 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1990 dst=r4 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1991 dst=r1 src=r4 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1992 dst=r1 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1993 dst=r1 src=r0 offset=1 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_124; - // EBPF_OP_JA pc=1994 dst=r0 src=r0 offset=-204 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_JA pc=1994 dst=r0 src=r0 offset=-204 imm=0 +#line 277 "sample/undocked/map.c" goto label_113; label_124: // EBPF_OP_LDXW pc=1995 dst=r3 src=r10 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1996 dst=r3 src=r0 offset=20 imm=6 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r3 == IMMEDIATE(6)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_125; - // EBPF_OP_LDDW pc=1997 dst=r1 src=r0 offset=0 imm=1735289204 -#line 277 "sample/map.c" + // EBPF_OP_LDDW pc=1997 dst=r1 src=r0 offset=0 imm=1735289204 +#line 277 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1999 dst=r10 src=r1 offset=-32 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2000 dst=r1 src=r0 offset=0 imm=1696621605 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2002 dst=r10 src=r1 offset=-40 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2003 dst=r1 src=r0 offset=0 imm=1952805408 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2005 dst=r10 src=r1 offset=-48 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2006 dst=r1 src=r0 offset=0 imm=1601204080 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2008 dst=r10 src=r1 offset=-56 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2009 dst=r1 src=r0 offset=0 imm=1600548962 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2011 dst=r10 src=r1 offset=-64 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2012 dst=r1 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2013 dst=r1 src=r0 offset=0 imm=-64 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2014 dst=r2 src=r0 offset=0 imm=40 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2015 dst=r4 src=r0 offset=0 imm=6 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = IMMEDIATE(6); // EBPF_OP_JA pc=2016 dst=r0 src=r0 offset=-706 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_84; label_125: // EBPF_OP_MOV64_IMM pc=2017 dst=r7 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2018 dst=r10 src=r7 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2019 dst=r2 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2020 dst=r2 src=r0 offset=0 imm=-4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2021 dst=r1 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2023 dst=r0 src=r0 offset=0 imm=17 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2024 dst=r6 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2024 dst=r6 src=r0 offset=0 imm=0 +#line 278 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2025 dst=r4 src=r6 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2026 dst=r4 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2027 dst=r1 src=r4 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2028 dst=r1 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2029 dst=r1 src=r0 offset=1 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_126; - // EBPF_OP_JA pc=2030 dst=r0 src=r0 offset=-240 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_JA pc=2030 dst=r0 src=r0 offset=-240 imm=0 +#line 278 "sample/undocked/map.c" goto label_113; label_126: // EBPF_OP_LDXW pc=2031 dst=r3 src=r10 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2032 dst=r3 src=r0 offset=20 imm=7 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r3 == IMMEDIATE(7)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_127; - // EBPF_OP_LDDW pc=2033 dst=r1 src=r0 offset=0 imm=1735289204 -#line 278 "sample/map.c" + // EBPF_OP_LDDW pc=2033 dst=r1 src=r0 offset=0 imm=1735289204 +#line 278 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2035 dst=r10 src=r1 offset=-32 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2036 dst=r1 src=r0 offset=0 imm=1696621605 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2038 dst=r10 src=r1 offset=-40 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2039 dst=r1 src=r0 offset=0 imm=1952805408 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2041 dst=r10 src=r1 offset=-48 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2042 dst=r1 src=r0 offset=0 imm=1601204080 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2044 dst=r10 src=r1 offset=-56 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2045 dst=r1 src=r0 offset=0 imm=1600548962 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2047 dst=r10 src=r1 offset=-64 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2048 dst=r1 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2049 dst=r1 src=r0 offset=0 imm=-64 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2050 dst=r2 src=r0 offset=0 imm=40 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2051 dst=r4 src=r0 offset=0 imm=7 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = IMMEDIATE(7); // EBPF_OP_JA pc=2052 dst=r0 src=r0 offset=-742 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_84; label_127: // EBPF_OP_MOV64_IMM pc=2053 dst=r7 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2054 dst=r10 src=r7 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2055 dst=r2 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2056 dst=r2 src=r0 offset=0 imm=-4 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2057 dst=r1 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2059 dst=r0 src=r0 offset=0 imm=17 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2060 dst=r6 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2060 dst=r6 src=r0 offset=0 imm=0 +#line 279 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2061 dst=r4 src=r6 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2062 dst=r4 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2063 dst=r1 src=r4 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2064 dst=r1 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2065 dst=r1 src=r0 offset=1 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_128; - // EBPF_OP_JA pc=2066 dst=r0 src=r0 offset=-276 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_JA pc=2066 dst=r0 src=r0 offset=-276 imm=0 +#line 279 "sample/undocked/map.c" goto label_113; label_128: // EBPF_OP_LDXW pc=2067 dst=r3 src=r10 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2068 dst=r3 src=r0 offset=20 imm=8 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r3 == IMMEDIATE(8)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_129; - // EBPF_OP_LDDW pc=2069 dst=r1 src=r0 offset=0 imm=1735289204 -#line 279 "sample/map.c" + // EBPF_OP_LDDW pc=2069 dst=r1 src=r0 offset=0 imm=1735289204 +#line 279 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2071 dst=r10 src=r1 offset=-32 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2072 dst=r1 src=r0 offset=0 imm=1696621605 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2074 dst=r10 src=r1 offset=-40 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2075 dst=r1 src=r0 offset=0 imm=1952805408 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2077 dst=r10 src=r1 offset=-48 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2078 dst=r1 src=r0 offset=0 imm=1601204080 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2080 dst=r10 src=r1 offset=-56 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2081 dst=r1 src=r0 offset=0 imm=1600548962 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2083 dst=r10 src=r1 offset=-64 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2084 dst=r1 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2085 dst=r1 src=r0 offset=0 imm=-64 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2086 dst=r2 src=r0 offset=0 imm=40 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2087 dst=r4 src=r0 offset=0 imm=8 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = IMMEDIATE(8); // EBPF_OP_JA pc=2088 dst=r0 src=r0 offset=-778 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_84; label_129: // EBPF_OP_MOV64_IMM pc=2089 dst=r7 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2090 dst=r10 src=r7 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2091 dst=r2 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2092 dst=r2 src=r0 offset=0 imm=-4 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2093 dst=r1 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2095 dst=r0 src=r0 offset=0 imm=17 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2096 dst=r6 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2096 dst=r6 src=r0 offset=0 imm=0 +#line 280 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2097 dst=r4 src=r6 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2098 dst=r4 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2099 dst=r1 src=r4 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2100 dst=r1 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2101 dst=r1 src=r0 offset=1 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_130; - // EBPF_OP_JA pc=2102 dst=r0 src=r0 offset=-312 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_JA pc=2102 dst=r0 src=r0 offset=-312 imm=0 +#line 280 "sample/undocked/map.c" goto label_113; label_130: // EBPF_OP_LDXW pc=2103 dst=r3 src=r10 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2104 dst=r3 src=r0 offset=20 imm=9 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r3 == IMMEDIATE(9)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_131; - // EBPF_OP_LDDW pc=2105 dst=r1 src=r0 offset=0 imm=1735289204 -#line 280 "sample/map.c" + // EBPF_OP_LDDW pc=2105 dst=r1 src=r0 offset=0 imm=1735289204 +#line 280 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2107 dst=r10 src=r1 offset=-32 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2108 dst=r1 src=r0 offset=0 imm=1696621605 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2110 dst=r10 src=r1 offset=-40 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2111 dst=r1 src=r0 offset=0 imm=1952805408 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2113 dst=r10 src=r1 offset=-48 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2114 dst=r1 src=r0 offset=0 imm=1601204080 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2116 dst=r10 src=r1 offset=-56 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2117 dst=r1 src=r0 offset=0 imm=1600548962 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2119 dst=r10 src=r1 offset=-64 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2120 dst=r1 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2121 dst=r1 src=r0 offset=0 imm=-64 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2122 dst=r2 src=r0 offset=0 imm=40 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2123 dst=r4 src=r0 offset=0 imm=9 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = IMMEDIATE(9); // EBPF_OP_JA pc=2124 dst=r0 src=r0 offset=-814 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_84; label_131: // EBPF_OP_MOV64_IMM pc=2125 dst=r7 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2126 dst=r10 src=r7 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2127 dst=r2 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2128 dst=r2 src=r0 offset=0 imm=-4 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2129 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2131 dst=r0 src=r0 offset=0 imm=17 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2132 dst=r6 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2132 dst=r6 src=r0 offset=0 imm=0 +#line 281 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2133 dst=r4 src=r6 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2134 dst=r4 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2135 dst=r1 src=r4 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2136 dst=r1 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2137 dst=r1 src=r0 offset=1 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_132; - // EBPF_OP_JA pc=2138 dst=r0 src=r0 offset=-348 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_JA pc=2138 dst=r0 src=r0 offset=-348 imm=0 +#line 281 "sample/undocked/map.c" goto label_113; label_132: // EBPF_OP_LDXW pc=2139 dst=r3 src=r10 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2140 dst=r3 src=r0 offset=20 imm=10 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_133; - // EBPF_OP_LDDW pc=2141 dst=r1 src=r0 offset=0 imm=1735289204 -#line 281 "sample/map.c" + // EBPF_OP_LDDW pc=2141 dst=r1 src=r0 offset=0 imm=1735289204 +#line 281 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2143 dst=r10 src=r1 offset=-32 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2144 dst=r1 src=r0 offset=0 imm=1696621605 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2146 dst=r10 src=r1 offset=-40 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2147 dst=r1 src=r0 offset=0 imm=1952805408 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2149 dst=r10 src=r1 offset=-48 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2150 dst=r1 src=r0 offset=0 imm=1601204080 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2152 dst=r10 src=r1 offset=-56 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2153 dst=r1 src=r0 offset=0 imm=1600548962 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2155 dst=r10 src=r1 offset=-64 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2156 dst=r1 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2157 dst=r1 src=r0 offset=0 imm=-64 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2158 dst=r2 src=r0 offset=0 imm=40 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2159 dst=r4 src=r0 offset=0 imm=10 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2160 dst=r0 src=r0 offset=-850 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_84; label_133: // EBPF_OP_MOV64_IMM pc=2161 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2162 dst=r10 src=r1 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2163 dst=r2 src=r10 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2164 dst=r2 src=r0 offset=0 imm=-4 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2165 dst=r1 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2167 dst=r0 src=r0 offset=0 imm=18 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2168 dst=r6 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2168 dst=r6 src=r0 offset=0 imm=0 +#line 284 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2169 dst=r4 src=r6 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2170 dst=r4 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2171 dst=r1 src=r4 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2172 dst=r1 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2173 dst=r2 src=r0 offset=0 imm=-7 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2175 dst=r1 src=r2 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r1 == r2) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_134; - // EBPF_OP_JA pc=2176 dst=r0 src=r0 offset=-916 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=2176 dst=r0 src=r0 offset=-916 imm=0 +#line 284 "sample/undocked/map.c" goto label_79; label_134: // EBPF_OP_LDXW pc=2177 dst=r3 src=r10 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2178 dst=r3 src=r0 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_135; - // EBPF_OP_JA pc=2179 dst=r0 src=r0 offset=-890 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=2179 dst=r0 src=r0 offset=-890 imm=0 +#line 284 "sample/undocked/map.c" goto label_82; label_135: // EBPF_OP_MOV64_IMM pc=2180 dst=r7 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2181 dst=r10 src=r7 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2182 dst=r2 src=r10 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2183 dst=r2 src=r0 offset=0 imm=-4 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2184 dst=r1 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2186 dst=r0 src=r0 offset=0 imm=17 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2187 dst=r6 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2187 dst=r6 src=r0 offset=0 imm=0 +#line 285 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2188 dst=r4 src=r6 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2189 dst=r4 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2190 dst=r1 src=r4 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2191 dst=r1 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2192 dst=r2 src=r0 offset=0 imm=-7 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2194 dst=r1 src=r2 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r1 == r2) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_136; - // EBPF_OP_JA pc=2195 dst=r0 src=r0 offset=-801 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=2195 dst=r0 src=r0 offset=-801 imm=0 +#line 285 "sample/undocked/map.c" goto label_91; label_136: // EBPF_OP_LDXW pc=2196 dst=r3 src=r10 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2197 dst=r3 src=r0 offset=-879 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_86; - // EBPF_OP_JA pc=2198 dst=r0 src=r0 offset=-778 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=2198 dst=r0 src=r0 offset=-778 imm=0 +#line 285 "sample/undocked/map.c" goto label_93; label_137: // EBPF_OP_LDXW pc=2199 dst=r3 src=r10 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2200 dst=r3 src=r0 offset=50 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_142; label_138: // EBPF_OP_LDDW pc=2201 dst=r1 src=r0 offset=0 imm=1852404835 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=2203 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2204 dst=r1 src=r0 offset=0 imm=543434016 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=2206 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2207 dst=r1 src=r0 offset=0 imm=1701978221 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=2209 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2210 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2212 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2213 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2215 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=2216 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2217 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_MOV64_REG pc=2218 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2219 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2220 dst=r2 src=r0 offset=0 imm=41 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(41); label_139: // EBPF_OP_MOV64_IMM pc=2221 dst=r4 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_140: // EBPF_OP_CALL pc=2222 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=2223 dst=r7 src=r0 offset=0 imm=-1 -#line 240 "sample/map.c" + // EBPF_OP_LDDW pc=2223 dst=r7 src=r0 offset=0 imm=-1 +#line 240 "sample/undocked/map.c" r7 = (uint64_t)4294967295; label_141: // EBPF_OP_MOV64_IMM pc=2225 dst=r6 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_MOV64_REG pc=2226 dst=r3 src=r7 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 = r7; // EBPF_OP_LSH64_IMM pc=2227 dst=r3 src=r0 offset=0 imm=32 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=2228 dst=r3 src=r0 offset=0 imm=32 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=2229 dst=r3 src=r0 offset=-2128 imm=-1 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" goto label_9; - // EBPF_OP_LDDW pc=2230 dst=r1 src=r0 offset=0 imm=1684369010 -#line 304 "sample/map.c" + // EBPF_OP_LDDW pc=2230 dst=r1 src=r0 offset=0 imm=1684369010 +#line 304 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=2232 dst=r10 src=r1 offset=-32 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2233 dst=r1 src=r0 offset=0 imm=541803329 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)8463501140578485057; // EBPF_OP_STXDW pc=2235 dst=r10 src=r1 offset=-40 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2236 dst=r1 src=r0 offset=0 imm=1634541682 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)6076235989295898738; // EBPF_OP_STXDW pc=2238 dst=r10 src=r1 offset=-48 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2239 dst=r1 src=r0 offset=0 imm=1330667336 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)8027138915134627656; // EBPF_OP_STXDW pc=2241 dst=r10 src=r1 offset=-56 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2242 dst=r1 src=r0 offset=0 imm=1953719636 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)6004793778491319636; // EBPF_OP_STXDW pc=2244 dst=r10 src=r1 offset=-64 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2245 dst=r1 src=r10 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2246 dst=r1 src=r0 offset=0 imm=-64 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2247 dst=r2 src=r0 offset=0 imm=40 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_CALL pc=2248 dst=r0 src=r0 offset=0 imm=13 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2249 dst=r6 src=r7 offset=0 imm=0 -#line 304 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2249 dst=r6 src=r7 offset=0 imm=0 +#line 304 "sample/undocked/map.c" r6 = r7; // EBPF_OP_JA pc=2250 dst=r0 src=r0 offset=-2149 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" goto label_9; label_142: // EBPF_OP_MOV64_IMM pc=2251 dst=r6 src=r0 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2252 dst=r10 src=r6 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2253 dst=r2 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2254 dst=r2 src=r0 offset=0 imm=-4 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2255 dst=r1 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2257 dst=r0 src=r0 offset=0 imm=17 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2258 dst=r7 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2258 dst=r7 src=r0 offset=0 imm=0 +#line 241 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2259 dst=r4 src=r7 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2260 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2261 dst=r1 src=r4 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2262 dst=r1 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2263 dst=r2 src=r0 offset=0 imm=-7 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2265 dst=r1 src=r2 offset=24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r1 == r2) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_144; label_143: // EBPF_OP_STXB pc=2266 dst=r10 src=r6 offset=-16 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r6; // EBPF_OP_LDDW pc=2267 dst=r1 src=r0 offset=0 imm=1701737077 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=2269 dst=r10 src=r1 offset=-24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2270 dst=r1 src=r0 offset=0 imm=1680154740 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=2272 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2273 dst=r1 src=r0 offset=0 imm=1914726254 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=2275 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2276 dst=r1 src=r0 offset=0 imm=1886938400 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=2278 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2279 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2281 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2282 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2284 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=2285 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2286 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2287 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2288 dst=r2 src=r0 offset=0 imm=49 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=2289 dst=r0 src=r0 offset=-932 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_88; label_144: // EBPF_OP_LDXW pc=2290 dst=r3 src=r10 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2291 dst=r3 src=r0 offset=19 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_146; label_145: // EBPF_OP_LDDW pc=2292 dst=r1 src=r0 offset=0 imm=1735289204 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2294 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2295 dst=r1 src=r0 offset=0 imm=1696621605 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2297 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2298 dst=r1 src=r0 offset=0 imm=1952805408 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2300 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2301 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2303 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2304 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2306 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2307 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2308 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2309 dst=r2 src=r0 offset=0 imm=40 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=2310 dst=r0 src=r0 offset=-90 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_139; label_146: // EBPF_OP_MOV64_IMM pc=2311 dst=r6 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2312 dst=r10 src=r6 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2313 dst=r2 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2314 dst=r2 src=r0 offset=0 imm=-4 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2315 dst=r1 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2317 dst=r3 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2318 dst=r0 src=r0 offset=0 imm=16 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2319 dst=r7 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2319 dst=r7 src=r0 offset=0 imm=0 +#line 249 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2320 dst=r5 src=r7 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2321 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2322 dst=r1 src=r5 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2323 dst=r1 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2324 dst=r1 src=r0 offset=31 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" goto label_150; label_147: // EBPF_OP_MOV64_IMM pc=2325 dst=r1 src=r0 offset=0 imm=25637 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2326 dst=r10 src=r1 offset=-12 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2327 dst=r1 src=r0 offset=0 imm=543450478 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2328 dst=r10 src=r1 offset=-16 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2329 dst=r1 src=r0 offset=0 imm=1914725413 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2331 dst=r10 src=r1 offset=-24 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2332 dst=r1 src=r0 offset=0 imm=1667592312 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2334 dst=r10 src=r1 offset=-32 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2335 dst=r1 src=r0 offset=0 imm=543649385 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2337 dst=r10 src=r1 offset=-40 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2338 dst=r1 src=r0 offset=0 imm=1852383341 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2340 dst=r10 src=r1 offset=-48 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2341 dst=r1 src=r0 offset=0 imm=1752397168 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2343 dst=r10 src=r1 offset=-56 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2344 dst=r1 src=r0 offset=0 imm=1600548962 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2346 dst=r10 src=r1 offset=-64 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=2347 dst=r10 src=r6 offset=-10 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r6; label_148: // EBPF_OP_LDXW pc=2348 dst=r3 src=r10 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=2349 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2350 dst=r1 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2351 dst=r1 src=r0 offset=0 imm=-64 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2352 dst=r2 src=r0 offset=0 imm=55 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=2353 dst=r4 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_149: // EBPF_OP_CALL pc=2354 dst=r0 src=r0 offset=0 imm=15 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[10].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[10].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=2355 dst=r0 src=r0 offset=-131 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_JA pc=2355 dst=r0 src=r0 offset=-131 imm=0 +#line 249 "sample/undocked/map.c" goto label_141; label_150: // EBPF_OP_MOV64_IMM pc=2356 dst=r1 src=r0 offset=0 imm=1 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=2357 dst=r10 src=r1 offset=-4 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2358 dst=r2 src=r10 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2359 dst=r2 src=r0 offset=0 imm=-4 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2360 dst=r6 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2361 dst=r1 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2363 dst=r3 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2364 dst=r0 src=r0 offset=0 imm=16 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2365 dst=r7 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2365 dst=r7 src=r0 offset=0 imm=0 +#line 250 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2366 dst=r5 src=r7 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2367 dst=r5 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2368 dst=r1 src=r5 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2369 dst=r1 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2370 dst=r1 src=r0 offset=1 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" goto label_151; - // EBPF_OP_JA pc=2371 dst=r0 src=r0 offset=-47 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_JA pc=2371 dst=r0 src=r0 offset=-47 imm=0 +#line 250 "sample/undocked/map.c" goto label_147; label_151: // EBPF_OP_MOV64_IMM pc=2372 dst=r1 src=r0 offset=0 imm=2 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=2373 dst=r10 src=r1 offset=-4 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2374 dst=r2 src=r10 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2375 dst=r2 src=r0 offset=0 imm=-4 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2376 dst=r6 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2377 dst=r1 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2379 dst=r3 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2380 dst=r0 src=r0 offset=0 imm=16 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2381 dst=r7 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2381 dst=r7 src=r0 offset=0 imm=0 +#line 251 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2382 dst=r5 src=r7 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2383 dst=r5 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2384 dst=r1 src=r5 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2385 dst=r1 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2386 dst=r1 src=r0 offset=1 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" goto label_152; - // EBPF_OP_JA pc=2387 dst=r0 src=r0 offset=-63 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_JA pc=2387 dst=r0 src=r0 offset=-63 imm=0 +#line 251 "sample/undocked/map.c" goto label_147; label_152: // EBPF_OP_MOV64_IMM pc=2388 dst=r1 src=r0 offset=0 imm=3 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=2389 dst=r10 src=r1 offset=-4 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2390 dst=r2 src=r10 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2391 dst=r2 src=r0 offset=0 imm=-4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2392 dst=r6 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2393 dst=r1 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2395 dst=r3 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2396 dst=r0 src=r0 offset=0 imm=16 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2397 dst=r7 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2397 dst=r7 src=r0 offset=0 imm=0 +#line 252 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2398 dst=r5 src=r7 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2399 dst=r5 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2400 dst=r1 src=r5 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2401 dst=r1 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2402 dst=r1 src=r0 offset=1 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" goto label_153; - // EBPF_OP_JA pc=2403 dst=r0 src=r0 offset=-79 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_JA pc=2403 dst=r0 src=r0 offset=-79 imm=0 +#line 252 "sample/undocked/map.c" goto label_147; label_153: // EBPF_OP_MOV64_IMM pc=2404 dst=r1 src=r0 offset=0 imm=4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=2405 dst=r10 src=r1 offset=-4 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2406 dst=r2 src=r10 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2407 dst=r2 src=r0 offset=0 imm=-4 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2408 dst=r6 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2409 dst=r1 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2411 dst=r3 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2412 dst=r0 src=r0 offset=0 imm=16 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2413 dst=r7 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2413 dst=r7 src=r0 offset=0 imm=0 +#line 253 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2414 dst=r5 src=r7 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2415 dst=r5 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2416 dst=r1 src=r5 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2417 dst=r1 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2418 dst=r1 src=r0 offset=1 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" goto label_154; - // EBPF_OP_JA pc=2419 dst=r0 src=r0 offset=-95 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_JA pc=2419 dst=r0 src=r0 offset=-95 imm=0 +#line 253 "sample/undocked/map.c" goto label_147; label_154: // EBPF_OP_MOV64_IMM pc=2420 dst=r1 src=r0 offset=0 imm=5 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=2421 dst=r10 src=r1 offset=-4 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2422 dst=r2 src=r10 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2423 dst=r2 src=r0 offset=0 imm=-4 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2424 dst=r6 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2425 dst=r1 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2427 dst=r3 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2428 dst=r0 src=r0 offset=0 imm=16 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2429 dst=r7 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2429 dst=r7 src=r0 offset=0 imm=0 +#line 254 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2430 dst=r5 src=r7 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2431 dst=r5 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2432 dst=r1 src=r5 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2433 dst=r1 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2434 dst=r1 src=r0 offset=1 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" goto label_155; - // EBPF_OP_JA pc=2435 dst=r0 src=r0 offset=-111 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_JA pc=2435 dst=r0 src=r0 offset=-111 imm=0 +#line 254 "sample/undocked/map.c" goto label_147; label_155: // EBPF_OP_MOV64_IMM pc=2436 dst=r1 src=r0 offset=0 imm=6 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=2437 dst=r10 src=r1 offset=-4 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2438 dst=r2 src=r10 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2439 dst=r2 src=r0 offset=0 imm=-4 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2440 dst=r6 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2441 dst=r1 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2443 dst=r3 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2444 dst=r0 src=r0 offset=0 imm=16 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2445 dst=r7 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2445 dst=r7 src=r0 offset=0 imm=0 +#line 255 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2446 dst=r5 src=r7 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2447 dst=r5 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2448 dst=r1 src=r5 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2449 dst=r1 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2450 dst=r1 src=r0 offset=1 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" goto label_156; - // EBPF_OP_JA pc=2451 dst=r0 src=r0 offset=-127 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_JA pc=2451 dst=r0 src=r0 offset=-127 imm=0 +#line 255 "sample/undocked/map.c" goto label_147; label_156: // EBPF_OP_MOV64_IMM pc=2452 dst=r1 src=r0 offset=0 imm=7 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=2453 dst=r10 src=r1 offset=-4 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2454 dst=r2 src=r10 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2455 dst=r2 src=r0 offset=0 imm=-4 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2456 dst=r6 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2457 dst=r1 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2459 dst=r3 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2460 dst=r0 src=r0 offset=0 imm=16 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2461 dst=r7 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2461 dst=r7 src=r0 offset=0 imm=0 +#line 256 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2462 dst=r5 src=r7 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2463 dst=r5 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2464 dst=r1 src=r5 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2465 dst=r1 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2466 dst=r1 src=r0 offset=1 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" goto label_157; - // EBPF_OP_JA pc=2467 dst=r0 src=r0 offset=-143 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_JA pc=2467 dst=r0 src=r0 offset=-143 imm=0 +#line 256 "sample/undocked/map.c" goto label_147; label_157: // EBPF_OP_MOV64_IMM pc=2468 dst=r1 src=r0 offset=0 imm=8 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=2469 dst=r10 src=r1 offset=-4 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2470 dst=r2 src=r10 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2471 dst=r2 src=r0 offset=0 imm=-4 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2472 dst=r6 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2473 dst=r1 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2475 dst=r3 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2476 dst=r0 src=r0 offset=0 imm=16 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2477 dst=r7 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2477 dst=r7 src=r0 offset=0 imm=0 +#line 257 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2478 dst=r5 src=r7 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2479 dst=r5 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2480 dst=r1 src=r5 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2481 dst=r1 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2482 dst=r1 src=r0 offset=1 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" goto label_158; - // EBPF_OP_JA pc=2483 dst=r0 src=r0 offset=-159 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_JA pc=2483 dst=r0 src=r0 offset=-159 imm=0 +#line 257 "sample/undocked/map.c" goto label_147; label_158: // EBPF_OP_MOV64_IMM pc=2484 dst=r1 src=r0 offset=0 imm=9 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=2485 dst=r10 src=r1 offset=-4 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2486 dst=r2 src=r10 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2487 dst=r2 src=r0 offset=0 imm=-4 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2488 dst=r6 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2489 dst=r1 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2491 dst=r3 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2492 dst=r0 src=r0 offset=0 imm=16 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2493 dst=r7 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2493 dst=r7 src=r0 offset=0 imm=0 +#line 258 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2494 dst=r5 src=r7 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2495 dst=r5 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2496 dst=r1 src=r5 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2497 dst=r1 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2498 dst=r1 src=r0 offset=1 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" goto label_159; - // EBPF_OP_JA pc=2499 dst=r0 src=r0 offset=-175 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_JA pc=2499 dst=r0 src=r0 offset=-175 imm=0 +#line 258 "sample/undocked/map.c" goto label_147; label_159: // EBPF_OP_MOV64_IMM pc=2500 dst=r6 src=r0 offset=0 imm=10 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r6 = IMMEDIATE(10); // EBPF_OP_STXW pc=2501 dst=r10 src=r6 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2502 dst=r2 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2503 dst=r2 src=r0 offset=0 imm=-4 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2504 dst=r8 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r8 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2505 dst=r1 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2507 dst=r3 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2508 dst=r0 src=r0 offset=0 imm=16 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2509 dst=r7 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2509 dst=r7 src=r0 offset=0 imm=0 +#line 261 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2510 dst=r5 src=r7 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2511 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2512 dst=r1 src=r5 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2513 dst=r1 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2514 dst=r2 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = (uint64_t)4294967267; // EBPF_OP_JEQ_REG pc=2516 dst=r1 src=r2 offset=30 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if (r1 == r2) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_160; - // EBPF_OP_STXB pc=2517 dst=r10 src=r8 offset=-10 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_STXB pc=2517 dst=r10 src=r8 offset=-10 imm=0 +#line 261 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r8; // EBPF_OP_MOV64_IMM pc=2518 dst=r1 src=r0 offset=0 imm=25637 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2519 dst=r10 src=r1 offset=-12 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2520 dst=r1 src=r0 offset=0 imm=543450478 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2521 dst=r10 src=r1 offset=-16 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2522 dst=r1 src=r0 offset=0 imm=1914725413 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2524 dst=r10 src=r1 offset=-24 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2525 dst=r1 src=r0 offset=0 imm=1667592312 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2527 dst=r10 src=r1 offset=-32 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2528 dst=r1 src=r0 offset=0 imm=543649385 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2530 dst=r10 src=r1 offset=-40 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2531 dst=r1 src=r0 offset=0 imm=1852383341 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2533 dst=r10 src=r1 offset=-48 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2534 dst=r1 src=r0 offset=0 imm=1752397168 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2536 dst=r10 src=r1 offset=-56 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2537 dst=r1 src=r0 offset=0 imm=1600548962 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2539 dst=r10 src=r1 offset=-64 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_LDXW pc=2540 dst=r3 src=r10 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=2541 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2542 dst=r1 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2543 dst=r1 src=r0 offset=0 imm=-64 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2544 dst=r2 src=r0 offset=0 imm=55 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=2545 dst=r4 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r4 = IMMEDIATE(-29); // EBPF_OP_JA pc=2546 dst=r0 src=r0 offset=-193 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_149; label_160: // EBPF_OP_STXW pc=2547 dst=r10 src=r6 offset=-4 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2548 dst=r2 src=r10 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2549 dst=r2 src=r0 offset=0 imm=-4 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2550 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2552 dst=r3 src=r0 offset=0 imm=2 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=2553 dst=r0 src=r0 offset=0 imm=16 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2554 dst=r7 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2554 dst=r7 src=r0 offset=0 imm=0 +#line 262 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2555 dst=r5 src=r7 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2556 dst=r5 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2557 dst=r1 src=r5 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2558 dst=r1 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2559 dst=r1 src=r0 offset=25 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_161; - // EBPF_OP_MOV64_IMM pc=2560 dst=r1 src=r0 offset=0 imm=25637 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2560 dst=r1 src=r0 offset=0 imm=25637 +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2561 dst=r10 src=r1 offset=-12 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2562 dst=r1 src=r0 offset=0 imm=543450478 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2563 dst=r10 src=r1 offset=-16 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2564 dst=r1 src=r0 offset=0 imm=1914725413 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2566 dst=r10 src=r1 offset=-24 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2567 dst=r1 src=r0 offset=0 imm=1667592312 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2569 dst=r10 src=r1 offset=-32 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2570 dst=r1 src=r0 offset=0 imm=543649385 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2572 dst=r10 src=r1 offset=-40 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2573 dst=r1 src=r0 offset=0 imm=1852383341 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2575 dst=r10 src=r1 offset=-48 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2576 dst=r1 src=r0 offset=0 imm=1752397168 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2578 dst=r10 src=r1 offset=-56 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2579 dst=r1 src=r0 offset=0 imm=1600548962 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2581 dst=r10 src=r1 offset=-64 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=2582 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2583 dst=r10 src=r1 offset=-10 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r1; // EBPF_OP_JA pc=2584 dst=r0 src=r0 offset=-237 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_148; label_161: // EBPF_OP_MOV64_IMM pc=2585 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2586 dst=r10 src=r1 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2587 dst=r2 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2588 dst=r2 src=r0 offset=0 imm=-4 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2589 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2591 dst=r0 src=r0 offset=0 imm=18 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2592 dst=r7 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2592 dst=r7 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2593 dst=r4 src=r7 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2594 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2595 dst=r1 src=r4 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2596 dst=r1 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2597 dst=r1 src=r0 offset=27 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_163; - // EBPF_OP_MOV64_IMM pc=2598 dst=r1 src=r0 offset=0 imm=100 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2598 dst=r1 src=r0 offset=0 imm=100 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=2599 dst=r10 src=r1 offset=-16 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=2600 dst=r1 src=r0 offset=0 imm=1852994932 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=2602 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2603 dst=r1 src=r0 offset=0 imm=622883948 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=2605 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2606 dst=r1 src=r0 offset=0 imm=543649385 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=2608 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2609 dst=r1 src=r0 offset=0 imm=2019893357 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=2611 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2612 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2614 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2615 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2617 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=2618 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2619 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2620 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2621 dst=r2 src=r0 offset=0 imm=50 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_162: // EBPF_OP_MOV64_IMM pc=2622 dst=r3 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2623 dst=r0 src=r0 offset=0 imm=14 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=2624 dst=r0 src=r0 offset=-400 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_JA pc=2624 dst=r0 src=r0 offset=-400 imm=0 +#line 264 "sample/undocked/map.c" goto label_141; label_163: // EBPF_OP_LDXW pc=2625 dst=r3 src=r10 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2626 dst=r3 src=r0 offset=22 imm=10 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_164; - // EBPF_OP_MOV64_IMM pc=2627 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2627 dst=r1 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2628 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_LDDW pc=2629 dst=r1 src=r0 offset=0 imm=1852404835 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=2631 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2632 dst=r1 src=r0 offset=0 imm=543434016 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=2634 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2635 dst=r1 src=r0 offset=0 imm=1701978221 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=2637 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2638 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2640 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2641 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2643 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2644 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2645 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2646 dst=r2 src=r0 offset=0 imm=41 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(41); // EBPF_OP_MOV64_IMM pc=2647 dst=r4 src=r0 offset=0 imm=10 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2648 dst=r0 src=r0 offset=-427 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_140; label_164: // EBPF_OP_MOV64_IMM pc=2649 dst=r6 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2650 dst=r10 src=r6 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2651 dst=r2 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2652 dst=r2 src=r0 offset=0 imm=-4 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2653 dst=r1 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2655 dst=r0 src=r0 offset=0 imm=17 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2656 dst=r7 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2656 dst=r7 src=r0 offset=0 imm=0 +#line 272 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2657 dst=r4 src=r7 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2658 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2659 dst=r1 src=r4 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2660 dst=r1 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2661 dst=r1 src=r0 offset=24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_166; label_165: // EBPF_OP_LDDW pc=2662 dst=r1 src=r0 offset=0 imm=1701737077 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=2664 dst=r10 src=r1 offset=-24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2665 dst=r1 src=r0 offset=0 imm=1680154740 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=2667 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2668 dst=r1 src=r0 offset=0 imm=1914726254 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=2670 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2671 dst=r1 src=r0 offset=0 imm=1886938400 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=2673 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2674 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2676 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2677 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2679 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=2680 dst=r10 src=r6 offset=-16 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r6; // EBPF_OP_ARSH64_IMM pc=2681 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2682 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2683 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2684 dst=r2 src=r0 offset=0 imm=49 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=2685 dst=r0 src=r0 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_162; label_166: // EBPF_OP_LDXW pc=2686 dst=r3 src=r10 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2687 dst=r3 src=r0 offset=20 imm=10 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_167; - // EBPF_OP_LDDW pc=2688 dst=r1 src=r0 offset=0 imm=1735289204 -#line 272 "sample/map.c" + // EBPF_OP_LDDW pc=2688 dst=r1 src=r0 offset=0 imm=1735289204 +#line 272 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2690 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2691 dst=r1 src=r0 offset=0 imm=1696621605 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2693 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2694 dst=r1 src=r0 offset=0 imm=1952805408 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2696 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2697 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2699 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2700 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2702 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2703 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2704 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2705 dst=r2 src=r0 offset=0 imm=40 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2706 dst=r4 src=r0 offset=0 imm=10 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2707 dst=r0 src=r0 offset=-486 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_140; label_167: // EBPF_OP_MOV64_IMM pc=2708 dst=r6 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2709 dst=r10 src=r6 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2710 dst=r2 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2711 dst=r2 src=r0 offset=0 imm=-4 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2712 dst=r1 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2714 dst=r0 src=r0 offset=0 imm=17 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2715 dst=r7 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2715 dst=r7 src=r0 offset=0 imm=0 +#line 273 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2716 dst=r4 src=r7 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2717 dst=r4 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2718 dst=r1 src=r4 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2719 dst=r1 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2720 dst=r1 src=r0 offset=1 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_168; - // EBPF_OP_JA pc=2721 dst=r0 src=r0 offset=-60 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_JA pc=2721 dst=r0 src=r0 offset=-60 imm=0 +#line 273 "sample/undocked/map.c" goto label_165; label_168: // EBPF_OP_LDXW pc=2722 dst=r3 src=r10 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2723 dst=r3 src=r0 offset=20 imm=9 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r3 == IMMEDIATE(9)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_169; - // EBPF_OP_LDDW pc=2724 dst=r1 src=r0 offset=0 imm=1735289204 -#line 273 "sample/map.c" + // EBPF_OP_LDDW pc=2724 dst=r1 src=r0 offset=0 imm=1735289204 +#line 273 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2726 dst=r10 src=r1 offset=-32 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2727 dst=r1 src=r0 offset=0 imm=1696621605 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2729 dst=r10 src=r1 offset=-40 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2730 dst=r1 src=r0 offset=0 imm=1952805408 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2732 dst=r10 src=r1 offset=-48 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2733 dst=r1 src=r0 offset=0 imm=1601204080 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2735 dst=r10 src=r1 offset=-56 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2736 dst=r1 src=r0 offset=0 imm=1600548962 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2738 dst=r10 src=r1 offset=-64 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2739 dst=r1 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2740 dst=r1 src=r0 offset=0 imm=-64 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2741 dst=r2 src=r0 offset=0 imm=40 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2742 dst=r4 src=r0 offset=0 imm=9 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = IMMEDIATE(9); // EBPF_OP_JA pc=2743 dst=r0 src=r0 offset=-522 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_140; label_169: // EBPF_OP_MOV64_IMM pc=2744 dst=r6 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2745 dst=r10 src=r6 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2746 dst=r2 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2747 dst=r2 src=r0 offset=0 imm=-4 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2748 dst=r1 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2750 dst=r0 src=r0 offset=0 imm=17 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2751 dst=r7 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2751 dst=r7 src=r0 offset=0 imm=0 +#line 274 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2752 dst=r4 src=r7 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2753 dst=r4 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2754 dst=r1 src=r4 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2755 dst=r1 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2756 dst=r1 src=r0 offset=1 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_170; - // EBPF_OP_JA pc=2757 dst=r0 src=r0 offset=-96 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_JA pc=2757 dst=r0 src=r0 offset=-96 imm=0 +#line 274 "sample/undocked/map.c" goto label_165; label_170: // EBPF_OP_LDXW pc=2758 dst=r3 src=r10 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2759 dst=r3 src=r0 offset=20 imm=8 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r3 == IMMEDIATE(8)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_171; - // EBPF_OP_LDDW pc=2760 dst=r1 src=r0 offset=0 imm=1735289204 -#line 274 "sample/map.c" + // EBPF_OP_LDDW pc=2760 dst=r1 src=r0 offset=0 imm=1735289204 +#line 274 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2762 dst=r10 src=r1 offset=-32 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2763 dst=r1 src=r0 offset=0 imm=1696621605 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2765 dst=r10 src=r1 offset=-40 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2766 dst=r1 src=r0 offset=0 imm=1952805408 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2768 dst=r10 src=r1 offset=-48 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2769 dst=r1 src=r0 offset=0 imm=1601204080 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2771 dst=r10 src=r1 offset=-56 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2772 dst=r1 src=r0 offset=0 imm=1600548962 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2774 dst=r10 src=r1 offset=-64 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2775 dst=r1 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2776 dst=r1 src=r0 offset=0 imm=-64 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2777 dst=r2 src=r0 offset=0 imm=40 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2778 dst=r4 src=r0 offset=0 imm=8 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = IMMEDIATE(8); // EBPF_OP_JA pc=2779 dst=r0 src=r0 offset=-558 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_140; label_171: // EBPF_OP_MOV64_IMM pc=2780 dst=r6 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2781 dst=r10 src=r6 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2782 dst=r2 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2783 dst=r2 src=r0 offset=0 imm=-4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2784 dst=r1 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2786 dst=r0 src=r0 offset=0 imm=17 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2787 dst=r7 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2787 dst=r7 src=r0 offset=0 imm=0 +#line 275 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2788 dst=r4 src=r7 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2789 dst=r4 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2790 dst=r1 src=r4 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2791 dst=r1 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2792 dst=r1 src=r0 offset=1 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_172; - // EBPF_OP_JA pc=2793 dst=r0 src=r0 offset=-132 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_JA pc=2793 dst=r0 src=r0 offset=-132 imm=0 +#line 275 "sample/undocked/map.c" goto label_165; label_172: // EBPF_OP_LDXW pc=2794 dst=r3 src=r10 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2795 dst=r3 src=r0 offset=20 imm=7 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r3 == IMMEDIATE(7)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_173; - // EBPF_OP_LDDW pc=2796 dst=r1 src=r0 offset=0 imm=1735289204 -#line 275 "sample/map.c" + // EBPF_OP_LDDW pc=2796 dst=r1 src=r0 offset=0 imm=1735289204 +#line 275 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2798 dst=r10 src=r1 offset=-32 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2799 dst=r1 src=r0 offset=0 imm=1696621605 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2801 dst=r10 src=r1 offset=-40 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2802 dst=r1 src=r0 offset=0 imm=1952805408 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2804 dst=r10 src=r1 offset=-48 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2805 dst=r1 src=r0 offset=0 imm=1601204080 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2807 dst=r10 src=r1 offset=-56 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2808 dst=r1 src=r0 offset=0 imm=1600548962 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2810 dst=r10 src=r1 offset=-64 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2811 dst=r1 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2812 dst=r1 src=r0 offset=0 imm=-64 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2813 dst=r2 src=r0 offset=0 imm=40 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2814 dst=r4 src=r0 offset=0 imm=7 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = IMMEDIATE(7); // EBPF_OP_JA pc=2815 dst=r0 src=r0 offset=-594 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_140; label_173: // EBPF_OP_MOV64_IMM pc=2816 dst=r6 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2817 dst=r10 src=r6 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2818 dst=r2 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2819 dst=r2 src=r0 offset=0 imm=-4 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2820 dst=r1 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2822 dst=r0 src=r0 offset=0 imm=17 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2823 dst=r7 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2823 dst=r7 src=r0 offset=0 imm=0 +#line 276 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2824 dst=r4 src=r7 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2825 dst=r4 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2826 dst=r1 src=r4 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2827 dst=r1 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2828 dst=r1 src=r0 offset=1 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_174; - // EBPF_OP_JA pc=2829 dst=r0 src=r0 offset=-168 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_JA pc=2829 dst=r0 src=r0 offset=-168 imm=0 +#line 276 "sample/undocked/map.c" goto label_165; label_174: // EBPF_OP_LDXW pc=2830 dst=r3 src=r10 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2831 dst=r3 src=r0 offset=20 imm=6 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r3 == IMMEDIATE(6)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_175; - // EBPF_OP_LDDW pc=2832 dst=r1 src=r0 offset=0 imm=1735289204 -#line 276 "sample/map.c" + // EBPF_OP_LDDW pc=2832 dst=r1 src=r0 offset=0 imm=1735289204 +#line 276 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2834 dst=r10 src=r1 offset=-32 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2835 dst=r1 src=r0 offset=0 imm=1696621605 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2837 dst=r10 src=r1 offset=-40 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2838 dst=r1 src=r0 offset=0 imm=1952805408 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2840 dst=r10 src=r1 offset=-48 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2841 dst=r1 src=r0 offset=0 imm=1601204080 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2843 dst=r10 src=r1 offset=-56 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2844 dst=r1 src=r0 offset=0 imm=1600548962 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2846 dst=r10 src=r1 offset=-64 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2847 dst=r1 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2848 dst=r1 src=r0 offset=0 imm=-64 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2849 dst=r2 src=r0 offset=0 imm=40 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2850 dst=r4 src=r0 offset=0 imm=6 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = IMMEDIATE(6); // EBPF_OP_JA pc=2851 dst=r0 src=r0 offset=-630 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_140; label_175: // EBPF_OP_MOV64_IMM pc=2852 dst=r6 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2853 dst=r10 src=r6 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2854 dst=r2 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2855 dst=r2 src=r0 offset=0 imm=-4 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2856 dst=r1 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2858 dst=r0 src=r0 offset=0 imm=17 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2859 dst=r7 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2859 dst=r7 src=r0 offset=0 imm=0 +#line 277 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2860 dst=r4 src=r7 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2861 dst=r4 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2862 dst=r1 src=r4 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2863 dst=r1 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2864 dst=r1 src=r0 offset=1 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_176; - // EBPF_OP_JA pc=2865 dst=r0 src=r0 offset=-204 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_JA pc=2865 dst=r0 src=r0 offset=-204 imm=0 +#line 277 "sample/undocked/map.c" goto label_165; label_176: // EBPF_OP_LDXW pc=2866 dst=r3 src=r10 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2867 dst=r3 src=r0 offset=20 imm=5 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r3 == IMMEDIATE(5)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_177; - // EBPF_OP_LDDW pc=2868 dst=r1 src=r0 offset=0 imm=1735289204 -#line 277 "sample/map.c" + // EBPF_OP_LDDW pc=2868 dst=r1 src=r0 offset=0 imm=1735289204 +#line 277 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2870 dst=r10 src=r1 offset=-32 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2871 dst=r1 src=r0 offset=0 imm=1696621605 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2873 dst=r10 src=r1 offset=-40 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2874 dst=r1 src=r0 offset=0 imm=1952805408 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2876 dst=r10 src=r1 offset=-48 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2877 dst=r1 src=r0 offset=0 imm=1601204080 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2879 dst=r10 src=r1 offset=-56 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2880 dst=r1 src=r0 offset=0 imm=1600548962 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2882 dst=r10 src=r1 offset=-64 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2883 dst=r1 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2884 dst=r1 src=r0 offset=0 imm=-64 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2885 dst=r2 src=r0 offset=0 imm=40 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2886 dst=r4 src=r0 offset=0 imm=5 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = IMMEDIATE(5); // EBPF_OP_JA pc=2887 dst=r0 src=r0 offset=-666 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_140; label_177: // EBPF_OP_MOV64_IMM pc=2888 dst=r6 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2889 dst=r10 src=r6 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2890 dst=r2 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2891 dst=r2 src=r0 offset=0 imm=-4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2892 dst=r1 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2894 dst=r0 src=r0 offset=0 imm=17 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2895 dst=r7 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2895 dst=r7 src=r0 offset=0 imm=0 +#line 278 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2896 dst=r4 src=r7 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2897 dst=r4 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2898 dst=r1 src=r4 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2899 dst=r1 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2900 dst=r1 src=r0 offset=1 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_178; - // EBPF_OP_JA pc=2901 dst=r0 src=r0 offset=-240 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_JA pc=2901 dst=r0 src=r0 offset=-240 imm=0 +#line 278 "sample/undocked/map.c" goto label_165; label_178: // EBPF_OP_LDXW pc=2902 dst=r3 src=r10 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2903 dst=r3 src=r0 offset=20 imm=4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r3 == IMMEDIATE(4)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_179; - // EBPF_OP_LDDW pc=2904 dst=r1 src=r0 offset=0 imm=1735289204 -#line 278 "sample/map.c" + // EBPF_OP_LDDW pc=2904 dst=r1 src=r0 offset=0 imm=1735289204 +#line 278 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2906 dst=r10 src=r1 offset=-32 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2907 dst=r1 src=r0 offset=0 imm=1696621605 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2909 dst=r10 src=r1 offset=-40 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2910 dst=r1 src=r0 offset=0 imm=1952805408 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2912 dst=r10 src=r1 offset=-48 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2913 dst=r1 src=r0 offset=0 imm=1601204080 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2915 dst=r10 src=r1 offset=-56 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2916 dst=r1 src=r0 offset=0 imm=1600548962 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2918 dst=r10 src=r1 offset=-64 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2919 dst=r1 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2920 dst=r1 src=r0 offset=0 imm=-64 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2921 dst=r2 src=r0 offset=0 imm=40 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2922 dst=r4 src=r0 offset=0 imm=4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = IMMEDIATE(4); // EBPF_OP_JA pc=2923 dst=r0 src=r0 offset=-702 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_140; label_179: // EBPF_OP_MOV64_IMM pc=2924 dst=r6 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2925 dst=r10 src=r6 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2926 dst=r2 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2927 dst=r2 src=r0 offset=0 imm=-4 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2928 dst=r1 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2930 dst=r0 src=r0 offset=0 imm=17 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2931 dst=r7 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2931 dst=r7 src=r0 offset=0 imm=0 +#line 279 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2932 dst=r4 src=r7 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2933 dst=r4 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2934 dst=r1 src=r4 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2935 dst=r1 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2936 dst=r1 src=r0 offset=1 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_180; - // EBPF_OP_JA pc=2937 dst=r0 src=r0 offset=-276 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_JA pc=2937 dst=r0 src=r0 offset=-276 imm=0 +#line 279 "sample/undocked/map.c" goto label_165; label_180: // EBPF_OP_LDXW pc=2938 dst=r3 src=r10 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2939 dst=r3 src=r0 offset=20 imm=3 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r3 == IMMEDIATE(3)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_181; - // EBPF_OP_LDDW pc=2940 dst=r1 src=r0 offset=0 imm=1735289204 -#line 279 "sample/map.c" + // EBPF_OP_LDDW pc=2940 dst=r1 src=r0 offset=0 imm=1735289204 +#line 279 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2942 dst=r10 src=r1 offset=-32 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2943 dst=r1 src=r0 offset=0 imm=1696621605 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2945 dst=r10 src=r1 offset=-40 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2946 dst=r1 src=r0 offset=0 imm=1952805408 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2948 dst=r10 src=r1 offset=-48 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2949 dst=r1 src=r0 offset=0 imm=1601204080 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2951 dst=r10 src=r1 offset=-56 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2952 dst=r1 src=r0 offset=0 imm=1600548962 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2954 dst=r10 src=r1 offset=-64 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2955 dst=r1 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2956 dst=r1 src=r0 offset=0 imm=-64 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2957 dst=r2 src=r0 offset=0 imm=40 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2958 dst=r4 src=r0 offset=0 imm=3 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = IMMEDIATE(3); // EBPF_OP_JA pc=2959 dst=r0 src=r0 offset=-738 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_140; label_181: // EBPF_OP_MOV64_IMM pc=2960 dst=r6 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2961 dst=r10 src=r6 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2962 dst=r2 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2963 dst=r2 src=r0 offset=0 imm=-4 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2964 dst=r1 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2966 dst=r0 src=r0 offset=0 imm=17 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2967 dst=r7 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2967 dst=r7 src=r0 offset=0 imm=0 +#line 280 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2968 dst=r4 src=r7 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2969 dst=r4 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2970 dst=r1 src=r4 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2971 dst=r1 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2972 dst=r1 src=r0 offset=1 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_182; - // EBPF_OP_JA pc=2973 dst=r0 src=r0 offset=-312 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_JA pc=2973 dst=r0 src=r0 offset=-312 imm=0 +#line 280 "sample/undocked/map.c" goto label_165; label_182: // EBPF_OP_LDXW pc=2974 dst=r3 src=r10 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2975 dst=r3 src=r0 offset=20 imm=2 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r3 == IMMEDIATE(2)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_183; - // EBPF_OP_LDDW pc=2976 dst=r1 src=r0 offset=0 imm=1735289204 -#line 280 "sample/map.c" + // EBPF_OP_LDDW pc=2976 dst=r1 src=r0 offset=0 imm=1735289204 +#line 280 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2978 dst=r10 src=r1 offset=-32 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2979 dst=r1 src=r0 offset=0 imm=1696621605 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2981 dst=r10 src=r1 offset=-40 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2982 dst=r1 src=r0 offset=0 imm=1952805408 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2984 dst=r10 src=r1 offset=-48 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2985 dst=r1 src=r0 offset=0 imm=1601204080 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2987 dst=r10 src=r1 offset=-56 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2988 dst=r1 src=r0 offset=0 imm=1600548962 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2990 dst=r10 src=r1 offset=-64 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2991 dst=r1 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2992 dst=r1 src=r0 offset=0 imm=-64 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2993 dst=r2 src=r0 offset=0 imm=40 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2994 dst=r4 src=r0 offset=0 imm=2 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = IMMEDIATE(2); // EBPF_OP_JA pc=2995 dst=r0 src=r0 offset=-774 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_140; label_183: // EBPF_OP_MOV64_IMM pc=2996 dst=r6 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2997 dst=r10 src=r6 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2998 dst=r2 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2999 dst=r2 src=r0 offset=0 imm=-4 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3000 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3002 dst=r0 src=r0 offset=0 imm=17 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3003 dst=r7 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3003 dst=r7 src=r0 offset=0 imm=0 +#line 281 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3004 dst=r4 src=r7 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3005 dst=r4 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3006 dst=r1 src=r4 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3007 dst=r1 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=3008 dst=r1 src=r0 offset=1 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_184; - // EBPF_OP_JA pc=3009 dst=r0 src=r0 offset=-348 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_JA pc=3009 dst=r0 src=r0 offset=-348 imm=0 +#line 281 "sample/undocked/map.c" goto label_165; label_184: // EBPF_OP_LDXW pc=3010 dst=r3 src=r10 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3011 dst=r3 src=r0 offset=20 imm=1 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_185; - // EBPF_OP_LDDW pc=3012 dst=r1 src=r0 offset=0 imm=1735289204 -#line 281 "sample/map.c" + // EBPF_OP_LDDW pc=3012 dst=r1 src=r0 offset=0 imm=1735289204 +#line 281 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=3014 dst=r10 src=r1 offset=-32 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3015 dst=r1 src=r0 offset=0 imm=1696621605 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=3017 dst=r10 src=r1 offset=-40 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3018 dst=r1 src=r0 offset=0 imm=1952805408 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=3020 dst=r10 src=r1 offset=-48 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3021 dst=r1 src=r0 offset=0 imm=1601204080 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=3023 dst=r10 src=r1 offset=-56 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3024 dst=r1 src=r0 offset=0 imm=1600548962 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=3026 dst=r10 src=r1 offset=-64 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=3027 dst=r1 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=3028 dst=r1 src=r0 offset=0 imm=-64 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=3029 dst=r2 src=r0 offset=0 imm=40 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=3030 dst=r4 src=r0 offset=0 imm=1 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=3031 dst=r0 src=r0 offset=-810 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_140; label_185: // EBPF_OP_MOV64_IMM pc=3032 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=3033 dst=r10 src=r1 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3034 dst=r2 src=r10 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3035 dst=r2 src=r0 offset=0 imm=-4 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3036 dst=r1 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3038 dst=r0 src=r0 offset=0 imm=18 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3039 dst=r7 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3039 dst=r7 src=r0 offset=0 imm=0 +#line 284 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3040 dst=r4 src=r7 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3041 dst=r4 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3042 dst=r1 src=r4 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3043 dst=r1 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=3044 dst=r2 src=r0 offset=0 imm=-7 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=3046 dst=r1 src=r2 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r1 == r2) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_186; - // EBPF_OP_JA pc=3047 dst=r0 src=r0 offset=-1714 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=3047 dst=r0 src=r0 offset=-1714 imm=0 +#line 284 "sample/undocked/map.c" goto label_87; label_186: // EBPF_OP_LDXW pc=3048 dst=r3 src=r10 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3049 dst=r3 src=r0 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_187; - // EBPF_OP_JA pc=3050 dst=r0 src=r0 offset=-850 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=3050 dst=r0 src=r0 offset=-850 imm=0 +#line 284 "sample/undocked/map.c" goto label_138; label_187: // EBPF_OP_MOV64_IMM pc=3051 dst=r6 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=3052 dst=r10 src=r6 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=3053 dst=r2 src=r10 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3054 dst=r2 src=r0 offset=0 imm=-4 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3055 dst=r1 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3057 dst=r0 src=r0 offset=0 imm=17 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3058 dst=r7 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3058 dst=r7 src=r0 offset=0 imm=0 +#line 285 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3059 dst=r4 src=r7 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3060 dst=r4 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3061 dst=r1 src=r4 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3062 dst=r1 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=3063 dst=r2 src=r0 offset=0 imm=-7 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=3065 dst=r1 src=r2 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r1 == r2) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_188; - // EBPF_OP_JA pc=3066 dst=r0 src=r0 offset=-801 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=3066 dst=r0 src=r0 offset=-801 imm=0 +#line 285 "sample/undocked/map.c" goto label_143; label_188: // EBPF_OP_LDXW pc=3067 dst=r3 src=r10 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3068 dst=r3 src=r0 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_189; - // EBPF_OP_JA pc=3069 dst=r0 src=r0 offset=-778 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=3069 dst=r0 src=r0 offset=-778 imm=0 +#line 285 "sample/undocked/map.c" goto label_145; label_189: // EBPF_OP_MOV64_IMM pc=3070 dst=r6 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_JA pc=3071 dst=r0 src=r0 offset=-2970 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_9; -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_reuse_2_dll.c b/tests/bpf2c_tests/expected/map_reuse_2_dll.c index 1751d2965c..0d4abee6b2 100644 --- a/tests/bpf2c_tests/expected/map_reuse_2_dll.c +++ b/tests/bpf2c_tests/expected/map_reuse_2_dll.c @@ -103,148 +103,148 @@ static uint16_t lookup_update_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup_update(void* context) -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" { -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" // Prologue -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r0 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r1 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r2 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r3 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r4 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r5 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r6 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r7 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r10 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r1 = (uintptr_t)context; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[0].address -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 -#line 56 "sample/map_reuse_2.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 +#line 56 "sample/undocked/map_reuse_2.c" if (r0 == IMMEDIATE(0)) -#line 56 "sample/map_reuse_2.c" +#line 56 "sample/undocked/map_reuse_2.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 56 "sample/map_reuse_2.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 56 "sample/undocked/map_reuse_2.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[0].address -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 -#line 58 "sample/map_reuse_2.c" + // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 +#line 58 "sample/undocked/map_reuse_2.c" r7 = r0; // EBPF_OP_JNE_IMM pc=15 dst=r7 src=r0 offset=1 imm=0 -#line 59 "sample/map_reuse_2.c" +#line 59 "sample/undocked/map_reuse_2.c" if (r7 != IMMEDIATE(0)) -#line 59 "sample/map_reuse_2.c" +#line 59 "sample/undocked/map_reuse_2.c" goto label_1; - // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 -#line 59 "sample/map_reuse_2.c" + // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 +#line 59 "sample/undocked/map_reuse_2.c" goto label_2; label_1: // EBPF_OP_STXW pc=17 dst=r10 src=r6 offset=-12 imm=0 -#line 61 "sample/map_reuse_2.c" +#line 61 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint32_t)r6; // EBPF_OP_LDXW pc=18 dst=r1 src=r7 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_STXW pc=19 dst=r10 src=r1 offset=-16 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=20 dst=r2 src=r10 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=21 dst=r2 src=r0 offset=0 imm=-12 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-12); // EBPF_OP_MOV64_REG pc=22 dst=r3 src=r10 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r3 src=r0 offset=0 imm=-16 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r3 += IMMEDIATE(-16); // EBPF_OP_LDDW pc=24 dst=r1 src=r0 offset=0 imm=0 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=26 dst=r4 src=r0 offset=0 imm=0 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=2 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[1].address -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[1].tail_call) && (r0 == 0)) -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 -#line 65 "sample/map_reuse_2.c" + // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 +#line 65 "sample/undocked/map_reuse_2.c" r6 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=29 dst=r0 src=r6 offset=0 imm=0 -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" r0 = r6; // EBPF_OP_EXIT pc=30 dst=r0 src=r0 offset=0 imm=0 -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" return r0; -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_reuse_2_raw.c b/tests/bpf2c_tests/expected/map_reuse_2_raw.c index 2cf4bfeb68..fddce55060 100644 --- a/tests/bpf2c_tests/expected/map_reuse_2_raw.c +++ b/tests/bpf2c_tests/expected/map_reuse_2_raw.c @@ -77,148 +77,148 @@ static uint16_t lookup_update_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup_update(void* context) -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" { -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" // Prologue -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r0 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r1 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r2 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r3 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r4 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r5 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r6 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r7 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r10 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r1 = (uintptr_t)context; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[0].address -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 -#line 56 "sample/map_reuse_2.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 +#line 56 "sample/undocked/map_reuse_2.c" if (r0 == IMMEDIATE(0)) -#line 56 "sample/map_reuse_2.c" +#line 56 "sample/undocked/map_reuse_2.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 56 "sample/map_reuse_2.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 56 "sample/undocked/map_reuse_2.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[0].address -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 -#line 58 "sample/map_reuse_2.c" + // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 +#line 58 "sample/undocked/map_reuse_2.c" r7 = r0; // EBPF_OP_JNE_IMM pc=15 dst=r7 src=r0 offset=1 imm=0 -#line 59 "sample/map_reuse_2.c" +#line 59 "sample/undocked/map_reuse_2.c" if (r7 != IMMEDIATE(0)) -#line 59 "sample/map_reuse_2.c" +#line 59 "sample/undocked/map_reuse_2.c" goto label_1; - // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 -#line 59 "sample/map_reuse_2.c" + // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 +#line 59 "sample/undocked/map_reuse_2.c" goto label_2; label_1: // EBPF_OP_STXW pc=17 dst=r10 src=r6 offset=-12 imm=0 -#line 61 "sample/map_reuse_2.c" +#line 61 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint32_t)r6; // EBPF_OP_LDXW pc=18 dst=r1 src=r7 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_STXW pc=19 dst=r10 src=r1 offset=-16 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=20 dst=r2 src=r10 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=21 dst=r2 src=r0 offset=0 imm=-12 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-12); // EBPF_OP_MOV64_REG pc=22 dst=r3 src=r10 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r3 src=r0 offset=0 imm=-16 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r3 += IMMEDIATE(-16); // EBPF_OP_LDDW pc=24 dst=r1 src=r0 offset=0 imm=0 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=26 dst=r4 src=r0 offset=0 imm=0 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=2 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[1].address -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[1].tail_call) && (r0 == 0)) -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 -#line 65 "sample/map_reuse_2.c" + // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 +#line 65 "sample/undocked/map_reuse_2.c" r6 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=29 dst=r0 src=r6 offset=0 imm=0 -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" r0 = r6; // EBPF_OP_EXIT pc=30 dst=r0 src=r0 offset=0 imm=0 -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" return r0; -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_reuse_2_sys.c b/tests/bpf2c_tests/expected/map_reuse_2_sys.c index a54da4fdcb..808af6f851 100644 --- a/tests/bpf2c_tests/expected/map_reuse_2_sys.c +++ b/tests/bpf2c_tests/expected/map_reuse_2_sys.c @@ -238,148 +238,148 @@ static uint16_t lookup_update_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup_update(void* context) -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" { -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" // Prologue -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r0 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r1 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r2 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r3 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r4 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r5 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r6 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r7 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" register uint64_t r10 = 0; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r1 = (uintptr_t)context; -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 50 "sample/map_reuse_2.c" +#line 50 "sample/undocked/map_reuse_2.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 52 "sample/map_reuse_2.c" +#line 52 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[0].address -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 55 "sample/map_reuse_2.c" +#line 55 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 -#line 56 "sample/map_reuse_2.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 +#line 56 "sample/undocked/map_reuse_2.c" if (r0 == IMMEDIATE(0)) -#line 56 "sample/map_reuse_2.c" +#line 56 "sample/undocked/map_reuse_2.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 56 "sample/map_reuse_2.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 56 "sample/undocked/map_reuse_2.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 57 "sample/map_reuse_2.c" +#line 57 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[0].address -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 58 "sample/map_reuse_2.c" +#line 58 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 -#line 58 "sample/map_reuse_2.c" + // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 +#line 58 "sample/undocked/map_reuse_2.c" r7 = r0; // EBPF_OP_JNE_IMM pc=15 dst=r7 src=r0 offset=1 imm=0 -#line 59 "sample/map_reuse_2.c" +#line 59 "sample/undocked/map_reuse_2.c" if (r7 != IMMEDIATE(0)) -#line 59 "sample/map_reuse_2.c" +#line 59 "sample/undocked/map_reuse_2.c" goto label_1; - // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 -#line 59 "sample/map_reuse_2.c" + // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 +#line 59 "sample/undocked/map_reuse_2.c" goto label_2; label_1: // EBPF_OP_STXW pc=17 dst=r10 src=r6 offset=-12 imm=0 -#line 61 "sample/map_reuse_2.c" +#line 61 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint32_t)r6; // EBPF_OP_LDXW pc=18 dst=r1 src=r7 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_STXW pc=19 dst=r10 src=r1 offset=-16 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=20 dst=r2 src=r10 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=21 dst=r2 src=r0 offset=0 imm=-12 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r2 += IMMEDIATE(-12); // EBPF_OP_MOV64_REG pc=22 dst=r3 src=r10 offset=0 imm=0 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r3 src=r0 offset=0 imm=-16 -#line 62 "sample/map_reuse_2.c" +#line 62 "sample/undocked/map_reuse_2.c" r3 += IMMEDIATE(-16); // EBPF_OP_LDDW pc=24 dst=r1 src=r0 offset=0 imm=0 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=26 dst=r4 src=r0 offset=0 imm=0 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=2 -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" r0 = lookup_update_helpers[1].address -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" (r1, r2, r3, r4, r5); -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" if ((lookup_update_helpers[1].tail_call) && (r0 == 0)) -#line 63 "sample/map_reuse_2.c" +#line 63 "sample/undocked/map_reuse_2.c" return 0; - // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 -#line 65 "sample/map_reuse_2.c" + // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 +#line 65 "sample/undocked/map_reuse_2.c" r6 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=29 dst=r0 src=r6 offset=0 imm=0 -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" r0 = r6; // EBPF_OP_EXIT pc=30 dst=r0 src=r0 offset=0 imm=0 -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" return r0; -#line 69 "sample/map_reuse_2.c" +#line 69 "sample/undocked/map_reuse_2.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_reuse_dll.c b/tests/bpf2c_tests/expected/map_reuse_dll.c index e8493e4fb9..66d4079233 100644 --- a/tests/bpf2c_tests/expected/map_reuse_dll.c +++ b/tests/bpf2c_tests/expected/map_reuse_dll.c @@ -103,148 +103,148 @@ static uint16_t lookup_update_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup_update(void* context) -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" { -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" // Prologue -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r0 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r1 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r2 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r3 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r4 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r5 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r6 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r7 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r10 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r1 = (uintptr_t)context; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[0].address -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 -#line 55 "sample/map_reuse.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 +#line 55 "sample/undocked/map_reuse.c" if (r0 == IMMEDIATE(0)) -#line 55 "sample/map_reuse.c" +#line 55 "sample/undocked/map_reuse.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 55 "sample/map_reuse.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 55 "sample/undocked/map_reuse.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[0].address -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 -#line 57 "sample/map_reuse.c" + // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 +#line 57 "sample/undocked/map_reuse.c" r7 = r0; // EBPF_OP_JNE_IMM pc=15 dst=r7 src=r0 offset=1 imm=0 -#line 58 "sample/map_reuse.c" +#line 58 "sample/undocked/map_reuse.c" if (r7 != IMMEDIATE(0)) -#line 58 "sample/map_reuse.c" +#line 58 "sample/undocked/map_reuse.c" goto label_1; - // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 -#line 58 "sample/map_reuse.c" + // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 +#line 58 "sample/undocked/map_reuse.c" goto label_2; label_1: // EBPF_OP_STXW pc=17 dst=r10 src=r6 offset=-12 imm=0 -#line 60 "sample/map_reuse.c" +#line 60 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint32_t)r6; // EBPF_OP_LDXW pc=18 dst=r1 src=r7 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_STXW pc=19 dst=r10 src=r1 offset=-16 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=20 dst=r2 src=r10 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=21 dst=r2 src=r0 offset=0 imm=-12 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-12); // EBPF_OP_MOV64_REG pc=22 dst=r3 src=r10 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r3 src=r0 offset=0 imm=-16 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r3 += IMMEDIATE(-16); // EBPF_OP_LDDW pc=24 dst=r1 src=r0 offset=0 imm=0 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=26 dst=r4 src=r0 offset=0 imm=0 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=2 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[1].address -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[1].tail_call) && (r0 == 0)) -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 -#line 64 "sample/map_reuse.c" + // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 +#line 64 "sample/undocked/map_reuse.c" r6 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=29 dst=r0 src=r6 offset=0 imm=0 -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" r0 = r6; // EBPF_OP_EXIT pc=30 dst=r0 src=r0 offset=0 imm=0 -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" return r0; -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_reuse_raw.c b/tests/bpf2c_tests/expected/map_reuse_raw.c index 603601af22..3a6c0c650a 100644 --- a/tests/bpf2c_tests/expected/map_reuse_raw.c +++ b/tests/bpf2c_tests/expected/map_reuse_raw.c @@ -77,148 +77,148 @@ static uint16_t lookup_update_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup_update(void* context) -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" { -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" // Prologue -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r0 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r1 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r2 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r3 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r4 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r5 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r6 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r7 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r10 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r1 = (uintptr_t)context; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[0].address -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 -#line 55 "sample/map_reuse.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 +#line 55 "sample/undocked/map_reuse.c" if (r0 == IMMEDIATE(0)) -#line 55 "sample/map_reuse.c" +#line 55 "sample/undocked/map_reuse.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 55 "sample/map_reuse.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 55 "sample/undocked/map_reuse.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[0].address -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 -#line 57 "sample/map_reuse.c" + // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 +#line 57 "sample/undocked/map_reuse.c" r7 = r0; // EBPF_OP_JNE_IMM pc=15 dst=r7 src=r0 offset=1 imm=0 -#line 58 "sample/map_reuse.c" +#line 58 "sample/undocked/map_reuse.c" if (r7 != IMMEDIATE(0)) -#line 58 "sample/map_reuse.c" +#line 58 "sample/undocked/map_reuse.c" goto label_1; - // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 -#line 58 "sample/map_reuse.c" + // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 +#line 58 "sample/undocked/map_reuse.c" goto label_2; label_1: // EBPF_OP_STXW pc=17 dst=r10 src=r6 offset=-12 imm=0 -#line 60 "sample/map_reuse.c" +#line 60 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint32_t)r6; // EBPF_OP_LDXW pc=18 dst=r1 src=r7 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_STXW pc=19 dst=r10 src=r1 offset=-16 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=20 dst=r2 src=r10 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=21 dst=r2 src=r0 offset=0 imm=-12 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-12); // EBPF_OP_MOV64_REG pc=22 dst=r3 src=r10 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r3 src=r0 offset=0 imm=-16 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r3 += IMMEDIATE(-16); // EBPF_OP_LDDW pc=24 dst=r1 src=r0 offset=0 imm=0 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=26 dst=r4 src=r0 offset=0 imm=0 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=2 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[1].address -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[1].tail_call) && (r0 == 0)) -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 -#line 64 "sample/map_reuse.c" + // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 +#line 64 "sample/undocked/map_reuse.c" r6 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=29 dst=r0 src=r6 offset=0 imm=0 -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" r0 = r6; // EBPF_OP_EXIT pc=30 dst=r0 src=r0 offset=0 imm=0 -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" return r0; -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_reuse_sys.c b/tests/bpf2c_tests/expected/map_reuse_sys.c index 6effc8f1b3..c135723665 100644 --- a/tests/bpf2c_tests/expected/map_reuse_sys.c +++ b/tests/bpf2c_tests/expected/map_reuse_sys.c @@ -238,148 +238,148 @@ static uint16_t lookup_update_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t lookup_update(void* context) -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" { -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" // Prologue -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r0 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r1 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r2 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r3 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r4 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r5 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r6 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r7 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" register uint64_t r10 = 0; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r1 = (uintptr_t)context; -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r6 src=r0 offset=0 imm=0 -#line 49 "sample/map_reuse.c" +#line 49 "sample/undocked/map_reuse.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r6 offset=-4 imm=0 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2 dst=r2 src=r10 offset=0 imm=0 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3 dst=r2 src=r0 offset=0 imm=-4 -#line 51 "sample/map_reuse.c" +#line 51 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=4 dst=r1 src=r0 offset=0 imm=0 -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=6 dst=r0 src=r0 offset=0 imm=1 -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[0].address -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 54 "sample/map_reuse.c" +#line 54 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 -#line 55 "sample/map_reuse.c" + // EBPF_OP_JEQ_IMM pc=7 dst=r0 src=r0 offset=21 imm=0 +#line 55 "sample/undocked/map_reuse.c" if (r0 == IMMEDIATE(0)) -#line 55 "sample/map_reuse.c" +#line 55 "sample/undocked/map_reuse.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 -#line 55 "sample/map_reuse.c" + // EBPF_OP_MOV64_IMM pc=8 dst=r6 src=r0 offset=0 imm=0 +#line 55 "sample/undocked/map_reuse.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=9 dst=r10 src=r6 offset=-8 imm=0 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-8 -#line 56 "sample/map_reuse.c" +#line 56 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-8); // EBPF_OP_MOV64_REG pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" r1 = r0; // EBPF_OP_CALL pc=13 dst=r0 src=r0 offset=0 imm=1 -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[0].address -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[0].tail_call) && (r0 == 0)) -#line 57 "sample/map_reuse.c" +#line 57 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 -#line 57 "sample/map_reuse.c" + // EBPF_OP_MOV64_REG pc=14 dst=r7 src=r0 offset=0 imm=0 +#line 57 "sample/undocked/map_reuse.c" r7 = r0; // EBPF_OP_JNE_IMM pc=15 dst=r7 src=r0 offset=1 imm=0 -#line 58 "sample/map_reuse.c" +#line 58 "sample/undocked/map_reuse.c" if (r7 != IMMEDIATE(0)) -#line 58 "sample/map_reuse.c" +#line 58 "sample/undocked/map_reuse.c" goto label_1; - // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 -#line 58 "sample/map_reuse.c" + // EBPF_OP_JA pc=16 dst=r0 src=r0 offset=12 imm=0 +#line 58 "sample/undocked/map_reuse.c" goto label_2; label_1: // EBPF_OP_STXW pc=17 dst=r10 src=r6 offset=-12 imm=0 -#line 60 "sample/map_reuse.c" +#line 60 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint32_t)r6; // EBPF_OP_LDXW pc=18 dst=r1 src=r7 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_STXW pc=19 dst=r10 src=r1 offset=-16 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=20 dst=r2 src=r10 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=21 dst=r2 src=r0 offset=0 imm=-12 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r2 += IMMEDIATE(-12); // EBPF_OP_MOV64_REG pc=22 dst=r3 src=r10 offset=0 imm=0 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r3 src=r0 offset=0 imm=-16 -#line 61 "sample/map_reuse.c" +#line 61 "sample/undocked/map_reuse.c" r3 += IMMEDIATE(-16); // EBPF_OP_LDDW pc=24 dst=r1 src=r0 offset=0 imm=0 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=26 dst=r4 src=r0 offset=0 imm=0 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=2 -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" r0 = lookup_update_helpers[1].address -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" (r1, r2, r3, r4, r5); -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" if ((lookup_update_helpers[1].tail_call) && (r0 == 0)) -#line 62 "sample/map_reuse.c" +#line 62 "sample/undocked/map_reuse.c" return 0; - // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 -#line 64 "sample/map_reuse.c" + // EBPF_OP_LDXW pc=28 dst=r6 src=r7 offset=0 imm=0 +#line 64 "sample/undocked/map_reuse.c" r6 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); label_2: // EBPF_OP_MOV64_REG pc=29 dst=r0 src=r6 offset=0 imm=0 -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" r0 = r6; // EBPF_OP_EXIT pc=30 dst=r0 src=r0 offset=0 imm=0 -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" return r0; -#line 68 "sample/map_reuse.c" +#line 68 "sample/undocked/map_reuse.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/map_sys.c b/tests/bpf2c_tests/expected/map_sys.c index 0ed6c93816..33ddeea481 100644 --- a/tests/bpf2c_tests/expected/map_sys.c +++ b/tests/bpf2c_tests/expected/map_sys.c @@ -312,9050 +312,9050 @@ static uint16_t test_maps_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_maps(void* context) -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" { -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" // Prologue -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r0 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r1 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r2 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r3 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r4 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r5 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r6 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r7 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r8 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" register uint64_t r10 = 0; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r1 = (uintptr_t)context; -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 290 "sample/map.c" +#line 290 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=2 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=3 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=6 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=10 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=12 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=12 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=13 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=14 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=15 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=16 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_2; label_1: // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=20 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=22 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=23 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=25 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_5; label_2: // EBPF_OP_MOV64_REG pc=26 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=27 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=28 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=30 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=31 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=31 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_4; - // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=33 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=34 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=36 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=37 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=39 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=40 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=42 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=43 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=45 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=46 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=47 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=48 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_3: // EBPF_OP_CALL pc=49 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=50 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=50 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=52 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_6; label_4: // EBPF_OP_MOV64_REG pc=53 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=54 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=55 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=57 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=58 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=58 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=59 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=60 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=61 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=62 dst=r3 src=r0 offset=41 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_10; - // EBPF_OP_LDDW pc=63 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=63 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=65 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=66 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=68 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=69 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_5: // EBPF_OP_STXDW pc=71 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=72 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=74 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=75 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=76 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=77 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=78 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_6: // EBPF_OP_MOV64_IMM pc=79 dst=r1 src=r0 offset=0 imm=100 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=80 dst=r10 src=r1 offset=-28 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=81 dst=r1 src=r0 offset=0 imm=622879845 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=82 dst=r10 src=r1 offset=-32 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=83 dst=r1 src=r0 offset=0 imm=1701978184 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722056; // EBPF_OP_STXDW pc=85 dst=r10 src=r1 offset=-40 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=86 dst=r1 src=r0 offset=0 imm=1885433120 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)5999155482795797792; // EBPF_OP_STXDW pc=88 dst=r10 src=r1 offset=-48 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=89 dst=r1 src=r0 offset=0 imm=1279349317 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=91 dst=r10 src=r1 offset=-56 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=92 dst=r1 src=r0 offset=0 imm=1953719636 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; label_7: // EBPF_OP_STXDW pc=94 dst=r10 src=r1 offset=-64 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=95 dst=r3 src=r6 offset=0 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=96 dst=r3 src=r0 offset=0 imm=32 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=97 dst=r3 src=r0 offset=0 imm=32 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=98 dst=r1 src=r10 offset=0 imm=0 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=99 dst=r1 src=r0 offset=0 imm=-64 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=100 dst=r2 src=r0 offset=0 imm=38 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r2 = IMMEDIATE(38); label_8: // EBPF_OP_CALL pc=101 dst=r0 src=r0 offset=0 imm=13 -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 293 "sample/map.c" +#line 293 "sample/undocked/map.c" return 0; label_9: // EBPF_OP_MOV64_REG pc=102 dst=r0 src=r6 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r0 = r6; // EBPF_OP_EXIT pc=103 dst=r0 src=r0 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" return r0; label_10: // EBPF_OP_MOV64_REG pc=104 dst=r2 src=r10 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=105 dst=r2 src=r0 offset=0 imm=-4 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=106 dst=r3 src=r10 offset=0 imm=0 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=107 dst=r3 src=r0 offset=0 imm=-68 -#line 306 "sample/map.c" +#line 306 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=108 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=110 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=111 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=112 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=112 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=113 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=114 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=115 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=116 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_11; - // EBPF_OP_JA pc=117 dst=r0 src=r0 offset=-101 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=117 dst=r0 src=r0 offset=-101 imm=0 +#line 93 "sample/undocked/map.c" goto label_1; label_11: // EBPF_OP_MOV64_REG pc=118 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=119 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=120 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=122 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=123 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=123 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_12; - // EBPF_OP_MOV64_IMM pc=124 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=124 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=125 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=126 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=127 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=128 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=130 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=131 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=133 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=134 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=136 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=137 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=139 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=140 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=142 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=143 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=144 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=145 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=146 dst=r0 src=r0 offset=-98 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_3; label_12: // EBPF_OP_MOV64_IMM pc=147 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=148 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=149 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=150 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=151 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=152 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=153 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=154 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=155 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=157 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=158 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=159 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=159 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=160 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=161 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=162 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=163 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_14; label_13: // EBPF_OP_LDDW pc=164 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=166 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=167 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=169 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=170 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=172 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_17; label_14: // EBPF_OP_MOV64_REG pc=173 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=174 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=175 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=177 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=178 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=178 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_16; - // EBPF_OP_MOV64_IMM pc=179 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=179 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=180 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=181 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=183 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=184 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=186 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=187 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=189 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=190 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=192 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=193 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=194 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=195 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_15: // EBPF_OP_CALL pc=196 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=197 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=197 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=199 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_18; label_16: // EBPF_OP_MOV64_REG pc=200 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=201 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=202 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=204 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=205 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=205 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=206 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=207 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=208 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=209 dst=r3 src=r0 offset=42 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_20; - // EBPF_OP_LDDW pc=210 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=210 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=212 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=213 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=215 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=216 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_17: // EBPF_OP_STXDW pc=218 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=219 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=221 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=222 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=223 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=224 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=225 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_18: // EBPF_OP_MOV64_IMM pc=226 dst=r1 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=227 dst=r10 src=r1 offset=-20 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=228 dst=r1 src=r0 offset=0 imm=1680154724 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = IMMEDIATE(1680154724); // EBPF_OP_STXW pc=229 dst=r10 src=r1 offset=-24 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=230 dst=r1 src=r0 offset=0 imm=1952805408 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)7308905094058439200; // EBPF_OP_STXDW pc=232 dst=r10 src=r1 offset=-32 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=233 dst=r1 src=r0 offset=0 imm=1599426627 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5211580972890673219; // EBPF_OP_STXDW pc=235 dst=r10 src=r1 offset=-40 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=236 dst=r1 src=r0 offset=0 imm=1885433120 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5928232584757734688; // EBPF_OP_STXDW pc=238 dst=r10 src=r1 offset=-48 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=239 dst=r1 src=r0 offset=0 imm=1279349317 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=241 dst=r10 src=r1 offset=-56 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=242 dst=r1 src=r0 offset=0 imm=1953719636 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; label_19: // EBPF_OP_STXDW pc=244 dst=r10 src=r1 offset=-64 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=245 dst=r3 src=r6 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=246 dst=r3 src=r0 offset=0 imm=32 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=247 dst=r3 src=r0 offset=0 imm=32 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=248 dst=r1 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=249 dst=r1 src=r0 offset=0 imm=-64 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=250 dst=r2 src=r0 offset=0 imm=45 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=251 dst=r0 src=r0 offset=-151 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" goto label_8; label_20: // EBPF_OP_MOV64_REG pc=252 dst=r2 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=253 dst=r2 src=r0 offset=0 imm=-4 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=254 dst=r3 src=r10 offset=0 imm=0 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=255 dst=r3 src=r0 offset=0 imm=-68 -#line 294 "sample/map.c" +#line 294 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=256 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_MOV64_IMM pc=258 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=259 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=260 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=260 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=261 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=262 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=263 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=264 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_21; - // EBPF_OP_JA pc=265 dst=r0 src=r0 offset=-102 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=265 dst=r0 src=r0 offset=-102 imm=0 +#line 93 "sample/undocked/map.c" goto label_13; label_21: // EBPF_OP_MOV64_REG pc=266 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=267 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=268 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=270 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=271 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=271 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_22; - // EBPF_OP_MOV64_IMM pc=272 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=272 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=273 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=274 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=275 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=276 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=278 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=279 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=281 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=282 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=284 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=285 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=287 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=288 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=290 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=291 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=292 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=293 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=294 dst=r0 src=r0 offset=-99 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_15; label_22: // EBPF_OP_MOV64_IMM pc=295 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=296 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=297 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=298 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=299 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=300 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=301 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=302 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=303 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_MOV64_IMM pc=305 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=306 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=307 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=307 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=308 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=309 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=310 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=311 dst=r3 src=r0 offset=1 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_23; - // EBPF_OP_JA pc=312 dst=r0 src=r0 offset=60 imm=0 -#line 75 "sample/map.c" + // EBPF_OP_JA pc=312 dst=r0 src=r0 offset=60 imm=0 +#line 75 "sample/undocked/map.c" goto label_26; label_23: // EBPF_OP_MOV64_REG pc=313 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=314 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=315 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_CALL pc=317 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=318 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=318 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_24; - // EBPF_OP_MOV64_IMM pc=319 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=319 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=320 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=321 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=323 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=324 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=326 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=327 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=329 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=330 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=332 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=333 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=334 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=335 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); // EBPF_OP_CALL pc=336 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=337 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=337 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=339 dst=r0 src=r0 offset=49 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_28; label_24: // EBPF_OP_MOV64_REG pc=340 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=341 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=342 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_CALL pc=344 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=345 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=345 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=346 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=347 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=348 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=349 dst=r3 src=r0 offset=9 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_25; - // EBPF_OP_LDDW pc=350 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=350 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=352 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=353 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=355 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=356 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; // EBPF_OP_JA pc=358 dst=r0 src=r0 offset=22 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" goto label_27; label_25: // EBPF_OP_MOV64_REG pc=359 dst=r2 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=360 dst=r2 src=r0 offset=0 imm=-4 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=361 dst=r3 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=362 dst=r3 src=r0 offset=0 imm=-68 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=363 dst=r7 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=364 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[2].address); // EBPF_OP_MOV64_IMM pc=366 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=367 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=368 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=368 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=369 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=370 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=371 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=372 dst=r3 src=r0 offset=41 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_29; label_26: // EBPF_OP_LDDW pc=373 dst=r1 src=r0 offset=0 imm=1684369010 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=375 dst=r10 src=r1 offset=-40 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=376 dst=r1 src=r0 offset=0 imm=544040300 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=378 dst=r10 src=r1 offset=-48 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=379 dst=r1 src=r0 offset=0 imm=1633972341 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; label_27: // EBPF_OP_STXDW pc=381 dst=r10 src=r1 offset=-56 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=382 dst=r1 src=r0 offset=0 imm=1600548962 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=384 dst=r10 src=r1 offset=-64 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=385 dst=r1 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=386 dst=r1 src=r0 offset=0 imm=-64 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=387 dst=r2 src=r0 offset=0 imm=32 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=388 dst=r0 src=r0 offset=0 imm=13 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" return 0; label_28: // EBPF_OP_MOV64_IMM pc=389 dst=r1 src=r0 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=390 dst=r10 src=r1 offset=-26 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-26)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=391 dst=r1 src=r0 offset=0 imm=25637 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=392 dst=r10 src=r1 offset=-28 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=393 dst=r1 src=r0 offset=0 imm=543450478 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=394 dst=r10 src=r1 offset=-32 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=395 dst=r1 src=r0 offset=0 imm=1914722625 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)8247626271654172993; // EBPF_OP_STXDW pc=397 dst=r10 src=r1 offset=-40 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=398 dst=r1 src=r0 offset=0 imm=1885433120 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)5931875266780556576; // EBPF_OP_STXDW pc=400 dst=r10 src=r1 offset=-48 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=401 dst=r1 src=r0 offset=0 imm=1279349317 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=403 dst=r10 src=r1 offset=-56 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=404 dst=r1 src=r0 offset=0 imm=1953719636 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=406 dst=r10 src=r1 offset=-64 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=407 dst=r3 src=r6 offset=0 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=408 dst=r3 src=r0 offset=0 imm=32 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=409 dst=r3 src=r0 offset=0 imm=32 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=410 dst=r1 src=r10 offset=0 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=411 dst=r1 src=r0 offset=0 imm=-64 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=412 dst=r2 src=r0 offset=0 imm=39 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" r2 = IMMEDIATE(39); // EBPF_OP_JA pc=413 dst=r0 src=r0 offset=-313 imm=0 -#line 295 "sample/map.c" +#line 295 "sample/undocked/map.c" goto label_8; label_29: // EBPF_OP_STXW pc=414 dst=r10 src=r7 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=415 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=416 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=417 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=418 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=419 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=420 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=421 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_MOV64_IMM pc=423 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=424 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=425 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=425 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=426 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=427 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=428 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=429 dst=r3 src=r0 offset=1 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_30; - // EBPF_OP_JA pc=430 dst=r0 src=r0 offset=60 imm=0 -#line 75 "sample/map.c" + // EBPF_OP_JA pc=430 dst=r0 src=r0 offset=60 imm=0 +#line 75 "sample/undocked/map.c" goto label_33; label_30: // EBPF_OP_MOV64_REG pc=431 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=432 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=433 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_CALL pc=435 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=436 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=436 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_31; - // EBPF_OP_MOV64_IMM pc=437 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=437 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=438 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=439 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=441 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=442 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=444 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=445 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=447 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=448 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=450 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=451 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=452 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=453 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); // EBPF_OP_CALL pc=454 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=455 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=455 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=457 dst=r0 src=r0 offset=49 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_35; label_31: // EBPF_OP_MOV64_REG pc=458 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=459 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=460 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_CALL pc=462 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=463 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=463 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=464 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=465 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=466 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=467 dst=r3 src=r0 offset=9 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_32; - // EBPF_OP_LDDW pc=468 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=468 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=470 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=471 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=473 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=474 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; // EBPF_OP_JA pc=476 dst=r0 src=r0 offset=22 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" goto label_34; label_32: // EBPF_OP_MOV64_REG pc=477 dst=r2 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=478 dst=r2 src=r0 offset=0 imm=-4 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=479 dst=r3 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=480 dst=r3 src=r0 offset=0 imm=-68 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=481 dst=r7 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=482 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[3].address); // EBPF_OP_MOV64_IMM pc=484 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=485 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=486 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=486 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=487 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=488 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=489 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=490 dst=r3 src=r0 offset=42 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_36; label_33: // EBPF_OP_LDDW pc=491 dst=r1 src=r0 offset=0 imm=1684369010 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=493 dst=r10 src=r1 offset=-40 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=494 dst=r1 src=r0 offset=0 imm=544040300 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=496 dst=r10 src=r1 offset=-48 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=497 dst=r1 src=r0 offset=0 imm=1633972341 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; label_34: // EBPF_OP_STXDW pc=499 dst=r10 src=r1 offset=-56 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=500 dst=r1 src=r0 offset=0 imm=1600548962 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=502 dst=r10 src=r1 offset=-64 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=503 dst=r1 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=504 dst=r1 src=r0 offset=0 imm=-64 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=505 dst=r2 src=r0 offset=0 imm=32 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=506 dst=r0 src=r0 offset=0 imm=13 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" return 0; label_35: // EBPF_OP_MOV64_IMM pc=507 dst=r1 src=r0 offset=0 imm=100 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=508 dst=r10 src=r1 offset=-20 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=509 dst=r1 src=r0 offset=0 imm=622879845 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=510 dst=r10 src=r1 offset=-24 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=511 dst=r1 src=r0 offset=0 imm=1701978201 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722073; // EBPF_OP_STXDW pc=513 dst=r10 src=r1 offset=-32 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=514 dst=r1 src=r0 offset=0 imm=1599426627 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)4706915001281368131; // EBPF_OP_STXDW pc=516 dst=r10 src=r1 offset=-40 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=517 dst=r1 src=r0 offset=0 imm=1885433120 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)5928232584757734688; // EBPF_OP_STXDW pc=519 dst=r10 src=r1 offset=-48 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=520 dst=r1 src=r0 offset=0 imm=1279349317 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=522 dst=r10 src=r1 offset=-56 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=523 dst=r1 src=r0 offset=0 imm=1953719636 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=525 dst=r10 src=r1 offset=-64 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=526 dst=r3 src=r6 offset=0 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=527 dst=r3 src=r0 offset=0 imm=32 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=528 dst=r3 src=r0 offset=0 imm=32 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=529 dst=r1 src=r10 offset=0 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=530 dst=r1 src=r0 offset=0 imm=-64 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=531 dst=r2 src=r0 offset=0 imm=46 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" r2 = IMMEDIATE(46); // EBPF_OP_JA pc=532 dst=r0 src=r0 offset=-432 imm=0 -#line 296 "sample/map.c" +#line 296 "sample/undocked/map.c" goto label_8; label_36: // EBPF_OP_STXW pc=533 dst=r10 src=r7 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=534 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=535 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=536 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=537 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=538 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=539 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=540 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=542 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=543 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=544 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=544 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=545 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=546 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=547 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=548 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_38; label_37: // EBPF_OP_LDDW pc=549 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=551 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=552 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=554 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=555 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=557 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_41; label_38: // EBPF_OP_MOV64_REG pc=558 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=559 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=560 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=562 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=563 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=563 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_40; - // EBPF_OP_MOV64_IMM pc=564 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=564 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=565 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=566 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=568 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=569 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=571 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=572 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=574 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=575 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=577 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=578 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=579 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=580 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_39: // EBPF_OP_CALL pc=581 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=582 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=582 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=584 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_42; label_40: // EBPF_OP_MOV64_REG pc=585 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=586 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=587 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=589 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=590 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=590 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=591 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=592 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=593 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=594 dst=r3 src=r0 offset=40 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_43; - // EBPF_OP_LDDW pc=595 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=595 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=597 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=598 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=600 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=601 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_41: // EBPF_OP_STXDW pc=603 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=604 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=606 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=607 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=608 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=609 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=610 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_42: // EBPF_OP_MOV64_IMM pc=611 dst=r1 src=r0 offset=0 imm=100 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=612 dst=r10 src=r1 offset=-24 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint16_t)r1; // EBPF_OP_LDDW pc=613 dst=r1 src=r0 offset=0 imm=1852994932 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=615 dst=r10 src=r1 offset=-32 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=616 dst=r1 src=r0 offset=0 imm=1396787295 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)7309940640182257759; // EBPF_OP_STXDW pc=618 dst=r10 src=r1 offset=-40 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=619 dst=r1 src=r0 offset=0 imm=1885433120 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)6148060143522245920; // EBPF_OP_STXDW pc=621 dst=r10 src=r1 offset=-48 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=622 dst=r1 src=r0 offset=0 imm=1279349317 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=624 dst=r10 src=r1 offset=-56 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=625 dst=r1 src=r0 offset=0 imm=1953719636 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=627 dst=r10 src=r1 offset=-64 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=628 dst=r3 src=r6 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=629 dst=r3 src=r0 offset=0 imm=32 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=630 dst=r3 src=r0 offset=0 imm=32 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=631 dst=r1 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=632 dst=r1 src=r0 offset=0 imm=-64 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=633 dst=r2 src=r0 offset=0 imm=42 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 = IMMEDIATE(42); // EBPF_OP_JA pc=634 dst=r0 src=r0 offset=-534 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" goto label_8; label_43: // EBPF_OP_MOV64_REG pc=635 dst=r2 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=636 dst=r2 src=r0 offset=0 imm=-4 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=637 dst=r3 src=r10 offset=0 imm=0 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=638 dst=r3 src=r0 offset=0 imm=-68 -#line 297 "sample/map.c" +#line 297 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=639 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=641 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=642 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=643 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=643 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=644 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=645 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=646 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=647 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_44; - // EBPF_OP_JA pc=648 dst=r0 src=r0 offset=-100 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=648 dst=r0 src=r0 offset=-100 imm=0 +#line 93 "sample/undocked/map.c" goto label_37; label_44: // EBPF_OP_MOV64_REG pc=649 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=650 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=651 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_CALL pc=653 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=654 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=654 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_45; - // EBPF_OP_MOV64_IMM pc=655 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=655 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=656 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=657 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=658 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=659 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=661 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=662 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=664 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=665 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=667 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=668 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=670 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=671 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=673 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=674 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=675 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=676 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=677 dst=r0 src=r0 offset=-97 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_39; label_45: // EBPF_OP_MOV64_IMM pc=678 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=679 dst=r10 src=r1 offset=-4 imm=0 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=680 dst=r1 src=r0 offset=0 imm=1 -#line 70 "sample/map.c" +#line 70 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=681 dst=r10 src=r1 offset=-68 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=682 dst=r2 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=683 dst=r2 src=r0 offset=0 imm=-4 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=684 dst=r3 src=r10 offset=0 imm=0 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=685 dst=r3 src=r0 offset=0 imm=-68 -#line 71 "sample/map.c" +#line 71 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=686 dst=r1 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=688 dst=r4 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=689 dst=r0 src=r0 offset=0 imm=2 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=690 dst=r6 src=r0 offset=0 imm=0 -#line 74 "sample/map.c" + // EBPF_OP_MOV64_REG pc=690 dst=r6 src=r0 offset=0 imm=0 +#line 74 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=691 dst=r3 src=r6 offset=0 imm=0 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=692 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=693 dst=r3 src=r0 offset=0 imm=32 -#line 74 "sample/map.c" +#line 74 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=694 dst=r3 src=r0 offset=9 imm=-1 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_47; label_46: // EBPF_OP_LDDW pc=695 dst=r1 src=r0 offset=0 imm=1684369010 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=697 dst=r10 src=r1 offset=-40 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=698 dst=r1 src=r0 offset=0 imm=544040300 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=700 dst=r10 src=r1 offset=-48 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=701 dst=r1 src=r0 offset=0 imm=1633972341 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_JA pc=703 dst=r0 src=r0 offset=45 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" goto label_50; label_47: // EBPF_OP_MOV64_REG pc=704 dst=r2 src=r10 offset=0 imm=0 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=705 dst=r2 src=r0 offset=0 imm=-4 -#line 75 "sample/map.c" +#line 75 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=706 dst=r1 src=r0 offset=0 imm=0 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=708 dst=r0 src=r0 offset=0 imm=1 -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" r0 = test_maps_helpers[1].address -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" if ((test_maps_helpers[1].tail_call) && (r0 == 0)) -#line 80 "sample/map.c" +#line 80 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=709 dst=r0 src=r0 offset=21 imm=0 -#line 81 "sample/map.c" + // EBPF_OP_JNE_IMM pc=709 dst=r0 src=r0 offset=21 imm=0 +#line 81 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 81 "sample/map.c" +#line 81 "sample/undocked/map.c" goto label_49; - // EBPF_OP_MOV64_IMM pc=710 dst=r1 src=r0 offset=0 imm=76 -#line 81 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=710 dst=r1 src=r0 offset=0 imm=76 +#line 81 "sample/undocked/map.c" r1 = IMMEDIATE(76); // EBPF_OP_STXH pc=711 dst=r10 src=r1 offset=-32 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint16_t)r1; // EBPF_OP_LDDW pc=712 dst=r1 src=r0 offset=0 imm=1684369010 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)5500388420933217906; // EBPF_OP_STXDW pc=714 dst=r10 src=r1 offset=-40 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=715 dst=r1 src=r0 offset=0 imm=544040300 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=717 dst=r10 src=r1 offset=-48 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=718 dst=r1 src=r0 offset=0 imm=1802465132 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)7304680770234183532; // EBPF_OP_STXDW pc=720 dst=r10 src=r1 offset=-56 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=721 dst=r1 src=r0 offset=0 imm=1600548962 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=723 dst=r10 src=r1 offset=-64 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=724 dst=r1 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=725 dst=r1 src=r0 offset=0 imm=-64 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=726 dst=r2 src=r0 offset=0 imm=34 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = IMMEDIATE(34); label_48: // EBPF_OP_CALL pc=727 dst=r0 src=r0 offset=0 imm=12 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r0 = test_maps_helpers[2].address -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" if ((test_maps_helpers[2].tail_call) && (r0 == 0)) -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=728 dst=r6 src=r0 offset=0 imm=-1 -#line 82 "sample/map.c" + // EBPF_OP_LDDW pc=728 dst=r6 src=r0 offset=0 imm=-1 +#line 82 "sample/undocked/map.c" r6 = (uint64_t)4294967295; // EBPF_OP_JA pc=730 dst=r0 src=r0 offset=26 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" goto label_51; label_49: // EBPF_OP_MOV64_REG pc=731 dst=r2 src=r10 offset=0 imm=0 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=732 dst=r2 src=r0 offset=0 imm=-4 -#line 82 "sample/map.c" +#line 82 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=733 dst=r1 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=735 dst=r0 src=r0 offset=0 imm=3 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r0 = test_maps_helpers[3].address -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" if ((test_maps_helpers[3].tail_call) && (r0 == 0)) -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=736 dst=r6 src=r0 offset=0 imm=0 -#line 86 "sample/map.c" + // EBPF_OP_MOV64_REG pc=736 dst=r6 src=r0 offset=0 imm=0 +#line 86 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=737 dst=r3 src=r6 offset=0 imm=0 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=738 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=739 dst=r3 src=r0 offset=0 imm=32 -#line 86 "sample/map.c" +#line 86 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=740 dst=r3 src=r0 offset=43 imm=-1 -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 87 "sample/map.c" +#line 87 "sample/undocked/map.c" goto label_52; - // EBPF_OP_LDDW pc=741 dst=r1 src=r0 offset=0 imm=1684369010 -#line 87 "sample/map.c" + // EBPF_OP_LDDW pc=741 dst=r1 src=r0 offset=0 imm=1684369010 +#line 87 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=743 dst=r10 src=r1 offset=-40 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=744 dst=r1 src=r0 offset=0 imm=544040300 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=746 dst=r10 src=r1 offset=-48 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=747 dst=r1 src=r0 offset=0 imm=1701602660 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)7304668671210448228; label_50: // EBPF_OP_STXDW pc=749 dst=r10 src=r1 offset=-56 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=750 dst=r1 src=r0 offset=0 imm=1600548962 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=752 dst=r10 src=r1 offset=-64 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=753 dst=r1 src=r10 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=754 dst=r1 src=r0 offset=0 imm=-64 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=755 dst=r2 src=r0 offset=0 imm=32 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=756 dst=r0 src=r0 offset=0 imm=13 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" return 0; label_51: // EBPF_OP_MOV64_IMM pc=757 dst=r1 src=r0 offset=0 imm=0 -#line 88 "sample/map.c" +#line 88 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=758 dst=r10 src=r1 offset=-16 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r1; // EBPF_OP_LDDW pc=759 dst=r1 src=r0 offset=0 imm=1701737077 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=761 dst=r10 src=r1 offset=-24 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=762 dst=r1 src=r0 offset=0 imm=1213415752 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)8387235364025352520; // EBPF_OP_STXDW pc=764 dst=r10 src=r1 offset=-32 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=765 dst=r1 src=r0 offset=0 imm=1380274271 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)6869485056696864863; // EBPF_OP_STXDW pc=767 dst=r10 src=r1 offset=-40 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=768 dst=r1 src=r0 offset=0 imm=1885433120 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)6148060143522245920; // EBPF_OP_STXDW pc=770 dst=r10 src=r1 offset=-48 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=771 dst=r1 src=r0 offset=0 imm=1279349317 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)8245921731643003461; // EBPF_OP_STXDW pc=773 dst=r10 src=r1 offset=-56 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=774 dst=r1 src=r0 offset=0 imm=1953719636 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = (uint64_t)5639992313069659476; // EBPF_OP_STXDW pc=776 dst=r10 src=r1 offset=-64 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=777 dst=r3 src=r6 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=778 dst=r3 src=r0 offset=0 imm=32 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=779 dst=r3 src=r0 offset=0 imm=32 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=780 dst=r1 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=781 dst=r1 src=r0 offset=0 imm=-64 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=782 dst=r2 src=r0 offset=0 imm=49 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=783 dst=r0 src=r0 offset=-683 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" goto label_8; label_52: // EBPF_OP_MOV64_REG pc=784 dst=r2 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=785 dst=r2 src=r0 offset=0 imm=-4 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=786 dst=r3 src=r10 offset=0 imm=0 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=787 dst=r3 src=r0 offset=0 imm=-68 -#line 298 "sample/map.c" +#line 298 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=788 dst=r1 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=790 dst=r4 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=791 dst=r0 src=r0 offset=0 imm=2 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=792 dst=r6 src=r0 offset=0 imm=0 -#line 92 "sample/map.c" + // EBPF_OP_MOV64_REG pc=792 dst=r6 src=r0 offset=0 imm=0 +#line 92 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=793 dst=r3 src=r6 offset=0 imm=0 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=794 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=795 dst=r3 src=r0 offset=0 imm=32 -#line 92 "sample/map.c" +#line 92 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=796 dst=r3 src=r0 offset=1 imm=-1 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" goto label_53; - // EBPF_OP_JA pc=797 dst=r0 src=r0 offset=-103 imm=0 -#line 93 "sample/map.c" + // EBPF_OP_JA pc=797 dst=r0 src=r0 offset=-103 imm=0 +#line 93 "sample/undocked/map.c" goto label_46; label_53: // EBPF_OP_MOV64_REG pc=798 dst=r2 src=r10 offset=0 imm=0 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=799 dst=r2 src=r0 offset=0 imm=-4 -#line 93 "sample/map.c" +#line 93 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=800 dst=r1 src=r0 offset=0 imm=0 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_CALL pc=802 dst=r0 src=r0 offset=0 imm=4 -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" r0 = test_maps_helpers[5].address -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" if ((test_maps_helpers[5].tail_call) && (r0 == 0)) -#line 103 "sample/map.c" +#line 103 "sample/undocked/map.c" return 0; - // EBPF_OP_JNE_IMM pc=803 dst=r0 src=r0 offset=23 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_JNE_IMM pc=803 dst=r0 src=r0 offset=23 imm=0 +#line 104 "sample/undocked/map.c" if (r0 != IMMEDIATE(0)) -#line 104 "sample/map.c" +#line 104 "sample/undocked/map.c" goto label_54; - // EBPF_OP_MOV64_IMM pc=804 dst=r1 src=r0 offset=0 imm=0 -#line 104 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=804 dst=r1 src=r0 offset=0 imm=0 +#line 104 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=805 dst=r10 src=r1 offset=-20 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=806 dst=r1 src=r0 offset=0 imm=1280070990 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(1280070990); // EBPF_OP_STXW pc=807 dst=r10 src=r1 offset=-24 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=808 dst=r1 src=r0 offset=0 imm=1920300133 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)2334102031925867621; // EBPF_OP_STXDW pc=810 dst=r10 src=r1 offset=-32 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=811 dst=r1 src=r0 offset=0 imm=1818582885 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8223693201956233061; // EBPF_OP_STXDW pc=813 dst=r10 src=r1 offset=-40 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=814 dst=r1 src=r0 offset=0 imm=1683973230 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)8387229063778886766; // EBPF_OP_STXDW pc=816 dst=r10 src=r1 offset=-48 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=817 dst=r1 src=r0 offset=0 imm=1802465132 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)7016450394082471788; // EBPF_OP_STXDW pc=819 dst=r10 src=r1 offset=-56 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=820 dst=r1 src=r0 offset=0 imm=1600548962 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=822 dst=r10 src=r1 offset=-64 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=823 dst=r1 src=r10 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=824 dst=r1 src=r0 offset=0 imm=-64 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=825 dst=r2 src=r0 offset=0 imm=45 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r2 = IMMEDIATE(45); // EBPF_OP_JA pc=826 dst=r0 src=r0 offset=-100 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" goto label_48; label_54: // EBPF_OP_MOV64_IMM pc=827 dst=r1 src=r0 offset=0 imm=0 -#line 105 "sample/map.c" +#line 105 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=828 dst=r10 src=r1 offset=-4 imm=0 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_IMM pc=829 dst=r7 src=r0 offset=0 imm=1 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" r7 = IMMEDIATE(1); // EBPF_OP_STXW pc=830 dst=r10 src=r7 offset=-68 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=831 dst=r2 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=832 dst=r2 src=r0 offset=0 imm=-4 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=833 dst=r3 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=834 dst=r3 src=r0 offset=0 imm=-68 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=835 dst=r1 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=837 dst=r4 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=838 dst=r0 src=r0 offset=0 imm=2 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=839 dst=r6 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" + // EBPF_OP_MOV64_REG pc=839 dst=r6 src=r0 offset=0 imm=0 +#line 129 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=840 dst=r3 src=r6 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=841 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=842 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=843 dst=r3 src=r0 offset=1 imm=-1 -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" goto label_55; - // EBPF_OP_JA pc=844 dst=r0 src=r0 offset=159 imm=0 -#line 130 "sample/map.c" + // EBPF_OP_JA pc=844 dst=r0 src=r0 offset=159 imm=0 +#line 130 "sample/undocked/map.c" goto label_65; label_55: // EBPF_OP_STXW pc=845 dst=r10 src=r7 offset=-4 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=846 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=847 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=848 dst=r3 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=849 dst=r3 src=r0 offset=0 imm=-68 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=850 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=852 dst=r4 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=853 dst=r0 src=r0 offset=0 imm=2 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=854 dst=r6 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" + // EBPF_OP_MOV64_REG pc=854 dst=r6 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=855 dst=r3 src=r6 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=856 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=857 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=858 dst=r3 src=r0 offset=1 imm=-1 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" goto label_56; - // EBPF_OP_JA pc=859 dst=r0 src=r0 offset=144 imm=0 -#line 136 "sample/map.c" + // EBPF_OP_JA pc=859 dst=r0 src=r0 offset=144 imm=0 +#line 136 "sample/undocked/map.c" goto label_65; label_56: // EBPF_OP_MOV64_IMM pc=860 dst=r1 src=r0 offset=0 imm=2 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=861 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=862 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=863 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=864 dst=r3 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=865 dst=r3 src=r0 offset=0 imm=-68 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=866 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=868 dst=r4 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=869 dst=r0 src=r0 offset=0 imm=2 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=870 dst=r6 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" + // EBPF_OP_MOV64_REG pc=870 dst=r6 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=871 dst=r3 src=r6 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=872 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=873 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=874 dst=r3 src=r0 offset=1 imm=-1 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" goto label_57; - // EBPF_OP_JA pc=875 dst=r0 src=r0 offset=128 imm=0 -#line 142 "sample/map.c" + // EBPF_OP_JA pc=875 dst=r0 src=r0 offset=128 imm=0 +#line 142 "sample/undocked/map.c" goto label_65; label_57: // EBPF_OP_MOV64_IMM pc=876 dst=r1 src=r0 offset=0 imm=3 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=877 dst=r10 src=r1 offset=-4 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=878 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=879 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=880 dst=r3 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=881 dst=r3 src=r0 offset=0 imm=-68 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=882 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=884 dst=r4 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=885 dst=r0 src=r0 offset=0 imm=2 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=886 dst=r6 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" + // EBPF_OP_MOV64_REG pc=886 dst=r6 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=887 dst=r3 src=r6 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=888 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=889 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=890 dst=r3 src=r0 offset=1 imm=-1 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" goto label_58; - // EBPF_OP_JA pc=891 dst=r0 src=r0 offset=112 imm=0 -#line 148 "sample/map.c" + // EBPF_OP_JA pc=891 dst=r0 src=r0 offset=112 imm=0 +#line 148 "sample/undocked/map.c" goto label_65; label_58: // EBPF_OP_MOV64_IMM pc=892 dst=r1 src=r0 offset=0 imm=4 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=893 dst=r10 src=r1 offset=-4 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=894 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=895 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=896 dst=r3 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=897 dst=r3 src=r0 offset=0 imm=-68 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=898 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=900 dst=r4 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=901 dst=r0 src=r0 offset=0 imm=2 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=902 dst=r6 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" + // EBPF_OP_MOV64_REG pc=902 dst=r6 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=903 dst=r3 src=r6 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=904 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=905 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=906 dst=r3 src=r0 offset=1 imm=-1 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" goto label_59; - // EBPF_OP_JA pc=907 dst=r0 src=r0 offset=96 imm=0 -#line 154 "sample/map.c" + // EBPF_OP_JA pc=907 dst=r0 src=r0 offset=96 imm=0 +#line 154 "sample/undocked/map.c" goto label_65; label_59: // EBPF_OP_MOV64_IMM pc=908 dst=r1 src=r0 offset=0 imm=5 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=909 dst=r10 src=r1 offset=-4 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=910 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=911 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=912 dst=r3 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=913 dst=r3 src=r0 offset=0 imm=-68 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=914 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=916 dst=r4 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=917 dst=r0 src=r0 offset=0 imm=2 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=918 dst=r6 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" + // EBPF_OP_MOV64_REG pc=918 dst=r6 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=919 dst=r3 src=r6 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=920 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=921 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=922 dst=r3 src=r0 offset=1 imm=-1 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" goto label_60; - // EBPF_OP_JA pc=923 dst=r0 src=r0 offset=80 imm=0 -#line 160 "sample/map.c" + // EBPF_OP_JA pc=923 dst=r0 src=r0 offset=80 imm=0 +#line 160 "sample/undocked/map.c" goto label_65; label_60: // EBPF_OP_MOV64_IMM pc=924 dst=r1 src=r0 offset=0 imm=6 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=925 dst=r10 src=r1 offset=-4 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=926 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=927 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=928 dst=r3 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=929 dst=r3 src=r0 offset=0 imm=-68 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=930 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=932 dst=r4 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=933 dst=r0 src=r0 offset=0 imm=2 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=934 dst=r6 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" + // EBPF_OP_MOV64_REG pc=934 dst=r6 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=935 dst=r3 src=r6 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=936 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=937 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=938 dst=r3 src=r0 offset=1 imm=-1 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" goto label_61; - // EBPF_OP_JA pc=939 dst=r0 src=r0 offset=64 imm=0 -#line 166 "sample/map.c" + // EBPF_OP_JA pc=939 dst=r0 src=r0 offset=64 imm=0 +#line 166 "sample/undocked/map.c" goto label_65; label_61: // EBPF_OP_MOV64_IMM pc=940 dst=r1 src=r0 offset=0 imm=7 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=941 dst=r10 src=r1 offset=-4 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=942 dst=r2 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=943 dst=r2 src=r0 offset=0 imm=-4 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=944 dst=r3 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=945 dst=r3 src=r0 offset=0 imm=-68 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=946 dst=r1 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=948 dst=r4 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=949 dst=r0 src=r0 offset=0 imm=2 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=950 dst=r6 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" + // EBPF_OP_MOV64_REG pc=950 dst=r6 src=r0 offset=0 imm=0 +#line 171 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=951 dst=r3 src=r6 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=952 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=953 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=954 dst=r3 src=r0 offset=1 imm=-1 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" goto label_62; - // EBPF_OP_JA pc=955 dst=r0 src=r0 offset=48 imm=0 -#line 172 "sample/map.c" + // EBPF_OP_JA pc=955 dst=r0 src=r0 offset=48 imm=0 +#line 172 "sample/undocked/map.c" goto label_65; label_62: // EBPF_OP_MOV64_IMM pc=956 dst=r1 src=r0 offset=0 imm=8 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=957 dst=r10 src=r1 offset=-4 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=958 dst=r2 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=959 dst=r2 src=r0 offset=0 imm=-4 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=960 dst=r3 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=961 dst=r3 src=r0 offset=0 imm=-68 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=962 dst=r1 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=964 dst=r4 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=965 dst=r0 src=r0 offset=0 imm=2 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=966 dst=r6 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" + // EBPF_OP_MOV64_REG pc=966 dst=r6 src=r0 offset=0 imm=0 +#line 177 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=967 dst=r3 src=r6 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=968 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=969 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=970 dst=r3 src=r0 offset=1 imm=-1 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" goto label_63; - // EBPF_OP_JA pc=971 dst=r0 src=r0 offset=32 imm=0 -#line 178 "sample/map.c" + // EBPF_OP_JA pc=971 dst=r0 src=r0 offset=32 imm=0 +#line 178 "sample/undocked/map.c" goto label_65; label_63: // EBPF_OP_MOV64_IMM pc=972 dst=r1 src=r0 offset=0 imm=9 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=973 dst=r10 src=r1 offset=-4 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=974 dst=r2 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=975 dst=r2 src=r0 offset=0 imm=-4 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=976 dst=r3 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=977 dst=r3 src=r0 offset=0 imm=-68 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=978 dst=r1 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=980 dst=r4 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=981 dst=r0 src=r0 offset=0 imm=2 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=982 dst=r6 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" + // EBPF_OP_MOV64_REG pc=982 dst=r6 src=r0 offset=0 imm=0 +#line 183 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=983 dst=r3 src=r6 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=984 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=985 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=986 dst=r3 src=r0 offset=1 imm=-1 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" goto label_64; - // EBPF_OP_JA pc=987 dst=r0 src=r0 offset=16 imm=0 -#line 184 "sample/map.c" + // EBPF_OP_JA pc=987 dst=r0 src=r0 offset=16 imm=0 +#line 184 "sample/undocked/map.c" goto label_65; label_64: // EBPF_OP_MOV64_IMM pc=988 dst=r1 src=r0 offset=0 imm=10 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=989 dst=r10 src=r1 offset=-4 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=990 dst=r2 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=991 dst=r2 src=r0 offset=0 imm=-4 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=992 dst=r3 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=993 dst=r3 src=r0 offset=0 imm=-68 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=994 dst=r7 src=r0 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=995 dst=r1 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r1 = POINTER(_maps[4].address); // EBPF_OP_MOV64_IMM pc=997 dst=r4 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=998 dst=r0 src=r0 offset=0 imm=2 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=999 dst=r6 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" + // EBPF_OP_MOV64_REG pc=999 dst=r6 src=r0 offset=0 imm=0 +#line 189 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1000 dst=r3 src=r6 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1001 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1002 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1003 dst=r3 src=r0 offset=32 imm=-1 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" goto label_66; label_65: // EBPF_OP_LDDW pc=1004 dst=r1 src=r0 offset=0 imm=1684369010 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1006 dst=r10 src=r1 offset=-40 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1007 dst=r1 src=r0 offset=0 imm=544040300 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=1009 dst=r10 src=r1 offset=-48 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1010 dst=r1 src=r0 offset=0 imm=1633972341 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_STXDW pc=1012 dst=r10 src=r1 offset=-56 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1013 dst=r1 src=r0 offset=0 imm=1600548962 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1015 dst=r10 src=r1 offset=-64 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1016 dst=r1 src=r10 offset=0 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1017 dst=r1 src=r0 offset=0 imm=-64 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1018 dst=r2 src=r0 offset=0 imm=32 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=1019 dst=r0 src=r0 offset=0 imm=13 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_IMM pc=1020 dst=r1 src=r0 offset=0 imm=100 -#line 190 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1020 dst=r1 src=r0 offset=0 imm=100 +#line 190 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1021 dst=r10 src=r1 offset=-28 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-28)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1022 dst=r1 src=r0 offset=0 imm=622879845 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = IMMEDIATE(622879845); // EBPF_OP_STXW pc=1023 dst=r10 src=r1 offset=-32 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1024 dst=r1 src=r0 offset=0 imm=1701978184 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722056; // EBPF_OP_STXDW pc=1026 dst=r10 src=r1 offset=-40 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1027 dst=r1 src=r0 offset=0 imm=1431456800 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)5999155752924761120; // EBPF_OP_STXDW pc=1029 dst=r10 src=r1 offset=-48 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1030 dst=r1 src=r0 offset=0 imm=1919903264 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)8097873591115146784; // EBPF_OP_STXDW pc=1032 dst=r10 src=r1 offset=-56 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1033 dst=r1 src=r0 offset=0 imm=1953719636 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" r1 = (uint64_t)6148060143590532436; // EBPF_OP_JA pc=1035 dst=r0 src=r0 offset=-942 imm=0 -#line 300 "sample/map.c" +#line 300 "sample/undocked/map.c" goto label_7; label_66: // EBPF_OP_STXW pc=1036 dst=r10 src=r7 offset=-4 imm=0 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_IMM pc=1037 dst=r7 src=r0 offset=0 imm=1 -#line 114 "sample/map.c" +#line 114 "sample/undocked/map.c" r7 = IMMEDIATE(1); // EBPF_OP_STXW pc=1038 dst=r10 src=r7 offset=-68 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-68)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1039 dst=r2 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1040 dst=r2 src=r0 offset=0 imm=-4 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1041 dst=r3 src=r10 offset=0 imm=0 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1042 dst=r3 src=r0 offset=0 imm=-68 -#line 115 "sample/map.c" +#line 115 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1043 dst=r1 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1045 dst=r4 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1046 dst=r0 src=r0 offset=0 imm=2 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1047 dst=r6 src=r0 offset=0 imm=0 -#line 129 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1047 dst=r6 src=r0 offset=0 imm=0 +#line 129 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1048 dst=r3 src=r6 offset=0 imm=0 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1049 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1050 dst=r3 src=r0 offset=0 imm=32 -#line 129 "sample/map.c" +#line 129 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1051 dst=r3 src=r0 offset=1 imm=-1 -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 130 "sample/map.c" +#line 130 "sample/undocked/map.c" goto label_67; - // EBPF_OP_JA pc=1052 dst=r0 src=r0 offset=159 imm=0 -#line 130 "sample/map.c" + // EBPF_OP_JA pc=1052 dst=r0 src=r0 offset=159 imm=0 +#line 130 "sample/undocked/map.c" goto label_77; label_67: // EBPF_OP_STXW pc=1053 dst=r10 src=r7 offset=-4 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1054 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1055 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1056 dst=r3 src=r10 offset=0 imm=0 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1057 dst=r3 src=r0 offset=0 imm=-68 -#line 134 "sample/map.c" +#line 134 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1058 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1060 dst=r4 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1061 dst=r0 src=r0 offset=0 imm=2 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1062 dst=r6 src=r0 offset=0 imm=0 -#line 135 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1062 dst=r6 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1063 dst=r3 src=r6 offset=0 imm=0 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1064 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1065 dst=r3 src=r0 offset=0 imm=32 -#line 135 "sample/map.c" +#line 135 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1066 dst=r3 src=r0 offset=1 imm=-1 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" goto label_68; - // EBPF_OP_JA pc=1067 dst=r0 src=r0 offset=144 imm=0 -#line 136 "sample/map.c" + // EBPF_OP_JA pc=1067 dst=r0 src=r0 offset=144 imm=0 +#line 136 "sample/undocked/map.c" goto label_77; label_68: // EBPF_OP_MOV64_IMM pc=1068 dst=r1 src=r0 offset=0 imm=2 -#line 136 "sample/map.c" +#line 136 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=1069 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1070 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1071 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1072 dst=r3 src=r10 offset=0 imm=0 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1073 dst=r3 src=r0 offset=0 imm=-68 -#line 140 "sample/map.c" +#line 140 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1074 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1076 dst=r4 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1077 dst=r0 src=r0 offset=0 imm=2 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1078 dst=r6 src=r0 offset=0 imm=0 -#line 141 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1078 dst=r6 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1079 dst=r3 src=r6 offset=0 imm=0 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1080 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1081 dst=r3 src=r0 offset=0 imm=32 -#line 141 "sample/map.c" +#line 141 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1082 dst=r3 src=r0 offset=1 imm=-1 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" goto label_69; - // EBPF_OP_JA pc=1083 dst=r0 src=r0 offset=128 imm=0 -#line 142 "sample/map.c" + // EBPF_OP_JA pc=1083 dst=r0 src=r0 offset=128 imm=0 +#line 142 "sample/undocked/map.c" goto label_77; label_69: // EBPF_OP_MOV64_IMM pc=1084 dst=r1 src=r0 offset=0 imm=3 -#line 142 "sample/map.c" +#line 142 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=1085 dst=r10 src=r1 offset=-4 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1086 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1087 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1088 dst=r3 src=r10 offset=0 imm=0 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1089 dst=r3 src=r0 offset=0 imm=-68 -#line 146 "sample/map.c" +#line 146 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1090 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1092 dst=r4 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1093 dst=r0 src=r0 offset=0 imm=2 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1094 dst=r6 src=r0 offset=0 imm=0 -#line 147 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1094 dst=r6 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1095 dst=r3 src=r6 offset=0 imm=0 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1096 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1097 dst=r3 src=r0 offset=0 imm=32 -#line 147 "sample/map.c" +#line 147 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1098 dst=r3 src=r0 offset=1 imm=-1 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" goto label_70; - // EBPF_OP_JA pc=1099 dst=r0 src=r0 offset=112 imm=0 -#line 148 "sample/map.c" + // EBPF_OP_JA pc=1099 dst=r0 src=r0 offset=112 imm=0 +#line 148 "sample/undocked/map.c" goto label_77; label_70: // EBPF_OP_MOV64_IMM pc=1100 dst=r1 src=r0 offset=0 imm=4 -#line 148 "sample/map.c" +#line 148 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=1101 dst=r10 src=r1 offset=-4 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1102 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1103 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1104 dst=r3 src=r10 offset=0 imm=0 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1105 dst=r3 src=r0 offset=0 imm=-68 -#line 152 "sample/map.c" +#line 152 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1106 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1108 dst=r4 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1109 dst=r0 src=r0 offset=0 imm=2 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1110 dst=r6 src=r0 offset=0 imm=0 -#line 153 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1110 dst=r6 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1111 dst=r3 src=r6 offset=0 imm=0 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1112 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1113 dst=r3 src=r0 offset=0 imm=32 -#line 153 "sample/map.c" +#line 153 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1114 dst=r3 src=r0 offset=1 imm=-1 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" goto label_71; - // EBPF_OP_JA pc=1115 dst=r0 src=r0 offset=96 imm=0 -#line 154 "sample/map.c" + // EBPF_OP_JA pc=1115 dst=r0 src=r0 offset=96 imm=0 +#line 154 "sample/undocked/map.c" goto label_77; label_71: // EBPF_OP_MOV64_IMM pc=1116 dst=r1 src=r0 offset=0 imm=5 -#line 154 "sample/map.c" +#line 154 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=1117 dst=r10 src=r1 offset=-4 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1118 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1119 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1120 dst=r3 src=r10 offset=0 imm=0 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1121 dst=r3 src=r0 offset=0 imm=-68 -#line 158 "sample/map.c" +#line 158 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1122 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1124 dst=r4 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1125 dst=r0 src=r0 offset=0 imm=2 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1126 dst=r6 src=r0 offset=0 imm=0 -#line 159 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1126 dst=r6 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1127 dst=r3 src=r6 offset=0 imm=0 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1128 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1129 dst=r3 src=r0 offset=0 imm=32 -#line 159 "sample/map.c" +#line 159 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1130 dst=r3 src=r0 offset=1 imm=-1 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" goto label_72; - // EBPF_OP_JA pc=1131 dst=r0 src=r0 offset=80 imm=0 -#line 160 "sample/map.c" + // EBPF_OP_JA pc=1131 dst=r0 src=r0 offset=80 imm=0 +#line 160 "sample/undocked/map.c" goto label_77; label_72: // EBPF_OP_MOV64_IMM pc=1132 dst=r1 src=r0 offset=0 imm=6 -#line 160 "sample/map.c" +#line 160 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=1133 dst=r10 src=r1 offset=-4 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1134 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1135 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1136 dst=r3 src=r10 offset=0 imm=0 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1137 dst=r3 src=r0 offset=0 imm=-68 -#line 164 "sample/map.c" +#line 164 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1138 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1140 dst=r4 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1141 dst=r0 src=r0 offset=0 imm=2 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1142 dst=r6 src=r0 offset=0 imm=0 -#line 165 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1142 dst=r6 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1143 dst=r3 src=r6 offset=0 imm=0 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1144 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1145 dst=r3 src=r0 offset=0 imm=32 -#line 165 "sample/map.c" +#line 165 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1146 dst=r3 src=r0 offset=1 imm=-1 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" goto label_73; - // EBPF_OP_JA pc=1147 dst=r0 src=r0 offset=64 imm=0 -#line 166 "sample/map.c" + // EBPF_OP_JA pc=1147 dst=r0 src=r0 offset=64 imm=0 +#line 166 "sample/undocked/map.c" goto label_77; label_73: // EBPF_OP_MOV64_IMM pc=1148 dst=r1 src=r0 offset=0 imm=7 -#line 166 "sample/map.c" +#line 166 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=1149 dst=r10 src=r1 offset=-4 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1150 dst=r2 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1151 dst=r2 src=r0 offset=0 imm=-4 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1152 dst=r3 src=r10 offset=0 imm=0 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1153 dst=r3 src=r0 offset=0 imm=-68 -#line 170 "sample/map.c" +#line 170 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1154 dst=r1 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1156 dst=r4 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1157 dst=r0 src=r0 offset=0 imm=2 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1158 dst=r6 src=r0 offset=0 imm=0 -#line 171 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1158 dst=r6 src=r0 offset=0 imm=0 +#line 171 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1159 dst=r3 src=r6 offset=0 imm=0 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1160 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1161 dst=r3 src=r0 offset=0 imm=32 -#line 171 "sample/map.c" +#line 171 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1162 dst=r3 src=r0 offset=1 imm=-1 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" goto label_74; - // EBPF_OP_JA pc=1163 dst=r0 src=r0 offset=48 imm=0 -#line 172 "sample/map.c" + // EBPF_OP_JA pc=1163 dst=r0 src=r0 offset=48 imm=0 +#line 172 "sample/undocked/map.c" goto label_77; label_74: // EBPF_OP_MOV64_IMM pc=1164 dst=r1 src=r0 offset=0 imm=8 -#line 172 "sample/map.c" +#line 172 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=1165 dst=r10 src=r1 offset=-4 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1166 dst=r2 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1167 dst=r2 src=r0 offset=0 imm=-4 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1168 dst=r3 src=r10 offset=0 imm=0 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1169 dst=r3 src=r0 offset=0 imm=-68 -#line 176 "sample/map.c" +#line 176 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1170 dst=r1 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1172 dst=r4 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1173 dst=r0 src=r0 offset=0 imm=2 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1174 dst=r6 src=r0 offset=0 imm=0 -#line 177 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1174 dst=r6 src=r0 offset=0 imm=0 +#line 177 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1175 dst=r3 src=r6 offset=0 imm=0 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1176 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1177 dst=r3 src=r0 offset=0 imm=32 -#line 177 "sample/map.c" +#line 177 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1178 dst=r3 src=r0 offset=1 imm=-1 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" goto label_75; - // EBPF_OP_JA pc=1179 dst=r0 src=r0 offset=32 imm=0 -#line 178 "sample/map.c" + // EBPF_OP_JA pc=1179 dst=r0 src=r0 offset=32 imm=0 +#line 178 "sample/undocked/map.c" goto label_77; label_75: // EBPF_OP_MOV64_IMM pc=1180 dst=r1 src=r0 offset=0 imm=9 -#line 178 "sample/map.c" +#line 178 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=1181 dst=r10 src=r1 offset=-4 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1182 dst=r2 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1183 dst=r2 src=r0 offset=0 imm=-4 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1184 dst=r3 src=r10 offset=0 imm=0 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1185 dst=r3 src=r0 offset=0 imm=-68 -#line 182 "sample/map.c" +#line 182 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_LDDW pc=1186 dst=r1 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1188 dst=r4 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1189 dst=r0 src=r0 offset=0 imm=2 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1190 dst=r6 src=r0 offset=0 imm=0 -#line 183 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1190 dst=r6 src=r0 offset=0 imm=0 +#line 183 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1191 dst=r3 src=r6 offset=0 imm=0 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1192 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1193 dst=r3 src=r0 offset=0 imm=32 -#line 183 "sample/map.c" +#line 183 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1194 dst=r3 src=r0 offset=1 imm=-1 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" goto label_76; - // EBPF_OP_JA pc=1195 dst=r0 src=r0 offset=16 imm=0 -#line 184 "sample/map.c" + // EBPF_OP_JA pc=1195 dst=r0 src=r0 offset=16 imm=0 +#line 184 "sample/undocked/map.c" goto label_77; label_76: // EBPF_OP_MOV64_IMM pc=1196 dst=r1 src=r0 offset=0 imm=10 -#line 184 "sample/map.c" +#line 184 "sample/undocked/map.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=1197 dst=r10 src=r1 offset=-4 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1198 dst=r2 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1199 dst=r2 src=r0 offset=0 imm=-4 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_REG pc=1200 dst=r3 src=r10 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 = r10; // EBPF_OP_ADD64_IMM pc=1201 dst=r3 src=r0 offset=0 imm=-68 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r3 += IMMEDIATE(-68); // EBPF_OP_MOV64_IMM pc=1202 dst=r7 src=r0 offset=0 imm=0 -#line 188 "sample/map.c" +#line 188 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1203 dst=r1 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r1 = POINTER(_maps[5].address); // EBPF_OP_MOV64_IMM pc=1205 dst=r4 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r4 = IMMEDIATE(0); // EBPF_OP_CALL pc=1206 dst=r0 src=r0 offset=0 imm=2 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r0 = test_maps_helpers[0].address -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" if ((test_maps_helpers[0].tail_call) && (r0 == 0)) -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1207 dst=r6 src=r0 offset=0 imm=0 -#line 189 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1207 dst=r6 src=r0 offset=0 imm=0 +#line 189 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1208 dst=r3 src=r6 offset=0 imm=0 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1209 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1210 dst=r3 src=r0 offset=0 imm=32 -#line 189 "sample/map.c" +#line 189 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1211 dst=r3 src=r0 offset=35 imm=-1 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" goto label_78; label_77: // EBPF_OP_LDDW pc=1212 dst=r1 src=r0 offset=0 imm=1684369010 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1214 dst=r10 src=r1 offset=-40 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1215 dst=r1 src=r0 offset=0 imm=544040300 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)8463501140580722028; // EBPF_OP_STXDW pc=1217 dst=r10 src=r1 offset=-48 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1218 dst=r1 src=r0 offset=0 imm=1633972341 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)7304668671142817909; // EBPF_OP_STXDW pc=1220 dst=r10 src=r1 offset=-56 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1221 dst=r1 src=r0 offset=0 imm=1600548962 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1223 dst=r10 src=r1 offset=-64 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1224 dst=r1 src=r10 offset=0 imm=0 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1225 dst=r1 src=r0 offset=0 imm=-64 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1226 dst=r2 src=r0 offset=0 imm=32 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r2 = IMMEDIATE(32); // EBPF_OP_CALL pc=1227 dst=r0 src=r0 offset=0 imm=13 -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 190 "sample/map.c" +#line 190 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_IMM pc=1228 dst=r1 src=r0 offset=0 imm=0 -#line 190 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1228 dst=r1 src=r0 offset=0 imm=0 +#line 190 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1229 dst=r10 src=r1 offset=-20 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-20)) = (uint8_t)r1; // EBPF_OP_MOV64_IMM pc=1230 dst=r1 src=r0 offset=0 imm=1680154724 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = IMMEDIATE(1680154724); // EBPF_OP_STXW pc=1231 dst=r10 src=r1 offset=-24 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1232 dst=r1 src=r0 offset=0 imm=1952805408 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)7308905094058439200; // EBPF_OP_STXDW pc=1234 dst=r10 src=r1 offset=-32 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1235 dst=r1 src=r0 offset=0 imm=1599426627 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)5211580972890673219; // EBPF_OP_STXDW pc=1237 dst=r10 src=r1 offset=-40 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1238 dst=r1 src=r0 offset=0 imm=1431456800 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)5928232854886698016; // EBPF_OP_STXDW pc=1240 dst=r10 src=r1 offset=-48 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1241 dst=r1 src=r0 offset=0 imm=1919903264 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)8097873591115146784; // EBPF_OP_STXDW pc=1243 dst=r10 src=r1 offset=-56 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1244 dst=r1 src=r0 offset=0 imm=1953719636 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" r1 = (uint64_t)6148060143590532436; // EBPF_OP_JA pc=1246 dst=r0 src=r0 offset=-1003 imm=0 -#line 301 "sample/map.c" +#line 301 "sample/undocked/map.c" goto label_19; label_78: // EBPF_OP_STXW pc=1247 dst=r10 src=r7 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1248 dst=r2 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1249 dst=r2 src=r0 offset=0 imm=-4 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1250 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1252 dst=r0 src=r0 offset=0 imm=18 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1253 dst=r6 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1253 dst=r6 src=r0 offset=0 imm=0 +#line 240 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1254 dst=r4 src=r6 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1255 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1256 dst=r1 src=r4 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1257 dst=r1 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1258 dst=r2 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1260 dst=r1 src=r2 offset=27 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r1 == r2) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_81; label_79: // EBPF_OP_MOV64_IMM pc=1261 dst=r1 src=r0 offset=0 imm=100 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1262 dst=r10 src=r1 offset=-16 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1263 dst=r1 src=r0 offset=0 imm=1852994932 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1265 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1266 dst=r1 src=r0 offset=0 imm=622883948 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1268 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1269 dst=r1 src=r0 offset=0 imm=543649385 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1271 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1272 dst=r1 src=r0 offset=0 imm=2019893357 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1274 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1275 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1277 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1278 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1280 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1281 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1282 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1283 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1284 dst=r2 src=r0 offset=0 imm=50 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_80: // EBPF_OP_MOV64_IMM pc=1285 dst=r3 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = IMMEDIATE(-7); // EBPF_OP_CALL pc=1286 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1287 dst=r0 src=r0 offset=26 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_JA pc=1287 dst=r0 src=r0 offset=26 imm=0 +#line 240 "sample/undocked/map.c" goto label_85; label_81: // EBPF_OP_LDXW pc=1288 dst=r3 src=r10 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1289 dst=r3 src=r0 offset=90 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_90; label_82: // EBPF_OP_LDDW pc=1290 dst=r1 src=r0 offset=0 imm=1852404835 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=1292 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1293 dst=r1 src=r0 offset=0 imm=543434016 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=1295 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1296 dst=r1 src=r0 offset=0 imm=1701978221 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=1298 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1299 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1301 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1302 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1304 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=1305 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1306 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_MOV64_REG pc=1307 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1308 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1309 dst=r2 src=r0 offset=0 imm=41 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(41); label_83: // EBPF_OP_MOV64_IMM pc=1310 dst=r4 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_84: // EBPF_OP_CALL pc=1311 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=1312 dst=r6 src=r0 offset=0 imm=-1 -#line 240 "sample/map.c" + // EBPF_OP_LDDW pc=1312 dst=r6 src=r0 offset=0 imm=-1 +#line 240 "sample/undocked/map.c" r6 = (uint64_t)4294967295; label_85: // EBPF_OP_MOV64_REG pc=1314 dst=r3 src=r6 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 = r6; // EBPF_OP_LSH64_IMM pc=1315 dst=r3 src=r0 offset=0 imm=32 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=1316 dst=r3 src=r0 offset=0 imm=32 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=1317 dst=r3 src=r0 offset=1 imm=-1 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" goto label_86; - // EBPF_OP_JA pc=1318 dst=r0 src=r0 offset=42 imm=0 -#line 303 "sample/map.c" + // EBPF_OP_JA pc=1318 dst=r0 src=r0 offset=42 imm=0 +#line 303 "sample/undocked/map.c" goto label_89; label_86: // EBPF_OP_MOV64_IMM pc=1319 dst=r1 src=r0 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1320 dst=r10 src=r1 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1321 dst=r2 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1322 dst=r2 src=r0 offset=0 imm=-4 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1323 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=1325 dst=r0 src=r0 offset=0 imm=18 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1326 dst=r7 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1326 dst=r7 src=r0 offset=0 imm=0 +#line 240 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=1327 dst=r4 src=r7 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=1328 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1329 dst=r1 src=r4 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1330 dst=r1 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1331 dst=r2 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1333 dst=r1 src=r2 offset=865 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r1 == r2) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_137; label_87: // EBPF_OP_MOV64_IMM pc=1334 dst=r1 src=r0 offset=0 imm=100 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1335 dst=r10 src=r1 offset=-16 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1336 dst=r1 src=r0 offset=0 imm=1852994932 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1338 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1339 dst=r1 src=r0 offset=0 imm=622883948 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1341 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1342 dst=r1 src=r0 offset=0 imm=543649385 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1344 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1345 dst=r1 src=r0 offset=0 imm=2019893357 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1347 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1348 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1350 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1351 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1353 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1354 dst=r4 src=r0 offset=0 imm=32 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1355 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1356 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1357 dst=r2 src=r0 offset=0 imm=50 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_88: // EBPF_OP_MOV64_IMM pc=1358 dst=r3 src=r0 offset=0 imm=-7 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = IMMEDIATE(-7); // EBPF_OP_CALL pc=1359 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1360 dst=r0 src=r0 offset=864 imm=0 -#line 240 "sample/map.c" + // EBPF_OP_JA pc=1360 dst=r0 src=r0 offset=864 imm=0 +#line 240 "sample/undocked/map.c" goto label_141; label_89: // EBPF_OP_LDDW pc=1361 dst=r1 src=r0 offset=0 imm=1684369010 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=1363 dst=r10 src=r1 offset=-32 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1364 dst=r1 src=r0 offset=0 imm=541414725 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)8463501140578096453; // EBPF_OP_STXDW pc=1366 dst=r10 src=r1 offset=-40 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1367 dst=r1 src=r0 offset=0 imm=1634541682 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)6147730633380405362; // EBPF_OP_STXDW pc=1369 dst=r10 src=r1 offset=-48 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1370 dst=r1 src=r0 offset=0 imm=1330667336 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)8027138915134627656; // EBPF_OP_STXDW pc=1372 dst=r10 src=r1 offset=-56 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1373 dst=r1 src=r0 offset=0 imm=1953719636 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = (uint64_t)6004793778491319636; // EBPF_OP_STXDW pc=1375 dst=r10 src=r1 offset=-64 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1376 dst=r1 src=r10 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1377 dst=r1 src=r0 offset=0 imm=-64 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1378 dst=r2 src=r0 offset=0 imm=40 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=1379 dst=r0 src=r0 offset=-1279 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" goto label_8; label_90: // EBPF_OP_MOV64_IMM pc=1380 dst=r7 src=r0 offset=0 imm=0 -#line 303 "sample/map.c" +#line 303 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1381 dst=r10 src=r7 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1382 dst=r2 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1383 dst=r2 src=r0 offset=0 imm=-4 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1384 dst=r1 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1386 dst=r0 src=r0 offset=0 imm=17 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1387 dst=r6 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1387 dst=r6 src=r0 offset=0 imm=0 +#line 241 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1388 dst=r4 src=r6 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1389 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1390 dst=r1 src=r4 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1391 dst=r1 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1392 dst=r2 src=r0 offset=0 imm=-7 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=1394 dst=r1 src=r2 offset=24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r1 == r2) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_92; label_91: // EBPF_OP_STXB pc=1395 dst=r10 src=r7 offset=-16 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r7; // EBPF_OP_LDDW pc=1396 dst=r1 src=r0 offset=0 imm=1701737077 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=1398 dst=r10 src=r1 offset=-24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1399 dst=r1 src=r0 offset=0 imm=1680154740 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=1401 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1402 dst=r1 src=r0 offset=0 imm=1914726254 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=1404 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1405 dst=r1 src=r0 offset=0 imm=1886938400 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=1407 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1408 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1410 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1411 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1413 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1414 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1415 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1416 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1417 dst=r2 src=r0 offset=0 imm=49 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=1418 dst=r0 src=r0 offset=-134 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_80; label_92: // EBPF_OP_LDXW pc=1419 dst=r3 src=r10 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1420 dst=r3 src=r0 offset=19 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_94; label_93: // EBPF_OP_LDDW pc=1421 dst=r1 src=r0 offset=0 imm=1735289204 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1423 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1424 dst=r1 src=r0 offset=0 imm=1696621605 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1426 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1427 dst=r1 src=r0 offset=0 imm=1952805408 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1429 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1430 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1432 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1433 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1435 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1436 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1437 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1438 dst=r2 src=r0 offset=0 imm=40 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=1439 dst=r0 src=r0 offset=-130 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_83; label_94: // EBPF_OP_MOV64_IMM pc=1440 dst=r7 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1441 dst=r10 src=r7 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1442 dst=r2 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1443 dst=r2 src=r0 offset=0 imm=-4 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1444 dst=r1 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1446 dst=r3 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1447 dst=r0 src=r0 offset=0 imm=16 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1448 dst=r6 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1448 dst=r6 src=r0 offset=0 imm=0 +#line 249 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1449 dst=r5 src=r6 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1450 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1451 dst=r1 src=r5 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1452 dst=r1 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1453 dst=r1 src=r0 offset=31 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" goto label_98; label_95: // EBPF_OP_MOV64_IMM pc=1454 dst=r1 src=r0 offset=0 imm=25637 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1455 dst=r10 src=r1 offset=-12 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1456 dst=r1 src=r0 offset=0 imm=543450478 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1457 dst=r10 src=r1 offset=-16 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1458 dst=r1 src=r0 offset=0 imm=1914725413 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1460 dst=r10 src=r1 offset=-24 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1461 dst=r1 src=r0 offset=0 imm=1667592312 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1463 dst=r10 src=r1 offset=-32 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1464 dst=r1 src=r0 offset=0 imm=543649385 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1466 dst=r10 src=r1 offset=-40 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1467 dst=r1 src=r0 offset=0 imm=1852383341 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1469 dst=r10 src=r1 offset=-48 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1470 dst=r1 src=r0 offset=0 imm=1752397168 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1472 dst=r10 src=r1 offset=-56 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1473 dst=r1 src=r0 offset=0 imm=1600548962 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1475 dst=r10 src=r1 offset=-64 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=1476 dst=r10 src=r7 offset=-10 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r7; label_96: // EBPF_OP_LDXW pc=1477 dst=r3 src=r10 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=1478 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1479 dst=r1 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1480 dst=r1 src=r0 offset=0 imm=-64 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1481 dst=r2 src=r0 offset=0 imm=55 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=1482 dst=r4 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_97: // EBPF_OP_CALL pc=1483 dst=r0 src=r0 offset=0 imm=15 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[10].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[10].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1484 dst=r0 src=r0 offset=-171 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_JA pc=1484 dst=r0 src=r0 offset=-171 imm=0 +#line 249 "sample/undocked/map.c" goto label_85; label_98: // EBPF_OP_MOV64_IMM pc=1485 dst=r1 src=r0 offset=0 imm=1 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=1486 dst=r10 src=r1 offset=-4 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1487 dst=r2 src=r10 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1488 dst=r2 src=r0 offset=0 imm=-4 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1489 dst=r7 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1490 dst=r1 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1492 dst=r3 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1493 dst=r0 src=r0 offset=0 imm=16 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1494 dst=r6 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1494 dst=r6 src=r0 offset=0 imm=0 +#line 250 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1495 dst=r5 src=r6 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1496 dst=r5 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1497 dst=r1 src=r5 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1498 dst=r1 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1499 dst=r1 src=r0 offset=1 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" goto label_99; - // EBPF_OP_JA pc=1500 dst=r0 src=r0 offset=-47 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_JA pc=1500 dst=r0 src=r0 offset=-47 imm=0 +#line 250 "sample/undocked/map.c" goto label_95; label_99: // EBPF_OP_MOV64_IMM pc=1501 dst=r1 src=r0 offset=0 imm=2 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=1502 dst=r10 src=r1 offset=-4 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1503 dst=r2 src=r10 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1504 dst=r2 src=r0 offset=0 imm=-4 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1505 dst=r7 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1506 dst=r1 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1508 dst=r3 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1509 dst=r0 src=r0 offset=0 imm=16 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1510 dst=r6 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1510 dst=r6 src=r0 offset=0 imm=0 +#line 251 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1511 dst=r5 src=r6 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1512 dst=r5 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1513 dst=r1 src=r5 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1514 dst=r1 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1515 dst=r1 src=r0 offset=1 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" goto label_100; - // EBPF_OP_JA pc=1516 dst=r0 src=r0 offset=-63 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_JA pc=1516 dst=r0 src=r0 offset=-63 imm=0 +#line 251 "sample/undocked/map.c" goto label_95; label_100: // EBPF_OP_MOV64_IMM pc=1517 dst=r1 src=r0 offset=0 imm=3 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=1518 dst=r10 src=r1 offset=-4 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1519 dst=r2 src=r10 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1520 dst=r2 src=r0 offset=0 imm=-4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1521 dst=r7 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1522 dst=r1 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1524 dst=r3 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1525 dst=r0 src=r0 offset=0 imm=16 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1526 dst=r6 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1526 dst=r6 src=r0 offset=0 imm=0 +#line 252 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1527 dst=r5 src=r6 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1528 dst=r5 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1529 dst=r1 src=r5 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1530 dst=r1 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1531 dst=r1 src=r0 offset=1 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" goto label_101; - // EBPF_OP_JA pc=1532 dst=r0 src=r0 offset=-79 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_JA pc=1532 dst=r0 src=r0 offset=-79 imm=0 +#line 252 "sample/undocked/map.c" goto label_95; label_101: // EBPF_OP_MOV64_IMM pc=1533 dst=r1 src=r0 offset=0 imm=4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=1534 dst=r10 src=r1 offset=-4 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1535 dst=r2 src=r10 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1536 dst=r2 src=r0 offset=0 imm=-4 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1537 dst=r7 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1538 dst=r1 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1540 dst=r3 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1541 dst=r0 src=r0 offset=0 imm=16 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1542 dst=r6 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1542 dst=r6 src=r0 offset=0 imm=0 +#line 253 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1543 dst=r5 src=r6 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1544 dst=r5 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1545 dst=r1 src=r5 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1546 dst=r1 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1547 dst=r1 src=r0 offset=1 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" goto label_102; - // EBPF_OP_JA pc=1548 dst=r0 src=r0 offset=-95 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_JA pc=1548 dst=r0 src=r0 offset=-95 imm=0 +#line 253 "sample/undocked/map.c" goto label_95; label_102: // EBPF_OP_MOV64_IMM pc=1549 dst=r1 src=r0 offset=0 imm=5 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=1550 dst=r10 src=r1 offset=-4 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1551 dst=r2 src=r10 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1552 dst=r2 src=r0 offset=0 imm=-4 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1553 dst=r7 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1554 dst=r1 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1556 dst=r3 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1557 dst=r0 src=r0 offset=0 imm=16 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1558 dst=r6 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1558 dst=r6 src=r0 offset=0 imm=0 +#line 254 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1559 dst=r5 src=r6 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1560 dst=r5 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1561 dst=r1 src=r5 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1562 dst=r1 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1563 dst=r1 src=r0 offset=1 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" goto label_103; - // EBPF_OP_JA pc=1564 dst=r0 src=r0 offset=-111 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_JA pc=1564 dst=r0 src=r0 offset=-111 imm=0 +#line 254 "sample/undocked/map.c" goto label_95; label_103: // EBPF_OP_MOV64_IMM pc=1565 dst=r1 src=r0 offset=0 imm=6 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=1566 dst=r10 src=r1 offset=-4 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1567 dst=r2 src=r10 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1568 dst=r2 src=r0 offset=0 imm=-4 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1569 dst=r7 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1570 dst=r1 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1572 dst=r3 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1573 dst=r0 src=r0 offset=0 imm=16 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1574 dst=r6 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1574 dst=r6 src=r0 offset=0 imm=0 +#line 255 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1575 dst=r5 src=r6 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1576 dst=r5 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1577 dst=r1 src=r5 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1578 dst=r1 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1579 dst=r1 src=r0 offset=1 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" goto label_104; - // EBPF_OP_JA pc=1580 dst=r0 src=r0 offset=-127 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_JA pc=1580 dst=r0 src=r0 offset=-127 imm=0 +#line 255 "sample/undocked/map.c" goto label_95; label_104: // EBPF_OP_MOV64_IMM pc=1581 dst=r1 src=r0 offset=0 imm=7 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=1582 dst=r10 src=r1 offset=-4 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1583 dst=r2 src=r10 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1584 dst=r2 src=r0 offset=0 imm=-4 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1585 dst=r7 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1586 dst=r1 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1588 dst=r3 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1589 dst=r0 src=r0 offset=0 imm=16 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1590 dst=r6 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1590 dst=r6 src=r0 offset=0 imm=0 +#line 256 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1591 dst=r5 src=r6 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1592 dst=r5 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1593 dst=r1 src=r5 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1594 dst=r1 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1595 dst=r1 src=r0 offset=1 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" goto label_105; - // EBPF_OP_JA pc=1596 dst=r0 src=r0 offset=-143 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_JA pc=1596 dst=r0 src=r0 offset=-143 imm=0 +#line 256 "sample/undocked/map.c" goto label_95; label_105: // EBPF_OP_MOV64_IMM pc=1597 dst=r1 src=r0 offset=0 imm=8 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=1598 dst=r10 src=r1 offset=-4 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1599 dst=r2 src=r10 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1600 dst=r2 src=r0 offset=0 imm=-4 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1601 dst=r7 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1602 dst=r1 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1604 dst=r3 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1605 dst=r0 src=r0 offset=0 imm=16 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1606 dst=r6 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1606 dst=r6 src=r0 offset=0 imm=0 +#line 257 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1607 dst=r5 src=r6 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1608 dst=r5 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1609 dst=r1 src=r5 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1610 dst=r1 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1611 dst=r1 src=r0 offset=1 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" goto label_106; - // EBPF_OP_JA pc=1612 dst=r0 src=r0 offset=-159 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_JA pc=1612 dst=r0 src=r0 offset=-159 imm=0 +#line 257 "sample/undocked/map.c" goto label_95; label_106: // EBPF_OP_MOV64_IMM pc=1613 dst=r1 src=r0 offset=0 imm=9 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=1614 dst=r10 src=r1 offset=-4 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1615 dst=r2 src=r10 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1616 dst=r2 src=r0 offset=0 imm=-4 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1617 dst=r7 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1618 dst=r1 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1620 dst=r3 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1621 dst=r0 src=r0 offset=0 imm=16 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1622 dst=r6 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1622 dst=r6 src=r0 offset=0 imm=0 +#line 258 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1623 dst=r5 src=r6 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1624 dst=r5 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1625 dst=r1 src=r5 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1626 dst=r1 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1627 dst=r1 src=r0 offset=1 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" goto label_107; - // EBPF_OP_JA pc=1628 dst=r0 src=r0 offset=-175 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_JA pc=1628 dst=r0 src=r0 offset=-175 imm=0 +#line 258 "sample/undocked/map.c" goto label_95; label_107: // EBPF_OP_MOV64_IMM pc=1629 dst=r7 src=r0 offset=0 imm=10 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r7 = IMMEDIATE(10); // EBPF_OP_STXW pc=1630 dst=r10 src=r7 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1631 dst=r2 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1632 dst=r2 src=r0 offset=0 imm=-4 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=1633 dst=r8 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r8 = IMMEDIATE(0); // EBPF_OP_LDDW pc=1634 dst=r1 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1636 dst=r3 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1637 dst=r0 src=r0 offset=0 imm=16 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1638 dst=r6 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1638 dst=r6 src=r0 offset=0 imm=0 +#line 261 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1639 dst=r5 src=r6 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1640 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1641 dst=r1 src=r5 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1642 dst=r1 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=1643 dst=r2 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = (uint64_t)4294967267; // EBPF_OP_JEQ_REG pc=1645 dst=r1 src=r2 offset=30 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if (r1 == r2) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_108; - // EBPF_OP_STXB pc=1646 dst=r10 src=r8 offset=-10 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_STXB pc=1646 dst=r10 src=r8 offset=-10 imm=0 +#line 261 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r8; // EBPF_OP_MOV64_IMM pc=1647 dst=r1 src=r0 offset=0 imm=25637 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1648 dst=r10 src=r1 offset=-12 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1649 dst=r1 src=r0 offset=0 imm=543450478 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1650 dst=r10 src=r1 offset=-16 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1651 dst=r1 src=r0 offset=0 imm=1914725413 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1653 dst=r10 src=r1 offset=-24 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1654 dst=r1 src=r0 offset=0 imm=1667592312 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1656 dst=r10 src=r1 offset=-32 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1657 dst=r1 src=r0 offset=0 imm=543649385 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1659 dst=r10 src=r1 offset=-40 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1660 dst=r1 src=r0 offset=0 imm=1852383341 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1662 dst=r10 src=r1 offset=-48 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1663 dst=r1 src=r0 offset=0 imm=1752397168 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1665 dst=r10 src=r1 offset=-56 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1666 dst=r1 src=r0 offset=0 imm=1600548962 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1668 dst=r10 src=r1 offset=-64 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_LDXW pc=1669 dst=r3 src=r10 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=1670 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1671 dst=r1 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1672 dst=r1 src=r0 offset=0 imm=-64 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1673 dst=r2 src=r0 offset=0 imm=55 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=1674 dst=r4 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r4 = IMMEDIATE(-29); // EBPF_OP_JA pc=1675 dst=r0 src=r0 offset=-193 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_97; label_108: // EBPF_OP_STXW pc=1676 dst=r10 src=r7 offset=-4 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1677 dst=r2 src=r10 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1678 dst=r2 src=r0 offset=0 imm=-4 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1679 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_MOV64_IMM pc=1681 dst=r3 src=r0 offset=0 imm=2 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=1682 dst=r0 src=r0 offset=0 imm=16 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1683 dst=r6 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1683 dst=r6 src=r0 offset=0 imm=0 +#line 262 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1684 dst=r5 src=r6 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 = r6; // EBPF_OP_LSH64_IMM pc=1685 dst=r5 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1686 dst=r1 src=r5 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=1687 dst=r1 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1688 dst=r1 src=r0 offset=25 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_109; - // EBPF_OP_MOV64_IMM pc=1689 dst=r1 src=r0 offset=0 imm=25637 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1689 dst=r1 src=r0 offset=0 imm=25637 +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=1690 dst=r10 src=r1 offset=-12 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=1691 dst=r1 src=r0 offset=0 imm=543450478 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=1692 dst=r10 src=r1 offset=-16 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=1693 dst=r1 src=r0 offset=0 imm=1914725413 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=1695 dst=r10 src=r1 offset=-24 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1696 dst=r1 src=r0 offset=0 imm=1667592312 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=1698 dst=r10 src=r1 offset=-32 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1699 dst=r1 src=r0 offset=0 imm=543649385 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=1701 dst=r10 src=r1 offset=-40 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1702 dst=r1 src=r0 offset=0 imm=1852383341 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=1704 dst=r10 src=r1 offset=-48 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1705 dst=r1 src=r0 offset=0 imm=1752397168 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=1707 dst=r10 src=r1 offset=-56 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1708 dst=r1 src=r0 offset=0 imm=1600548962 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1710 dst=r10 src=r1 offset=-64 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=1711 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1712 dst=r10 src=r1 offset=-10 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r1; // EBPF_OP_JA pc=1713 dst=r0 src=r0 offset=-237 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_96; label_109: // EBPF_OP_MOV64_IMM pc=1714 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=1715 dst=r10 src=r1 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=1716 dst=r2 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1717 dst=r2 src=r0 offset=0 imm=-4 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1718 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1720 dst=r0 src=r0 offset=0 imm=18 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1721 dst=r6 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1721 dst=r6 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1722 dst=r4 src=r6 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1723 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1724 dst=r1 src=r4 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1725 dst=r1 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1726 dst=r1 src=r0 offset=27 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_111; - // EBPF_OP_MOV64_IMM pc=1727 dst=r1 src=r0 offset=0 imm=100 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1727 dst=r1 src=r0 offset=0 imm=100 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=1728 dst=r10 src=r1 offset=-16 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=1729 dst=r1 src=r0 offset=0 imm=1852994932 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=1731 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1732 dst=r1 src=r0 offset=0 imm=622883948 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=1734 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1735 dst=r1 src=r0 offset=0 imm=543649385 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=1737 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1738 dst=r1 src=r0 offset=0 imm=2019893357 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=1740 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1741 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1743 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1744 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1746 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=1747 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1748 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1749 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1750 dst=r2 src=r0 offset=0 imm=50 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_110: // EBPF_OP_MOV64_IMM pc=1751 dst=r3 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=1752 dst=r0 src=r0 offset=0 imm=14 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=1753 dst=r0 src=r0 offset=-440 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_JA pc=1753 dst=r0 src=r0 offset=-440 imm=0 +#line 264 "sample/undocked/map.c" goto label_85; label_111: // EBPF_OP_LDXW pc=1754 dst=r3 src=r10 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1755 dst=r3 src=r0 offset=22 imm=1 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_112; - // EBPF_OP_MOV64_IMM pc=1756 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=1756 dst=r1 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=1757 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_LDDW pc=1758 dst=r1 src=r0 offset=0 imm=1852404835 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=1760 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1761 dst=r1 src=r0 offset=0 imm=543434016 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=1763 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1764 dst=r1 src=r0 offset=0 imm=1701978221 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=1766 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1767 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=1769 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1770 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1772 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1773 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1774 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1775 dst=r2 src=r0 offset=0 imm=41 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(41); // EBPF_OP_MOV64_IMM pc=1776 dst=r4 src=r0 offset=0 imm=1 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=1777 dst=r0 src=r0 offset=-467 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_84; label_112: // EBPF_OP_MOV64_IMM pc=1778 dst=r7 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1779 dst=r10 src=r7 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1780 dst=r2 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1781 dst=r2 src=r0 offset=0 imm=-4 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1782 dst=r1 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1784 dst=r0 src=r0 offset=0 imm=17 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1785 dst=r6 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1785 dst=r6 src=r0 offset=0 imm=0 +#line 272 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1786 dst=r4 src=r6 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1787 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1788 dst=r1 src=r4 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1789 dst=r1 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1790 dst=r1 src=r0 offset=24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_114; label_113: // EBPF_OP_LDDW pc=1791 dst=r1 src=r0 offset=0 imm=1701737077 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=1793 dst=r10 src=r1 offset=-24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1794 dst=r1 src=r0 offset=0 imm=1680154740 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=1796 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1797 dst=r1 src=r0 offset=0 imm=1914726254 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=1799 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1800 dst=r1 src=r0 offset=0 imm=1886938400 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=1802 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1803 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1805 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1806 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1808 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=1809 dst=r10 src=r7 offset=-16 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r7; // EBPF_OP_ARSH64_IMM pc=1810 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1811 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1812 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1813 dst=r2 src=r0 offset=0 imm=49 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=1814 dst=r0 src=r0 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_110; label_114: // EBPF_OP_LDXW pc=1815 dst=r3 src=r10 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1816 dst=r3 src=r0 offset=20 imm=1 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_115; - // EBPF_OP_LDDW pc=1817 dst=r1 src=r0 offset=0 imm=1735289204 -#line 272 "sample/map.c" + // EBPF_OP_LDDW pc=1817 dst=r1 src=r0 offset=0 imm=1735289204 +#line 272 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1819 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1820 dst=r1 src=r0 offset=0 imm=1696621605 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1822 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1823 dst=r1 src=r0 offset=0 imm=1952805408 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1825 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1826 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1828 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1829 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1831 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1832 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1833 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1834 dst=r2 src=r0 offset=0 imm=40 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1835 dst=r4 src=r0 offset=0 imm=1 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=1836 dst=r0 src=r0 offset=-526 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_84; label_115: // EBPF_OP_MOV64_IMM pc=1837 dst=r7 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1838 dst=r10 src=r7 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1839 dst=r2 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1840 dst=r2 src=r0 offset=0 imm=-4 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1841 dst=r1 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1843 dst=r0 src=r0 offset=0 imm=17 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1844 dst=r6 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1844 dst=r6 src=r0 offset=0 imm=0 +#line 273 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1845 dst=r4 src=r6 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1846 dst=r4 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1847 dst=r1 src=r4 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1848 dst=r1 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1849 dst=r1 src=r0 offset=1 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_116; - // EBPF_OP_JA pc=1850 dst=r0 src=r0 offset=-60 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_JA pc=1850 dst=r0 src=r0 offset=-60 imm=0 +#line 273 "sample/undocked/map.c" goto label_113; label_116: // EBPF_OP_LDXW pc=1851 dst=r3 src=r10 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1852 dst=r3 src=r0 offset=20 imm=2 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r3 == IMMEDIATE(2)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_117; - // EBPF_OP_LDDW pc=1853 dst=r1 src=r0 offset=0 imm=1735289204 -#line 273 "sample/map.c" + // EBPF_OP_LDDW pc=1853 dst=r1 src=r0 offset=0 imm=1735289204 +#line 273 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1855 dst=r10 src=r1 offset=-32 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1856 dst=r1 src=r0 offset=0 imm=1696621605 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1858 dst=r10 src=r1 offset=-40 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1859 dst=r1 src=r0 offset=0 imm=1952805408 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1861 dst=r10 src=r1 offset=-48 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1862 dst=r1 src=r0 offset=0 imm=1601204080 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1864 dst=r10 src=r1 offset=-56 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1865 dst=r1 src=r0 offset=0 imm=1600548962 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1867 dst=r10 src=r1 offset=-64 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1868 dst=r1 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1869 dst=r1 src=r0 offset=0 imm=-64 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1870 dst=r2 src=r0 offset=0 imm=40 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1871 dst=r4 src=r0 offset=0 imm=2 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = IMMEDIATE(2); // EBPF_OP_JA pc=1872 dst=r0 src=r0 offset=-562 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_84; label_117: // EBPF_OP_MOV64_IMM pc=1873 dst=r7 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1874 dst=r10 src=r7 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1875 dst=r2 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1876 dst=r2 src=r0 offset=0 imm=-4 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1877 dst=r1 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1879 dst=r0 src=r0 offset=0 imm=17 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1880 dst=r6 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1880 dst=r6 src=r0 offset=0 imm=0 +#line 274 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1881 dst=r4 src=r6 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1882 dst=r4 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1883 dst=r1 src=r4 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1884 dst=r1 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1885 dst=r1 src=r0 offset=1 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_118; - // EBPF_OP_JA pc=1886 dst=r0 src=r0 offset=-96 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_JA pc=1886 dst=r0 src=r0 offset=-96 imm=0 +#line 274 "sample/undocked/map.c" goto label_113; label_118: // EBPF_OP_LDXW pc=1887 dst=r3 src=r10 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1888 dst=r3 src=r0 offset=20 imm=3 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r3 == IMMEDIATE(3)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_119; - // EBPF_OP_LDDW pc=1889 dst=r1 src=r0 offset=0 imm=1735289204 -#line 274 "sample/map.c" + // EBPF_OP_LDDW pc=1889 dst=r1 src=r0 offset=0 imm=1735289204 +#line 274 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1891 dst=r10 src=r1 offset=-32 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1892 dst=r1 src=r0 offset=0 imm=1696621605 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1894 dst=r10 src=r1 offset=-40 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1895 dst=r1 src=r0 offset=0 imm=1952805408 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1897 dst=r10 src=r1 offset=-48 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1898 dst=r1 src=r0 offset=0 imm=1601204080 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1900 dst=r10 src=r1 offset=-56 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1901 dst=r1 src=r0 offset=0 imm=1600548962 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1903 dst=r10 src=r1 offset=-64 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1904 dst=r1 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1905 dst=r1 src=r0 offset=0 imm=-64 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1906 dst=r2 src=r0 offset=0 imm=40 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1907 dst=r4 src=r0 offset=0 imm=3 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = IMMEDIATE(3); // EBPF_OP_JA pc=1908 dst=r0 src=r0 offset=-598 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_84; label_119: // EBPF_OP_MOV64_IMM pc=1909 dst=r7 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1910 dst=r10 src=r7 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1911 dst=r2 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1912 dst=r2 src=r0 offset=0 imm=-4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1913 dst=r1 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1915 dst=r0 src=r0 offset=0 imm=17 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1916 dst=r6 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1916 dst=r6 src=r0 offset=0 imm=0 +#line 275 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1917 dst=r4 src=r6 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1918 dst=r4 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1919 dst=r1 src=r4 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1920 dst=r1 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1921 dst=r1 src=r0 offset=1 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_120; - // EBPF_OP_JA pc=1922 dst=r0 src=r0 offset=-132 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_JA pc=1922 dst=r0 src=r0 offset=-132 imm=0 +#line 275 "sample/undocked/map.c" goto label_113; label_120: // EBPF_OP_LDXW pc=1923 dst=r3 src=r10 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1924 dst=r3 src=r0 offset=20 imm=4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r3 == IMMEDIATE(4)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_121; - // EBPF_OP_LDDW pc=1925 dst=r1 src=r0 offset=0 imm=1735289204 -#line 275 "sample/map.c" + // EBPF_OP_LDDW pc=1925 dst=r1 src=r0 offset=0 imm=1735289204 +#line 275 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1927 dst=r10 src=r1 offset=-32 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1928 dst=r1 src=r0 offset=0 imm=1696621605 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1930 dst=r10 src=r1 offset=-40 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1931 dst=r1 src=r0 offset=0 imm=1952805408 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1933 dst=r10 src=r1 offset=-48 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1934 dst=r1 src=r0 offset=0 imm=1601204080 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1936 dst=r10 src=r1 offset=-56 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1937 dst=r1 src=r0 offset=0 imm=1600548962 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1939 dst=r10 src=r1 offset=-64 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1940 dst=r1 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1941 dst=r1 src=r0 offset=0 imm=-64 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1942 dst=r2 src=r0 offset=0 imm=40 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1943 dst=r4 src=r0 offset=0 imm=4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = IMMEDIATE(4); // EBPF_OP_JA pc=1944 dst=r0 src=r0 offset=-634 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_84; label_121: // EBPF_OP_MOV64_IMM pc=1945 dst=r7 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1946 dst=r10 src=r7 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1947 dst=r2 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1948 dst=r2 src=r0 offset=0 imm=-4 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1949 dst=r1 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1951 dst=r0 src=r0 offset=0 imm=17 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1952 dst=r6 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1952 dst=r6 src=r0 offset=0 imm=0 +#line 276 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1953 dst=r4 src=r6 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1954 dst=r4 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1955 dst=r1 src=r4 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1956 dst=r1 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1957 dst=r1 src=r0 offset=1 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_122; - // EBPF_OP_JA pc=1958 dst=r0 src=r0 offset=-168 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_JA pc=1958 dst=r0 src=r0 offset=-168 imm=0 +#line 276 "sample/undocked/map.c" goto label_113; label_122: // EBPF_OP_LDXW pc=1959 dst=r3 src=r10 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1960 dst=r3 src=r0 offset=20 imm=5 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r3 == IMMEDIATE(5)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_123; - // EBPF_OP_LDDW pc=1961 dst=r1 src=r0 offset=0 imm=1735289204 -#line 276 "sample/map.c" + // EBPF_OP_LDDW pc=1961 dst=r1 src=r0 offset=0 imm=1735289204 +#line 276 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1963 dst=r10 src=r1 offset=-32 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1964 dst=r1 src=r0 offset=0 imm=1696621605 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=1966 dst=r10 src=r1 offset=-40 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1967 dst=r1 src=r0 offset=0 imm=1952805408 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=1969 dst=r10 src=r1 offset=-48 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1970 dst=r1 src=r0 offset=0 imm=1601204080 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=1972 dst=r10 src=r1 offset=-56 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=1973 dst=r1 src=r0 offset=0 imm=1600548962 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=1975 dst=r10 src=r1 offset=-64 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=1976 dst=r1 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=1977 dst=r1 src=r0 offset=0 imm=-64 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=1978 dst=r2 src=r0 offset=0 imm=40 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=1979 dst=r4 src=r0 offset=0 imm=5 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = IMMEDIATE(5); // EBPF_OP_JA pc=1980 dst=r0 src=r0 offset=-670 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_84; label_123: // EBPF_OP_MOV64_IMM pc=1981 dst=r7 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=1982 dst=r10 src=r7 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=1983 dst=r2 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=1984 dst=r2 src=r0 offset=0 imm=-4 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=1985 dst=r1 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=1987 dst=r0 src=r0 offset=0 imm=17 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=1988 dst=r6 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_MOV64_REG pc=1988 dst=r6 src=r0 offset=0 imm=0 +#line 277 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=1989 dst=r4 src=r6 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=1990 dst=r4 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=1991 dst=r1 src=r4 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=1992 dst=r1 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=1993 dst=r1 src=r0 offset=1 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_124; - // EBPF_OP_JA pc=1994 dst=r0 src=r0 offset=-204 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_JA pc=1994 dst=r0 src=r0 offset=-204 imm=0 +#line 277 "sample/undocked/map.c" goto label_113; label_124: // EBPF_OP_LDXW pc=1995 dst=r3 src=r10 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=1996 dst=r3 src=r0 offset=20 imm=6 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r3 == IMMEDIATE(6)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_125; - // EBPF_OP_LDDW pc=1997 dst=r1 src=r0 offset=0 imm=1735289204 -#line 277 "sample/map.c" + // EBPF_OP_LDDW pc=1997 dst=r1 src=r0 offset=0 imm=1735289204 +#line 277 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=1999 dst=r10 src=r1 offset=-32 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2000 dst=r1 src=r0 offset=0 imm=1696621605 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2002 dst=r10 src=r1 offset=-40 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2003 dst=r1 src=r0 offset=0 imm=1952805408 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2005 dst=r10 src=r1 offset=-48 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2006 dst=r1 src=r0 offset=0 imm=1601204080 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2008 dst=r10 src=r1 offset=-56 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2009 dst=r1 src=r0 offset=0 imm=1600548962 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2011 dst=r10 src=r1 offset=-64 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2012 dst=r1 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2013 dst=r1 src=r0 offset=0 imm=-64 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2014 dst=r2 src=r0 offset=0 imm=40 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2015 dst=r4 src=r0 offset=0 imm=6 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = IMMEDIATE(6); // EBPF_OP_JA pc=2016 dst=r0 src=r0 offset=-706 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_84; label_125: // EBPF_OP_MOV64_IMM pc=2017 dst=r7 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2018 dst=r10 src=r7 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2019 dst=r2 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2020 dst=r2 src=r0 offset=0 imm=-4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2021 dst=r1 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2023 dst=r0 src=r0 offset=0 imm=17 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2024 dst=r6 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2024 dst=r6 src=r0 offset=0 imm=0 +#line 278 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2025 dst=r4 src=r6 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2026 dst=r4 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2027 dst=r1 src=r4 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2028 dst=r1 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2029 dst=r1 src=r0 offset=1 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_126; - // EBPF_OP_JA pc=2030 dst=r0 src=r0 offset=-240 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_JA pc=2030 dst=r0 src=r0 offset=-240 imm=0 +#line 278 "sample/undocked/map.c" goto label_113; label_126: // EBPF_OP_LDXW pc=2031 dst=r3 src=r10 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2032 dst=r3 src=r0 offset=20 imm=7 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r3 == IMMEDIATE(7)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_127; - // EBPF_OP_LDDW pc=2033 dst=r1 src=r0 offset=0 imm=1735289204 -#line 278 "sample/map.c" + // EBPF_OP_LDDW pc=2033 dst=r1 src=r0 offset=0 imm=1735289204 +#line 278 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2035 dst=r10 src=r1 offset=-32 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2036 dst=r1 src=r0 offset=0 imm=1696621605 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2038 dst=r10 src=r1 offset=-40 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2039 dst=r1 src=r0 offset=0 imm=1952805408 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2041 dst=r10 src=r1 offset=-48 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2042 dst=r1 src=r0 offset=0 imm=1601204080 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2044 dst=r10 src=r1 offset=-56 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2045 dst=r1 src=r0 offset=0 imm=1600548962 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2047 dst=r10 src=r1 offset=-64 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2048 dst=r1 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2049 dst=r1 src=r0 offset=0 imm=-64 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2050 dst=r2 src=r0 offset=0 imm=40 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2051 dst=r4 src=r0 offset=0 imm=7 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = IMMEDIATE(7); // EBPF_OP_JA pc=2052 dst=r0 src=r0 offset=-742 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_84; label_127: // EBPF_OP_MOV64_IMM pc=2053 dst=r7 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2054 dst=r10 src=r7 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2055 dst=r2 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2056 dst=r2 src=r0 offset=0 imm=-4 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2057 dst=r1 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2059 dst=r0 src=r0 offset=0 imm=17 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2060 dst=r6 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2060 dst=r6 src=r0 offset=0 imm=0 +#line 279 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2061 dst=r4 src=r6 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2062 dst=r4 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2063 dst=r1 src=r4 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2064 dst=r1 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2065 dst=r1 src=r0 offset=1 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_128; - // EBPF_OP_JA pc=2066 dst=r0 src=r0 offset=-276 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_JA pc=2066 dst=r0 src=r0 offset=-276 imm=0 +#line 279 "sample/undocked/map.c" goto label_113; label_128: // EBPF_OP_LDXW pc=2067 dst=r3 src=r10 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2068 dst=r3 src=r0 offset=20 imm=8 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r3 == IMMEDIATE(8)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_129; - // EBPF_OP_LDDW pc=2069 dst=r1 src=r0 offset=0 imm=1735289204 -#line 279 "sample/map.c" + // EBPF_OP_LDDW pc=2069 dst=r1 src=r0 offset=0 imm=1735289204 +#line 279 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2071 dst=r10 src=r1 offset=-32 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2072 dst=r1 src=r0 offset=0 imm=1696621605 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2074 dst=r10 src=r1 offset=-40 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2075 dst=r1 src=r0 offset=0 imm=1952805408 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2077 dst=r10 src=r1 offset=-48 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2078 dst=r1 src=r0 offset=0 imm=1601204080 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2080 dst=r10 src=r1 offset=-56 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2081 dst=r1 src=r0 offset=0 imm=1600548962 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2083 dst=r10 src=r1 offset=-64 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2084 dst=r1 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2085 dst=r1 src=r0 offset=0 imm=-64 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2086 dst=r2 src=r0 offset=0 imm=40 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2087 dst=r4 src=r0 offset=0 imm=8 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = IMMEDIATE(8); // EBPF_OP_JA pc=2088 dst=r0 src=r0 offset=-778 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_84; label_129: // EBPF_OP_MOV64_IMM pc=2089 dst=r7 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2090 dst=r10 src=r7 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2091 dst=r2 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2092 dst=r2 src=r0 offset=0 imm=-4 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2093 dst=r1 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2095 dst=r0 src=r0 offset=0 imm=17 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2096 dst=r6 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2096 dst=r6 src=r0 offset=0 imm=0 +#line 280 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2097 dst=r4 src=r6 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2098 dst=r4 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2099 dst=r1 src=r4 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2100 dst=r1 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2101 dst=r1 src=r0 offset=1 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_130; - // EBPF_OP_JA pc=2102 dst=r0 src=r0 offset=-312 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_JA pc=2102 dst=r0 src=r0 offset=-312 imm=0 +#line 280 "sample/undocked/map.c" goto label_113; label_130: // EBPF_OP_LDXW pc=2103 dst=r3 src=r10 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2104 dst=r3 src=r0 offset=20 imm=9 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r3 == IMMEDIATE(9)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_131; - // EBPF_OP_LDDW pc=2105 dst=r1 src=r0 offset=0 imm=1735289204 -#line 280 "sample/map.c" + // EBPF_OP_LDDW pc=2105 dst=r1 src=r0 offset=0 imm=1735289204 +#line 280 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2107 dst=r10 src=r1 offset=-32 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2108 dst=r1 src=r0 offset=0 imm=1696621605 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2110 dst=r10 src=r1 offset=-40 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2111 dst=r1 src=r0 offset=0 imm=1952805408 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2113 dst=r10 src=r1 offset=-48 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2114 dst=r1 src=r0 offset=0 imm=1601204080 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2116 dst=r10 src=r1 offset=-56 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2117 dst=r1 src=r0 offset=0 imm=1600548962 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2119 dst=r10 src=r1 offset=-64 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2120 dst=r1 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2121 dst=r1 src=r0 offset=0 imm=-64 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2122 dst=r2 src=r0 offset=0 imm=40 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2123 dst=r4 src=r0 offset=0 imm=9 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = IMMEDIATE(9); // EBPF_OP_JA pc=2124 dst=r0 src=r0 offset=-814 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_84; label_131: // EBPF_OP_MOV64_IMM pc=2125 dst=r7 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2126 dst=r10 src=r7 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2127 dst=r2 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2128 dst=r2 src=r0 offset=0 imm=-4 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2129 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2131 dst=r0 src=r0 offset=0 imm=17 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2132 dst=r6 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2132 dst=r6 src=r0 offset=0 imm=0 +#line 281 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2133 dst=r4 src=r6 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2134 dst=r4 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2135 dst=r1 src=r4 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2136 dst=r1 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2137 dst=r1 src=r0 offset=1 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_132; - // EBPF_OP_JA pc=2138 dst=r0 src=r0 offset=-348 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_JA pc=2138 dst=r0 src=r0 offset=-348 imm=0 +#line 281 "sample/undocked/map.c" goto label_113; label_132: // EBPF_OP_LDXW pc=2139 dst=r3 src=r10 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2140 dst=r3 src=r0 offset=20 imm=10 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_133; - // EBPF_OP_LDDW pc=2141 dst=r1 src=r0 offset=0 imm=1735289204 -#line 281 "sample/map.c" + // EBPF_OP_LDDW pc=2141 dst=r1 src=r0 offset=0 imm=1735289204 +#line 281 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2143 dst=r10 src=r1 offset=-32 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2144 dst=r1 src=r0 offset=0 imm=1696621605 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2146 dst=r10 src=r1 offset=-40 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2147 dst=r1 src=r0 offset=0 imm=1952805408 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2149 dst=r10 src=r1 offset=-48 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2150 dst=r1 src=r0 offset=0 imm=1601204080 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2152 dst=r10 src=r1 offset=-56 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2153 dst=r1 src=r0 offset=0 imm=1600548962 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2155 dst=r10 src=r1 offset=-64 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2156 dst=r1 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2157 dst=r1 src=r0 offset=0 imm=-64 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2158 dst=r2 src=r0 offset=0 imm=40 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2159 dst=r4 src=r0 offset=0 imm=10 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2160 dst=r0 src=r0 offset=-850 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_84; label_133: // EBPF_OP_MOV64_IMM pc=2161 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2162 dst=r10 src=r1 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2163 dst=r2 src=r10 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2164 dst=r2 src=r0 offset=0 imm=-4 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2165 dst=r1 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2167 dst=r0 src=r0 offset=0 imm=18 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2168 dst=r6 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2168 dst=r6 src=r0 offset=0 imm=0 +#line 284 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2169 dst=r4 src=r6 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2170 dst=r4 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2171 dst=r1 src=r4 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2172 dst=r1 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2173 dst=r2 src=r0 offset=0 imm=-7 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2175 dst=r1 src=r2 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r1 == r2) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_134; - // EBPF_OP_JA pc=2176 dst=r0 src=r0 offset=-916 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=2176 dst=r0 src=r0 offset=-916 imm=0 +#line 284 "sample/undocked/map.c" goto label_79; label_134: // EBPF_OP_LDXW pc=2177 dst=r3 src=r10 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2178 dst=r3 src=r0 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_135; - // EBPF_OP_JA pc=2179 dst=r0 src=r0 offset=-890 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=2179 dst=r0 src=r0 offset=-890 imm=0 +#line 284 "sample/undocked/map.c" goto label_82; label_135: // EBPF_OP_MOV64_IMM pc=2180 dst=r7 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r7 = IMMEDIATE(0); // EBPF_OP_STXW pc=2181 dst=r10 src=r7 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r7; // EBPF_OP_MOV64_REG pc=2182 dst=r2 src=r10 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2183 dst=r2 src=r0 offset=0 imm=-4 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2184 dst=r1 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = POINTER(_maps[6].address); // EBPF_OP_CALL pc=2186 dst=r0 src=r0 offset=0 imm=17 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2187 dst=r6 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2187 dst=r6 src=r0 offset=0 imm=0 +#line 285 "sample/undocked/map.c" r6 = r0; // EBPF_OP_MOV64_REG pc=2188 dst=r4 src=r6 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 = r6; // EBPF_OP_LSH64_IMM pc=2189 dst=r4 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2190 dst=r1 src=r4 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2191 dst=r1 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2192 dst=r2 src=r0 offset=0 imm=-7 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2194 dst=r1 src=r2 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r1 == r2) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_136; - // EBPF_OP_JA pc=2195 dst=r0 src=r0 offset=-801 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=2195 dst=r0 src=r0 offset=-801 imm=0 +#line 285 "sample/undocked/map.c" goto label_91; label_136: // EBPF_OP_LDXW pc=2196 dst=r3 src=r10 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2197 dst=r3 src=r0 offset=-879 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_86; - // EBPF_OP_JA pc=2198 dst=r0 src=r0 offset=-778 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=2198 dst=r0 src=r0 offset=-778 imm=0 +#line 285 "sample/undocked/map.c" goto label_93; label_137: // EBPF_OP_LDXW pc=2199 dst=r3 src=r10 offset=-4 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2200 dst=r3 src=r0 offset=50 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" goto label_142; label_138: // EBPF_OP_LDDW pc=2201 dst=r1 src=r0 offset=0 imm=1852404835 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=2203 dst=r10 src=r1 offset=-32 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2204 dst=r1 src=r0 offset=0 imm=543434016 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=2206 dst=r10 src=r1 offset=-40 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2207 dst=r1 src=r0 offset=0 imm=1701978221 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=2209 dst=r10 src=r1 offset=-48 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2210 dst=r1 src=r0 offset=0 imm=1801807216 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2212 dst=r10 src=r1 offset=-56 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2213 dst=r1 src=r0 offset=0 imm=1600548962 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2215 dst=r10 src=r1 offset=-64 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=2216 dst=r1 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2217 dst=r10 src=r1 offset=-24 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_MOV64_REG pc=2218 dst=r1 src=r10 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2219 dst=r1 src=r0 offset=0 imm=-64 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2220 dst=r2 src=r0 offset=0 imm=41 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r2 = IMMEDIATE(41); label_139: // EBPF_OP_MOV64_IMM pc=2221 dst=r4 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_140: // EBPF_OP_CALL pc=2222 dst=r0 src=r0 offset=0 imm=14 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" return 0; - // EBPF_OP_LDDW pc=2223 dst=r7 src=r0 offset=0 imm=-1 -#line 240 "sample/map.c" + // EBPF_OP_LDDW pc=2223 dst=r7 src=r0 offset=0 imm=-1 +#line 240 "sample/undocked/map.c" r7 = (uint64_t)4294967295; label_141: // EBPF_OP_MOV64_IMM pc=2225 dst=r6 src=r0 offset=0 imm=0 -#line 240 "sample/map.c" +#line 240 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_MOV64_REG pc=2226 dst=r3 src=r7 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 = r7; // EBPF_OP_LSH64_IMM pc=2227 dst=r3 src=r0 offset=0 imm=32 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 <<= (IMMEDIATE(32) & 63); // EBPF_OP_ARSH64_IMM pc=2228 dst=r3 src=r0 offset=0 imm=32 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r3 = (int64_t)r3 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_JSGT_IMM pc=2229 dst=r3 src=r0 offset=-2128 imm=-1 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" if ((int64_t)r3 > IMMEDIATE(-1)) -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" goto label_9; - // EBPF_OP_LDDW pc=2230 dst=r1 src=r0 offset=0 imm=1684369010 -#line 304 "sample/map.c" + // EBPF_OP_LDDW pc=2230 dst=r1 src=r0 offset=0 imm=1684369010 +#line 304 "sample/undocked/map.c" r1 = (uint64_t)28188318724615794; // EBPF_OP_STXDW pc=2232 dst=r10 src=r1 offset=-32 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2233 dst=r1 src=r0 offset=0 imm=541803329 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)8463501140578485057; // EBPF_OP_STXDW pc=2235 dst=r10 src=r1 offset=-40 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2236 dst=r1 src=r0 offset=0 imm=1634541682 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)6076235989295898738; // EBPF_OP_STXDW pc=2238 dst=r10 src=r1 offset=-48 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2239 dst=r1 src=r0 offset=0 imm=1330667336 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)8027138915134627656; // EBPF_OP_STXDW pc=2241 dst=r10 src=r1 offset=-56 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2242 dst=r1 src=r0 offset=0 imm=1953719636 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = (uint64_t)6004793778491319636; // EBPF_OP_STXDW pc=2244 dst=r10 src=r1 offset=-64 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2245 dst=r1 src=r10 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2246 dst=r1 src=r0 offset=0 imm=-64 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2247 dst=r2 src=r0 offset=0 imm=40 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_CALL pc=2248 dst=r0 src=r0 offset=0 imm=13 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r0 = test_maps_helpers[4].address -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" if ((test_maps_helpers[4].tail_call) && (r0 == 0)) -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2249 dst=r6 src=r7 offset=0 imm=0 -#line 304 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2249 dst=r6 src=r7 offset=0 imm=0 +#line 304 "sample/undocked/map.c" r6 = r7; // EBPF_OP_JA pc=2250 dst=r0 src=r0 offset=-2149 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" goto label_9; label_142: // EBPF_OP_MOV64_IMM pc=2251 dst=r6 src=r0 offset=0 imm=0 -#line 304 "sample/map.c" +#line 304 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2252 dst=r10 src=r6 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2253 dst=r2 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2254 dst=r2 src=r0 offset=0 imm=-4 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2255 dst=r1 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2257 dst=r0 src=r0 offset=0 imm=17 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2258 dst=r7 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2258 dst=r7 src=r0 offset=0 imm=0 +#line 241 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2259 dst=r4 src=r7 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2260 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2261 dst=r1 src=r4 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2262 dst=r1 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2263 dst=r2 src=r0 offset=0 imm=-7 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=2265 dst=r1 src=r2 offset=24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r1 == r2) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_144; label_143: // EBPF_OP_STXB pc=2266 dst=r10 src=r6 offset=-16 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r6; // EBPF_OP_LDDW pc=2267 dst=r1 src=r0 offset=0 imm=1701737077 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=2269 dst=r10 src=r1 offset=-24 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2270 dst=r1 src=r0 offset=0 imm=1680154740 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=2272 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2273 dst=r1 src=r0 offset=0 imm=1914726254 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=2275 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2276 dst=r1 src=r0 offset=0 imm=1886938400 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=2278 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2279 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2281 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2282 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2284 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=2285 dst=r4 src=r0 offset=0 imm=32 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2286 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2287 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2288 dst=r2 src=r0 offset=0 imm=49 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=2289 dst=r0 src=r0 offset=-932 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_88; label_144: // EBPF_OP_LDXW pc=2290 dst=r3 src=r10 offset=-4 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2291 dst=r3 src=r0 offset=19 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_146; label_145: // EBPF_OP_LDDW pc=2292 dst=r1 src=r0 offset=0 imm=1735289204 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2294 dst=r10 src=r1 offset=-32 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2295 dst=r1 src=r0 offset=0 imm=1696621605 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2297 dst=r10 src=r1 offset=-40 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2298 dst=r1 src=r0 offset=0 imm=1952805408 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2300 dst=r10 src=r1 offset=-48 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2301 dst=r1 src=r0 offset=0 imm=1601204080 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2303 dst=r10 src=r1 offset=-56 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2304 dst=r1 src=r0 offset=0 imm=1600548962 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2306 dst=r10 src=r1 offset=-64 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2307 dst=r1 src=r10 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2308 dst=r1 src=r0 offset=0 imm=-64 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2309 dst=r2 src=r0 offset=0 imm=40 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_JA pc=2310 dst=r0 src=r0 offset=-90 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" goto label_139; label_146: // EBPF_OP_MOV64_IMM pc=2311 dst=r6 src=r0 offset=0 imm=0 -#line 241 "sample/map.c" +#line 241 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2312 dst=r10 src=r6 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2313 dst=r2 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2314 dst=r2 src=r0 offset=0 imm=-4 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2315 dst=r1 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2317 dst=r3 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2318 dst=r0 src=r0 offset=0 imm=16 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2319 dst=r7 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2319 dst=r7 src=r0 offset=0 imm=0 +#line 249 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2320 dst=r5 src=r7 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2321 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2322 dst=r1 src=r5 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2323 dst=r1 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2324 dst=r1 src=r0 offset=31 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" goto label_150; label_147: // EBPF_OP_MOV64_IMM pc=2325 dst=r1 src=r0 offset=0 imm=25637 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2326 dst=r10 src=r1 offset=-12 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2327 dst=r1 src=r0 offset=0 imm=543450478 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2328 dst=r10 src=r1 offset=-16 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2329 dst=r1 src=r0 offset=0 imm=1914725413 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2331 dst=r10 src=r1 offset=-24 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2332 dst=r1 src=r0 offset=0 imm=1667592312 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2334 dst=r10 src=r1 offset=-32 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2335 dst=r1 src=r0 offset=0 imm=543649385 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2337 dst=r10 src=r1 offset=-40 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2338 dst=r1 src=r0 offset=0 imm=1852383341 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2340 dst=r10 src=r1 offset=-48 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2341 dst=r1 src=r0 offset=0 imm=1752397168 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2343 dst=r10 src=r1 offset=-56 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2344 dst=r1 src=r0 offset=0 imm=1600548962 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2346 dst=r10 src=r1 offset=-64 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=2347 dst=r10 src=r6 offset=-10 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r6; label_148: // EBPF_OP_LDXW pc=2348 dst=r3 src=r10 offset=-4 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=2349 dst=r5 src=r0 offset=0 imm=32 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2350 dst=r1 src=r10 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2351 dst=r1 src=r0 offset=0 imm=-64 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2352 dst=r2 src=r0 offset=0 imm=55 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=2353 dst=r4 src=r0 offset=0 imm=0 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r4 = IMMEDIATE(0); label_149: // EBPF_OP_CALL pc=2354 dst=r0 src=r0 offset=0 imm=15 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r0 = test_maps_helpers[10].address -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" if ((test_maps_helpers[10].tail_call) && (r0 == 0)) -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=2355 dst=r0 src=r0 offset=-131 imm=0 -#line 249 "sample/map.c" + // EBPF_OP_JA pc=2355 dst=r0 src=r0 offset=-131 imm=0 +#line 249 "sample/undocked/map.c" goto label_141; label_150: // EBPF_OP_MOV64_IMM pc=2356 dst=r1 src=r0 offset=0 imm=1 -#line 249 "sample/map.c" +#line 249 "sample/undocked/map.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=2357 dst=r10 src=r1 offset=-4 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2358 dst=r2 src=r10 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2359 dst=r2 src=r0 offset=0 imm=-4 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2360 dst=r6 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2361 dst=r1 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2363 dst=r3 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2364 dst=r0 src=r0 offset=0 imm=16 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2365 dst=r7 src=r0 offset=0 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2365 dst=r7 src=r0 offset=0 imm=0 +#line 250 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2366 dst=r5 src=r7 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2367 dst=r5 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2368 dst=r1 src=r5 offset=0 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2369 dst=r1 src=r0 offset=0 imm=32 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2370 dst=r1 src=r0 offset=1 imm=0 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" goto label_151; - // EBPF_OP_JA pc=2371 dst=r0 src=r0 offset=-47 imm=0 -#line 250 "sample/map.c" + // EBPF_OP_JA pc=2371 dst=r0 src=r0 offset=-47 imm=0 +#line 250 "sample/undocked/map.c" goto label_147; label_151: // EBPF_OP_MOV64_IMM pc=2372 dst=r1 src=r0 offset=0 imm=2 -#line 250 "sample/map.c" +#line 250 "sample/undocked/map.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=2373 dst=r10 src=r1 offset=-4 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2374 dst=r2 src=r10 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2375 dst=r2 src=r0 offset=0 imm=-4 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2376 dst=r6 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2377 dst=r1 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2379 dst=r3 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2380 dst=r0 src=r0 offset=0 imm=16 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2381 dst=r7 src=r0 offset=0 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2381 dst=r7 src=r0 offset=0 imm=0 +#line 251 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2382 dst=r5 src=r7 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2383 dst=r5 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2384 dst=r1 src=r5 offset=0 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2385 dst=r1 src=r0 offset=0 imm=32 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2386 dst=r1 src=r0 offset=1 imm=0 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" goto label_152; - // EBPF_OP_JA pc=2387 dst=r0 src=r0 offset=-63 imm=0 -#line 251 "sample/map.c" + // EBPF_OP_JA pc=2387 dst=r0 src=r0 offset=-63 imm=0 +#line 251 "sample/undocked/map.c" goto label_147; label_152: // EBPF_OP_MOV64_IMM pc=2388 dst=r1 src=r0 offset=0 imm=3 -#line 251 "sample/map.c" +#line 251 "sample/undocked/map.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=2389 dst=r10 src=r1 offset=-4 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2390 dst=r2 src=r10 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2391 dst=r2 src=r0 offset=0 imm=-4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2392 dst=r6 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2393 dst=r1 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2395 dst=r3 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2396 dst=r0 src=r0 offset=0 imm=16 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2397 dst=r7 src=r0 offset=0 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2397 dst=r7 src=r0 offset=0 imm=0 +#line 252 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2398 dst=r5 src=r7 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2399 dst=r5 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2400 dst=r1 src=r5 offset=0 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2401 dst=r1 src=r0 offset=0 imm=32 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2402 dst=r1 src=r0 offset=1 imm=0 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" goto label_153; - // EBPF_OP_JA pc=2403 dst=r0 src=r0 offset=-79 imm=0 -#line 252 "sample/map.c" + // EBPF_OP_JA pc=2403 dst=r0 src=r0 offset=-79 imm=0 +#line 252 "sample/undocked/map.c" goto label_147; label_153: // EBPF_OP_MOV64_IMM pc=2404 dst=r1 src=r0 offset=0 imm=4 -#line 252 "sample/map.c" +#line 252 "sample/undocked/map.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=2405 dst=r10 src=r1 offset=-4 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2406 dst=r2 src=r10 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2407 dst=r2 src=r0 offset=0 imm=-4 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2408 dst=r6 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2409 dst=r1 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2411 dst=r3 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2412 dst=r0 src=r0 offset=0 imm=16 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2413 dst=r7 src=r0 offset=0 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2413 dst=r7 src=r0 offset=0 imm=0 +#line 253 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2414 dst=r5 src=r7 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2415 dst=r5 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2416 dst=r1 src=r5 offset=0 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2417 dst=r1 src=r0 offset=0 imm=32 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2418 dst=r1 src=r0 offset=1 imm=0 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" goto label_154; - // EBPF_OP_JA pc=2419 dst=r0 src=r0 offset=-95 imm=0 -#line 253 "sample/map.c" + // EBPF_OP_JA pc=2419 dst=r0 src=r0 offset=-95 imm=0 +#line 253 "sample/undocked/map.c" goto label_147; label_154: // EBPF_OP_MOV64_IMM pc=2420 dst=r1 src=r0 offset=0 imm=5 -#line 253 "sample/map.c" +#line 253 "sample/undocked/map.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=2421 dst=r10 src=r1 offset=-4 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2422 dst=r2 src=r10 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2423 dst=r2 src=r0 offset=0 imm=-4 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2424 dst=r6 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2425 dst=r1 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2427 dst=r3 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2428 dst=r0 src=r0 offset=0 imm=16 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2429 dst=r7 src=r0 offset=0 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2429 dst=r7 src=r0 offset=0 imm=0 +#line 254 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2430 dst=r5 src=r7 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2431 dst=r5 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2432 dst=r1 src=r5 offset=0 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2433 dst=r1 src=r0 offset=0 imm=32 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2434 dst=r1 src=r0 offset=1 imm=0 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" goto label_155; - // EBPF_OP_JA pc=2435 dst=r0 src=r0 offset=-111 imm=0 -#line 254 "sample/map.c" + // EBPF_OP_JA pc=2435 dst=r0 src=r0 offset=-111 imm=0 +#line 254 "sample/undocked/map.c" goto label_147; label_155: // EBPF_OP_MOV64_IMM pc=2436 dst=r1 src=r0 offset=0 imm=6 -#line 254 "sample/map.c" +#line 254 "sample/undocked/map.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=2437 dst=r10 src=r1 offset=-4 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2438 dst=r2 src=r10 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2439 dst=r2 src=r0 offset=0 imm=-4 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2440 dst=r6 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2441 dst=r1 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2443 dst=r3 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2444 dst=r0 src=r0 offset=0 imm=16 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2445 dst=r7 src=r0 offset=0 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2445 dst=r7 src=r0 offset=0 imm=0 +#line 255 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2446 dst=r5 src=r7 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2447 dst=r5 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2448 dst=r1 src=r5 offset=0 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2449 dst=r1 src=r0 offset=0 imm=32 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2450 dst=r1 src=r0 offset=1 imm=0 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" goto label_156; - // EBPF_OP_JA pc=2451 dst=r0 src=r0 offset=-127 imm=0 -#line 255 "sample/map.c" + // EBPF_OP_JA pc=2451 dst=r0 src=r0 offset=-127 imm=0 +#line 255 "sample/undocked/map.c" goto label_147; label_156: // EBPF_OP_MOV64_IMM pc=2452 dst=r1 src=r0 offset=0 imm=7 -#line 255 "sample/map.c" +#line 255 "sample/undocked/map.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=2453 dst=r10 src=r1 offset=-4 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2454 dst=r2 src=r10 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2455 dst=r2 src=r0 offset=0 imm=-4 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2456 dst=r6 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2457 dst=r1 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2459 dst=r3 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2460 dst=r0 src=r0 offset=0 imm=16 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2461 dst=r7 src=r0 offset=0 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2461 dst=r7 src=r0 offset=0 imm=0 +#line 256 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2462 dst=r5 src=r7 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2463 dst=r5 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2464 dst=r1 src=r5 offset=0 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2465 dst=r1 src=r0 offset=0 imm=32 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2466 dst=r1 src=r0 offset=1 imm=0 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" goto label_157; - // EBPF_OP_JA pc=2467 dst=r0 src=r0 offset=-143 imm=0 -#line 256 "sample/map.c" + // EBPF_OP_JA pc=2467 dst=r0 src=r0 offset=-143 imm=0 +#line 256 "sample/undocked/map.c" goto label_147; label_157: // EBPF_OP_MOV64_IMM pc=2468 dst=r1 src=r0 offset=0 imm=8 -#line 256 "sample/map.c" +#line 256 "sample/undocked/map.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=2469 dst=r10 src=r1 offset=-4 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2470 dst=r2 src=r10 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2471 dst=r2 src=r0 offset=0 imm=-4 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2472 dst=r6 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2473 dst=r1 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2475 dst=r3 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2476 dst=r0 src=r0 offset=0 imm=16 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2477 dst=r7 src=r0 offset=0 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2477 dst=r7 src=r0 offset=0 imm=0 +#line 257 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2478 dst=r5 src=r7 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2479 dst=r5 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2480 dst=r1 src=r5 offset=0 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2481 dst=r1 src=r0 offset=0 imm=32 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2482 dst=r1 src=r0 offset=1 imm=0 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" goto label_158; - // EBPF_OP_JA pc=2483 dst=r0 src=r0 offset=-159 imm=0 -#line 257 "sample/map.c" + // EBPF_OP_JA pc=2483 dst=r0 src=r0 offset=-159 imm=0 +#line 257 "sample/undocked/map.c" goto label_147; label_158: // EBPF_OP_MOV64_IMM pc=2484 dst=r1 src=r0 offset=0 imm=9 -#line 257 "sample/map.c" +#line 257 "sample/undocked/map.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=2485 dst=r10 src=r1 offset=-4 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2486 dst=r2 src=r10 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2487 dst=r2 src=r0 offset=0 imm=-4 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2488 dst=r6 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2489 dst=r1 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2491 dst=r3 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2492 dst=r0 src=r0 offset=0 imm=16 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2493 dst=r7 src=r0 offset=0 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2493 dst=r7 src=r0 offset=0 imm=0 +#line 258 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2494 dst=r5 src=r7 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2495 dst=r5 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2496 dst=r1 src=r5 offset=0 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2497 dst=r1 src=r0 offset=0 imm=32 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2498 dst=r1 src=r0 offset=1 imm=0 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" goto label_159; - // EBPF_OP_JA pc=2499 dst=r0 src=r0 offset=-175 imm=0 -#line 258 "sample/map.c" + // EBPF_OP_JA pc=2499 dst=r0 src=r0 offset=-175 imm=0 +#line 258 "sample/undocked/map.c" goto label_147; label_159: // EBPF_OP_MOV64_IMM pc=2500 dst=r6 src=r0 offset=0 imm=10 -#line 258 "sample/map.c" +#line 258 "sample/undocked/map.c" r6 = IMMEDIATE(10); // EBPF_OP_STXW pc=2501 dst=r10 src=r6 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2502 dst=r2 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2503 dst=r2 src=r0 offset=0 imm=-4 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_MOV64_IMM pc=2504 dst=r8 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r8 = IMMEDIATE(0); // EBPF_OP_LDDW pc=2505 dst=r1 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2507 dst=r3 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2508 dst=r0 src=r0 offset=0 imm=16 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2509 dst=r7 src=r0 offset=0 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2509 dst=r7 src=r0 offset=0 imm=0 +#line 261 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2510 dst=r5 src=r7 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2511 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2512 dst=r1 src=r5 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2513 dst=r1 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=2514 dst=r2 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = (uint64_t)4294967267; // EBPF_OP_JEQ_REG pc=2516 dst=r1 src=r2 offset=30 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" if (r1 == r2) -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_160; - // EBPF_OP_STXB pc=2517 dst=r10 src=r8 offset=-10 imm=0 -#line 261 "sample/map.c" + // EBPF_OP_STXB pc=2517 dst=r10 src=r8 offset=-10 imm=0 +#line 261 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r8; // EBPF_OP_MOV64_IMM pc=2518 dst=r1 src=r0 offset=0 imm=25637 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2519 dst=r10 src=r1 offset=-12 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2520 dst=r1 src=r0 offset=0 imm=543450478 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2521 dst=r10 src=r1 offset=-16 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2522 dst=r1 src=r0 offset=0 imm=1914725413 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2524 dst=r10 src=r1 offset=-24 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2525 dst=r1 src=r0 offset=0 imm=1667592312 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2527 dst=r10 src=r1 offset=-32 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2528 dst=r1 src=r0 offset=0 imm=543649385 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2530 dst=r10 src=r1 offset=-40 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2531 dst=r1 src=r0 offset=0 imm=1852383341 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2533 dst=r10 src=r1 offset=-48 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2534 dst=r1 src=r0 offset=0 imm=1752397168 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2536 dst=r10 src=r1 offset=-56 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2537 dst=r1 src=r0 offset=0 imm=1600548962 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2539 dst=r10 src=r1 offset=-64 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_LDXW pc=2540 dst=r3 src=r10 offset=-4 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_ARSH64_IMM pc=2541 dst=r5 src=r0 offset=0 imm=32 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r5 = (int64_t)r5 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2542 dst=r1 src=r10 offset=0 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2543 dst=r1 src=r0 offset=0 imm=-64 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2544 dst=r2 src=r0 offset=0 imm=55 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r2 = IMMEDIATE(55); // EBPF_OP_MOV64_IMM pc=2545 dst=r4 src=r0 offset=0 imm=-29 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" r4 = IMMEDIATE(-29); // EBPF_OP_JA pc=2546 dst=r0 src=r0 offset=-193 imm=0 -#line 261 "sample/map.c" +#line 261 "sample/undocked/map.c" goto label_149; label_160: // EBPF_OP_STXW pc=2547 dst=r10 src=r6 offset=-4 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2548 dst=r2 src=r10 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2549 dst=r2 src=r0 offset=0 imm=-4 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2550 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_MOV64_IMM pc=2552 dst=r3 src=r0 offset=0 imm=2 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=2553 dst=r0 src=r0 offset=0 imm=16 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r0 = test_maps_helpers[9].address -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if ((test_maps_helpers[9].tail_call) && (r0 == 0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2554 dst=r7 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2554 dst=r7 src=r0 offset=0 imm=0 +#line 262 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2555 dst=r5 src=r7 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 = r7; // EBPF_OP_LSH64_IMM pc=2556 dst=r5 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r5 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2557 dst=r1 src=r5 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = r5; // EBPF_OP_RSH64_IMM pc=2558 dst=r1 src=r0 offset=0 imm=32 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2559 dst=r1 src=r0 offset=25 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_161; - // EBPF_OP_MOV64_IMM pc=2560 dst=r1 src=r0 offset=0 imm=25637 -#line 262 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2560 dst=r1 src=r0 offset=0 imm=25637 +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(25637); // EBPF_OP_STXH pc=2561 dst=r10 src=r1 offset=-12 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-12)) = (uint16_t)r1; // EBPF_OP_MOV64_IMM pc=2562 dst=r1 src=r0 offset=0 imm=543450478 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(543450478); // EBPF_OP_STXW pc=2563 dst=r10 src=r1 offset=-16 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint32_t)r1; // EBPF_OP_LDDW pc=2564 dst=r1 src=r0 offset=0 imm=1914725413 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8247626271654175781; // EBPF_OP_STXDW pc=2566 dst=r10 src=r1 offset=-24 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2567 dst=r1 src=r0 offset=0 imm=1667592312 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)2334102057442963576; // EBPF_OP_STXDW pc=2569 dst=r10 src=r1 offset=-32 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2570 dst=r1 src=r0 offset=0 imm=543649385 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7286934307705679465; // EBPF_OP_STXDW pc=2572 dst=r10 src=r1 offset=-40 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2573 dst=r1 src=r0 offset=0 imm=1852383341 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)8390880602192683117; // EBPF_OP_STXDW pc=2575 dst=r10 src=r1 offset=-48 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2576 dst=r1 src=r0 offset=0 imm=1752397168 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)7308327755764168048; // EBPF_OP_STXDW pc=2578 dst=r10 src=r1 offset=-56 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2579 dst=r1 src=r0 offset=0 imm=1600548962 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2581 dst=r10 src=r1 offset=-64 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_IMM pc=2582 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2583 dst=r10 src=r1 offset=-10 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-10)) = (uint8_t)r1; // EBPF_OP_JA pc=2584 dst=r0 src=r0 offset=-237 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" goto label_148; label_161: // EBPF_OP_MOV64_IMM pc=2585 dst=r1 src=r0 offset=0 imm=0 -#line 262 "sample/map.c" +#line 262 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2586 dst=r10 src=r1 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=2587 dst=r2 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2588 dst=r2 src=r0 offset=0 imm=-4 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2589 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2591 dst=r0 src=r0 offset=0 imm=18 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2592 dst=r7 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2592 dst=r7 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2593 dst=r4 src=r7 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2594 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2595 dst=r1 src=r4 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2596 dst=r1 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2597 dst=r1 src=r0 offset=27 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_163; - // EBPF_OP_MOV64_IMM pc=2598 dst=r1 src=r0 offset=0 imm=100 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2598 dst=r1 src=r0 offset=0 imm=100 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(100); // EBPF_OP_STXH pc=2599 dst=r10 src=r1 offset=-16 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint16_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint16_t)r1; // EBPF_OP_LDDW pc=2600 dst=r1 src=r0 offset=0 imm=1852994932 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)2675248565465544052; // EBPF_OP_STXDW pc=2602 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2603 dst=r1 src=r0 offset=0 imm=622883948 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309940759667438700; // EBPF_OP_STXDW pc=2605 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2606 dst=r1 src=r0 offset=0 imm=543649385 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8463219665603620457; // EBPF_OP_STXDW pc=2608 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2609 dst=r1 src=r0 offset=0 imm=2019893357 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)8386658464824631405; // EBPF_OP_STXDW pc=2611 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2612 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2614 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2615 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2617 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_ARSH64_IMM pc=2618 dst=r4 src=r0 offset=0 imm=32 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2619 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2620 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2621 dst=r2 src=r0 offset=0 imm=50 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(50); label_162: // EBPF_OP_MOV64_IMM pc=2622 dst=r3 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=2623 dst=r0 src=r0 offset=0 imm=14 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r0 = test_maps_helpers[7].address -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if ((test_maps_helpers[7].tail_call) && (r0 == 0)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" return 0; - // EBPF_OP_JA pc=2624 dst=r0 src=r0 offset=-400 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_JA pc=2624 dst=r0 src=r0 offset=-400 imm=0 +#line 264 "sample/undocked/map.c" goto label_141; label_163: // EBPF_OP_LDXW pc=2625 dst=r3 src=r10 offset=-4 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2626 dst=r3 src=r0 offset=22 imm=10 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_164; - // EBPF_OP_MOV64_IMM pc=2627 dst=r1 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" + // EBPF_OP_MOV64_IMM pc=2627 dst=r1 src=r0 offset=0 imm=0 +#line 264 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXB pc=2628 dst=r10 src=r1 offset=-24 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint8_t)r1; // EBPF_OP_LDDW pc=2629 dst=r1 src=r0 offset=0 imm=1852404835 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7216209606537213027; // EBPF_OP_STXDW pc=2631 dst=r10 src=r1 offset=-32 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2632 dst=r1 src=r0 offset=0 imm=543434016 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7309474570952779040; // EBPF_OP_STXDW pc=2634 dst=r10 src=r1 offset=-40 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2635 dst=r1 src=r0 offset=0 imm=1701978221 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7958552634295722093; // EBPF_OP_STXDW pc=2637 dst=r10 src=r1 offset=-48 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2638 dst=r1 src=r0 offset=0 imm=1801807216 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)7308327755813578096; // EBPF_OP_STXDW pc=2640 dst=r10 src=r1 offset=-56 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2641 dst=r1 src=r0 offset=0 imm=1600548962 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2643 dst=r10 src=r1 offset=-64 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2644 dst=r1 src=r10 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2645 dst=r1 src=r0 offset=0 imm=-64 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2646 dst=r2 src=r0 offset=0 imm=41 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r2 = IMMEDIATE(41); // EBPF_OP_MOV64_IMM pc=2647 dst=r4 src=r0 offset=0 imm=10 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2648 dst=r0 src=r0 offset=-427 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" goto label_140; label_164: // EBPF_OP_MOV64_IMM pc=2649 dst=r6 src=r0 offset=0 imm=0 -#line 264 "sample/map.c" +#line 264 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2650 dst=r10 src=r6 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2651 dst=r2 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2652 dst=r2 src=r0 offset=0 imm=-4 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2653 dst=r1 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2655 dst=r0 src=r0 offset=0 imm=17 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2656 dst=r7 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2656 dst=r7 src=r0 offset=0 imm=0 +#line 272 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2657 dst=r4 src=r7 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2658 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2659 dst=r1 src=r4 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2660 dst=r1 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2661 dst=r1 src=r0 offset=24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_166; label_165: // EBPF_OP_LDDW pc=2662 dst=r1 src=r0 offset=0 imm=1701737077 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7216209593501643381; // EBPF_OP_STXDW pc=2664 dst=r10 src=r1 offset=-24 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2665 dst=r1 src=r0 offset=0 imm=1680154740 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)8387235364492091508; // EBPF_OP_STXDW pc=2667 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2668 dst=r1 src=r0 offset=0 imm=1914726254 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7815279607914981230; // EBPF_OP_STXDW pc=2670 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2671 dst=r1 src=r0 offset=0 imm=1886938400 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7598807758610654496; // EBPF_OP_STXDW pc=2673 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2674 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2676 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2677 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2679 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_STXB pc=2680 dst=r10 src=r6 offset=-16 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint8_t)r6; // EBPF_OP_ARSH64_IMM pc=2681 dst=r4 src=r0 offset=0 imm=32 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = (int64_t)r4 >> (uint32_t)(IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2682 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2683 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2684 dst=r2 src=r0 offset=0 imm=49 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(49); // EBPF_OP_JA pc=2685 dst=r0 src=r0 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_162; label_166: // EBPF_OP_LDXW pc=2686 dst=r3 src=r10 offset=-4 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2687 dst=r3 src=r0 offset=20 imm=10 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" if (r3 == IMMEDIATE(10)) -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_167; - // EBPF_OP_LDDW pc=2688 dst=r1 src=r0 offset=0 imm=1735289204 -#line 272 "sample/map.c" + // EBPF_OP_LDDW pc=2688 dst=r1 src=r0 offset=0 imm=1735289204 +#line 272 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2690 dst=r10 src=r1 offset=-32 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2691 dst=r1 src=r0 offset=0 imm=1696621605 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2693 dst=r10 src=r1 offset=-40 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2694 dst=r1 src=r0 offset=0 imm=1952805408 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2696 dst=r10 src=r1 offset=-48 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2697 dst=r1 src=r0 offset=0 imm=1601204080 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2699 dst=r10 src=r1 offset=-56 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2700 dst=r1 src=r0 offset=0 imm=1600548962 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2702 dst=r10 src=r1 offset=-64 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2703 dst=r1 src=r10 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2704 dst=r1 src=r0 offset=0 imm=-64 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2705 dst=r2 src=r0 offset=0 imm=40 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2706 dst=r4 src=r0 offset=0 imm=10 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r4 = IMMEDIATE(10); // EBPF_OP_JA pc=2707 dst=r0 src=r0 offset=-486 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" goto label_140; label_167: // EBPF_OP_MOV64_IMM pc=2708 dst=r6 src=r0 offset=0 imm=0 -#line 272 "sample/map.c" +#line 272 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2709 dst=r10 src=r6 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2710 dst=r2 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2711 dst=r2 src=r0 offset=0 imm=-4 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2712 dst=r1 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2714 dst=r0 src=r0 offset=0 imm=17 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2715 dst=r7 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2715 dst=r7 src=r0 offset=0 imm=0 +#line 273 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2716 dst=r4 src=r7 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2717 dst=r4 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2718 dst=r1 src=r4 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2719 dst=r1 src=r0 offset=0 imm=32 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2720 dst=r1 src=r0 offset=1 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_168; - // EBPF_OP_JA pc=2721 dst=r0 src=r0 offset=-60 imm=0 -#line 273 "sample/map.c" + // EBPF_OP_JA pc=2721 dst=r0 src=r0 offset=-60 imm=0 +#line 273 "sample/undocked/map.c" goto label_165; label_168: // EBPF_OP_LDXW pc=2722 dst=r3 src=r10 offset=-4 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2723 dst=r3 src=r0 offset=20 imm=9 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" if (r3 == IMMEDIATE(9)) -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_169; - // EBPF_OP_LDDW pc=2724 dst=r1 src=r0 offset=0 imm=1735289204 -#line 273 "sample/map.c" + // EBPF_OP_LDDW pc=2724 dst=r1 src=r0 offset=0 imm=1735289204 +#line 273 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2726 dst=r10 src=r1 offset=-32 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2727 dst=r1 src=r0 offset=0 imm=1696621605 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2729 dst=r10 src=r1 offset=-40 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2730 dst=r1 src=r0 offset=0 imm=1952805408 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2732 dst=r10 src=r1 offset=-48 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2733 dst=r1 src=r0 offset=0 imm=1601204080 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2735 dst=r10 src=r1 offset=-56 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2736 dst=r1 src=r0 offset=0 imm=1600548962 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2738 dst=r10 src=r1 offset=-64 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2739 dst=r1 src=r10 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2740 dst=r1 src=r0 offset=0 imm=-64 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2741 dst=r2 src=r0 offset=0 imm=40 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2742 dst=r4 src=r0 offset=0 imm=9 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r4 = IMMEDIATE(9); // EBPF_OP_JA pc=2743 dst=r0 src=r0 offset=-522 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" goto label_140; label_169: // EBPF_OP_MOV64_IMM pc=2744 dst=r6 src=r0 offset=0 imm=0 -#line 273 "sample/map.c" +#line 273 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2745 dst=r10 src=r6 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2746 dst=r2 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2747 dst=r2 src=r0 offset=0 imm=-4 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2748 dst=r1 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2750 dst=r0 src=r0 offset=0 imm=17 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2751 dst=r7 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2751 dst=r7 src=r0 offset=0 imm=0 +#line 274 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2752 dst=r4 src=r7 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2753 dst=r4 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2754 dst=r1 src=r4 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2755 dst=r1 src=r0 offset=0 imm=32 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2756 dst=r1 src=r0 offset=1 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_170; - // EBPF_OP_JA pc=2757 dst=r0 src=r0 offset=-96 imm=0 -#line 274 "sample/map.c" + // EBPF_OP_JA pc=2757 dst=r0 src=r0 offset=-96 imm=0 +#line 274 "sample/undocked/map.c" goto label_165; label_170: // EBPF_OP_LDXW pc=2758 dst=r3 src=r10 offset=-4 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2759 dst=r3 src=r0 offset=20 imm=8 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" if (r3 == IMMEDIATE(8)) -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_171; - // EBPF_OP_LDDW pc=2760 dst=r1 src=r0 offset=0 imm=1735289204 -#line 274 "sample/map.c" + // EBPF_OP_LDDW pc=2760 dst=r1 src=r0 offset=0 imm=1735289204 +#line 274 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2762 dst=r10 src=r1 offset=-32 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2763 dst=r1 src=r0 offset=0 imm=1696621605 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2765 dst=r10 src=r1 offset=-40 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2766 dst=r1 src=r0 offset=0 imm=1952805408 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2768 dst=r10 src=r1 offset=-48 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2769 dst=r1 src=r0 offset=0 imm=1601204080 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2771 dst=r10 src=r1 offset=-56 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2772 dst=r1 src=r0 offset=0 imm=1600548962 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2774 dst=r10 src=r1 offset=-64 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2775 dst=r1 src=r10 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2776 dst=r1 src=r0 offset=0 imm=-64 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2777 dst=r2 src=r0 offset=0 imm=40 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2778 dst=r4 src=r0 offset=0 imm=8 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r4 = IMMEDIATE(8); // EBPF_OP_JA pc=2779 dst=r0 src=r0 offset=-558 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" goto label_140; label_171: // EBPF_OP_MOV64_IMM pc=2780 dst=r6 src=r0 offset=0 imm=0 -#line 274 "sample/map.c" +#line 274 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2781 dst=r10 src=r6 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2782 dst=r2 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2783 dst=r2 src=r0 offset=0 imm=-4 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2784 dst=r1 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2786 dst=r0 src=r0 offset=0 imm=17 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2787 dst=r7 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2787 dst=r7 src=r0 offset=0 imm=0 +#line 275 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2788 dst=r4 src=r7 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2789 dst=r4 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2790 dst=r1 src=r4 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2791 dst=r1 src=r0 offset=0 imm=32 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2792 dst=r1 src=r0 offset=1 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_172; - // EBPF_OP_JA pc=2793 dst=r0 src=r0 offset=-132 imm=0 -#line 275 "sample/map.c" + // EBPF_OP_JA pc=2793 dst=r0 src=r0 offset=-132 imm=0 +#line 275 "sample/undocked/map.c" goto label_165; label_172: // EBPF_OP_LDXW pc=2794 dst=r3 src=r10 offset=-4 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2795 dst=r3 src=r0 offset=20 imm=7 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" if (r3 == IMMEDIATE(7)) -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_173; - // EBPF_OP_LDDW pc=2796 dst=r1 src=r0 offset=0 imm=1735289204 -#line 275 "sample/map.c" + // EBPF_OP_LDDW pc=2796 dst=r1 src=r0 offset=0 imm=1735289204 +#line 275 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2798 dst=r10 src=r1 offset=-32 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2799 dst=r1 src=r0 offset=0 imm=1696621605 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2801 dst=r10 src=r1 offset=-40 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2802 dst=r1 src=r0 offset=0 imm=1952805408 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2804 dst=r10 src=r1 offset=-48 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2805 dst=r1 src=r0 offset=0 imm=1601204080 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2807 dst=r10 src=r1 offset=-56 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2808 dst=r1 src=r0 offset=0 imm=1600548962 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2810 dst=r10 src=r1 offset=-64 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2811 dst=r1 src=r10 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2812 dst=r1 src=r0 offset=0 imm=-64 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2813 dst=r2 src=r0 offset=0 imm=40 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2814 dst=r4 src=r0 offset=0 imm=7 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r4 = IMMEDIATE(7); // EBPF_OP_JA pc=2815 dst=r0 src=r0 offset=-594 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" goto label_140; label_173: // EBPF_OP_MOV64_IMM pc=2816 dst=r6 src=r0 offset=0 imm=0 -#line 275 "sample/map.c" +#line 275 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2817 dst=r10 src=r6 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2818 dst=r2 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2819 dst=r2 src=r0 offset=0 imm=-4 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2820 dst=r1 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2822 dst=r0 src=r0 offset=0 imm=17 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2823 dst=r7 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2823 dst=r7 src=r0 offset=0 imm=0 +#line 276 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2824 dst=r4 src=r7 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2825 dst=r4 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2826 dst=r1 src=r4 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2827 dst=r1 src=r0 offset=0 imm=32 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2828 dst=r1 src=r0 offset=1 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_174; - // EBPF_OP_JA pc=2829 dst=r0 src=r0 offset=-168 imm=0 -#line 276 "sample/map.c" + // EBPF_OP_JA pc=2829 dst=r0 src=r0 offset=-168 imm=0 +#line 276 "sample/undocked/map.c" goto label_165; label_174: // EBPF_OP_LDXW pc=2830 dst=r3 src=r10 offset=-4 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2831 dst=r3 src=r0 offset=20 imm=6 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" if (r3 == IMMEDIATE(6)) -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_175; - // EBPF_OP_LDDW pc=2832 dst=r1 src=r0 offset=0 imm=1735289204 -#line 276 "sample/map.c" + // EBPF_OP_LDDW pc=2832 dst=r1 src=r0 offset=0 imm=1735289204 +#line 276 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2834 dst=r10 src=r1 offset=-32 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2835 dst=r1 src=r0 offset=0 imm=1696621605 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2837 dst=r10 src=r1 offset=-40 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2838 dst=r1 src=r0 offset=0 imm=1952805408 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2840 dst=r10 src=r1 offset=-48 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2841 dst=r1 src=r0 offset=0 imm=1601204080 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2843 dst=r10 src=r1 offset=-56 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2844 dst=r1 src=r0 offset=0 imm=1600548962 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2846 dst=r10 src=r1 offset=-64 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2847 dst=r1 src=r10 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2848 dst=r1 src=r0 offset=0 imm=-64 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2849 dst=r2 src=r0 offset=0 imm=40 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2850 dst=r4 src=r0 offset=0 imm=6 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r4 = IMMEDIATE(6); // EBPF_OP_JA pc=2851 dst=r0 src=r0 offset=-630 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" goto label_140; label_175: // EBPF_OP_MOV64_IMM pc=2852 dst=r6 src=r0 offset=0 imm=0 -#line 276 "sample/map.c" +#line 276 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2853 dst=r10 src=r6 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2854 dst=r2 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2855 dst=r2 src=r0 offset=0 imm=-4 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2856 dst=r1 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2858 dst=r0 src=r0 offset=0 imm=17 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2859 dst=r7 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2859 dst=r7 src=r0 offset=0 imm=0 +#line 277 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2860 dst=r4 src=r7 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2861 dst=r4 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2862 dst=r1 src=r4 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2863 dst=r1 src=r0 offset=0 imm=32 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2864 dst=r1 src=r0 offset=1 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_176; - // EBPF_OP_JA pc=2865 dst=r0 src=r0 offset=-204 imm=0 -#line 277 "sample/map.c" + // EBPF_OP_JA pc=2865 dst=r0 src=r0 offset=-204 imm=0 +#line 277 "sample/undocked/map.c" goto label_165; label_176: // EBPF_OP_LDXW pc=2866 dst=r3 src=r10 offset=-4 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2867 dst=r3 src=r0 offset=20 imm=5 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" if (r3 == IMMEDIATE(5)) -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_177; - // EBPF_OP_LDDW pc=2868 dst=r1 src=r0 offset=0 imm=1735289204 -#line 277 "sample/map.c" + // EBPF_OP_LDDW pc=2868 dst=r1 src=r0 offset=0 imm=1735289204 +#line 277 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2870 dst=r10 src=r1 offset=-32 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2871 dst=r1 src=r0 offset=0 imm=1696621605 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2873 dst=r10 src=r1 offset=-40 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2874 dst=r1 src=r0 offset=0 imm=1952805408 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2876 dst=r10 src=r1 offset=-48 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2877 dst=r1 src=r0 offset=0 imm=1601204080 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2879 dst=r10 src=r1 offset=-56 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2880 dst=r1 src=r0 offset=0 imm=1600548962 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2882 dst=r10 src=r1 offset=-64 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2883 dst=r1 src=r10 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2884 dst=r1 src=r0 offset=0 imm=-64 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2885 dst=r2 src=r0 offset=0 imm=40 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2886 dst=r4 src=r0 offset=0 imm=5 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r4 = IMMEDIATE(5); // EBPF_OP_JA pc=2887 dst=r0 src=r0 offset=-666 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" goto label_140; label_177: // EBPF_OP_MOV64_IMM pc=2888 dst=r6 src=r0 offset=0 imm=0 -#line 277 "sample/map.c" +#line 277 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2889 dst=r10 src=r6 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2890 dst=r2 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2891 dst=r2 src=r0 offset=0 imm=-4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2892 dst=r1 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2894 dst=r0 src=r0 offset=0 imm=17 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2895 dst=r7 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2895 dst=r7 src=r0 offset=0 imm=0 +#line 278 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2896 dst=r4 src=r7 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2897 dst=r4 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2898 dst=r1 src=r4 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2899 dst=r1 src=r0 offset=0 imm=32 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2900 dst=r1 src=r0 offset=1 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_178; - // EBPF_OP_JA pc=2901 dst=r0 src=r0 offset=-240 imm=0 -#line 278 "sample/map.c" + // EBPF_OP_JA pc=2901 dst=r0 src=r0 offset=-240 imm=0 +#line 278 "sample/undocked/map.c" goto label_165; label_178: // EBPF_OP_LDXW pc=2902 dst=r3 src=r10 offset=-4 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2903 dst=r3 src=r0 offset=20 imm=4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" if (r3 == IMMEDIATE(4)) -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_179; - // EBPF_OP_LDDW pc=2904 dst=r1 src=r0 offset=0 imm=1735289204 -#line 278 "sample/map.c" + // EBPF_OP_LDDW pc=2904 dst=r1 src=r0 offset=0 imm=1735289204 +#line 278 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2906 dst=r10 src=r1 offset=-32 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2907 dst=r1 src=r0 offset=0 imm=1696621605 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2909 dst=r10 src=r1 offset=-40 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2910 dst=r1 src=r0 offset=0 imm=1952805408 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2912 dst=r10 src=r1 offset=-48 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2913 dst=r1 src=r0 offset=0 imm=1601204080 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2915 dst=r10 src=r1 offset=-56 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2916 dst=r1 src=r0 offset=0 imm=1600548962 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2918 dst=r10 src=r1 offset=-64 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2919 dst=r1 src=r10 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2920 dst=r1 src=r0 offset=0 imm=-64 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2921 dst=r2 src=r0 offset=0 imm=40 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2922 dst=r4 src=r0 offset=0 imm=4 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r4 = IMMEDIATE(4); // EBPF_OP_JA pc=2923 dst=r0 src=r0 offset=-702 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" goto label_140; label_179: // EBPF_OP_MOV64_IMM pc=2924 dst=r6 src=r0 offset=0 imm=0 -#line 278 "sample/map.c" +#line 278 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2925 dst=r10 src=r6 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2926 dst=r2 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2927 dst=r2 src=r0 offset=0 imm=-4 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2928 dst=r1 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2930 dst=r0 src=r0 offset=0 imm=17 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2931 dst=r7 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2931 dst=r7 src=r0 offset=0 imm=0 +#line 279 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2932 dst=r4 src=r7 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2933 dst=r4 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2934 dst=r1 src=r4 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2935 dst=r1 src=r0 offset=0 imm=32 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2936 dst=r1 src=r0 offset=1 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_180; - // EBPF_OP_JA pc=2937 dst=r0 src=r0 offset=-276 imm=0 -#line 279 "sample/map.c" + // EBPF_OP_JA pc=2937 dst=r0 src=r0 offset=-276 imm=0 +#line 279 "sample/undocked/map.c" goto label_165; label_180: // EBPF_OP_LDXW pc=2938 dst=r3 src=r10 offset=-4 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2939 dst=r3 src=r0 offset=20 imm=3 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" if (r3 == IMMEDIATE(3)) -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_181; - // EBPF_OP_LDDW pc=2940 dst=r1 src=r0 offset=0 imm=1735289204 -#line 279 "sample/map.c" + // EBPF_OP_LDDW pc=2940 dst=r1 src=r0 offset=0 imm=1735289204 +#line 279 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2942 dst=r10 src=r1 offset=-32 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2943 dst=r1 src=r0 offset=0 imm=1696621605 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2945 dst=r10 src=r1 offset=-40 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2946 dst=r1 src=r0 offset=0 imm=1952805408 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2948 dst=r10 src=r1 offset=-48 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2949 dst=r1 src=r0 offset=0 imm=1601204080 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2951 dst=r10 src=r1 offset=-56 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2952 dst=r1 src=r0 offset=0 imm=1600548962 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2954 dst=r10 src=r1 offset=-64 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2955 dst=r1 src=r10 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2956 dst=r1 src=r0 offset=0 imm=-64 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2957 dst=r2 src=r0 offset=0 imm=40 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2958 dst=r4 src=r0 offset=0 imm=3 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r4 = IMMEDIATE(3); // EBPF_OP_JA pc=2959 dst=r0 src=r0 offset=-738 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" goto label_140; label_181: // EBPF_OP_MOV64_IMM pc=2960 dst=r6 src=r0 offset=0 imm=0 -#line 279 "sample/map.c" +#line 279 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2961 dst=r10 src=r6 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2962 dst=r2 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2963 dst=r2 src=r0 offset=0 imm=-4 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=2964 dst=r1 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=2966 dst=r0 src=r0 offset=0 imm=17 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=2967 dst=r7 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_MOV64_REG pc=2967 dst=r7 src=r0 offset=0 imm=0 +#line 280 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=2968 dst=r4 src=r7 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=2969 dst=r4 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=2970 dst=r1 src=r4 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=2971 dst=r1 src=r0 offset=0 imm=32 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=2972 dst=r1 src=r0 offset=1 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_182; - // EBPF_OP_JA pc=2973 dst=r0 src=r0 offset=-312 imm=0 -#line 280 "sample/map.c" + // EBPF_OP_JA pc=2973 dst=r0 src=r0 offset=-312 imm=0 +#line 280 "sample/undocked/map.c" goto label_165; label_182: // EBPF_OP_LDXW pc=2974 dst=r3 src=r10 offset=-4 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=2975 dst=r3 src=r0 offset=20 imm=2 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" if (r3 == IMMEDIATE(2)) -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_183; - // EBPF_OP_LDDW pc=2976 dst=r1 src=r0 offset=0 imm=1735289204 -#line 280 "sample/map.c" + // EBPF_OP_LDDW pc=2976 dst=r1 src=r0 offset=0 imm=1735289204 +#line 280 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=2978 dst=r10 src=r1 offset=-32 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2979 dst=r1 src=r0 offset=0 imm=1696621605 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=2981 dst=r10 src=r1 offset=-40 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2982 dst=r1 src=r0 offset=0 imm=1952805408 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=2984 dst=r10 src=r1 offset=-48 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2985 dst=r1 src=r0 offset=0 imm=1601204080 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=2987 dst=r10 src=r1 offset=-56 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=2988 dst=r1 src=r0 offset=0 imm=1600548962 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=2990 dst=r10 src=r1 offset=-64 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=2991 dst=r1 src=r10 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=2992 dst=r1 src=r0 offset=0 imm=-64 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=2993 dst=r2 src=r0 offset=0 imm=40 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=2994 dst=r4 src=r0 offset=0 imm=2 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r4 = IMMEDIATE(2); // EBPF_OP_JA pc=2995 dst=r0 src=r0 offset=-774 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" goto label_140; label_183: // EBPF_OP_MOV64_IMM pc=2996 dst=r6 src=r0 offset=0 imm=0 -#line 280 "sample/map.c" +#line 280 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=2997 dst=r10 src=r6 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=2998 dst=r2 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=2999 dst=r2 src=r0 offset=0 imm=-4 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3000 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3002 dst=r0 src=r0 offset=0 imm=17 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3003 dst=r7 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3003 dst=r7 src=r0 offset=0 imm=0 +#line 281 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3004 dst=r4 src=r7 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3005 dst=r4 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3006 dst=r1 src=r4 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3007 dst=r1 src=r0 offset=0 imm=32 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_JEQ_IMM pc=3008 dst=r1 src=r0 offset=1 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r1 == IMMEDIATE(0)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_184; - // EBPF_OP_JA pc=3009 dst=r0 src=r0 offset=-348 imm=0 -#line 281 "sample/map.c" + // EBPF_OP_JA pc=3009 dst=r0 src=r0 offset=-348 imm=0 +#line 281 "sample/undocked/map.c" goto label_165; label_184: // EBPF_OP_LDXW pc=3010 dst=r3 src=r10 offset=-4 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3011 dst=r3 src=r0 offset=20 imm=1 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" if (r3 == IMMEDIATE(1)) -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_185; - // EBPF_OP_LDDW pc=3012 dst=r1 src=r0 offset=0 imm=1735289204 -#line 281 "sample/map.c" + // EBPF_OP_LDDW pc=3012 dst=r1 src=r0 offset=0 imm=1735289204 +#line 281 "sample/undocked/map.c" r1 = (uint64_t)28188318775535988; // EBPF_OP_STXDW pc=3014 dst=r10 src=r1 offset=-32 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3015 dst=r1 src=r0 offset=0 imm=1696621605 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7162254444797649957; // EBPF_OP_STXDW pc=3017 dst=r10 src=r1 offset=-40 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3018 dst=r1 src=r0 offset=0 imm=1952805408 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)2336931105441411616; // EBPF_OP_STXDW pc=3020 dst=r10 src=r1 offset=-48 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3021 dst=r1 src=r0 offset=0 imm=1601204080 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)7882825905430622064; // EBPF_OP_STXDW pc=3023 dst=r10 src=r1 offset=-56 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-56)) = (uint64_t)r1; // EBPF_OP_LDDW pc=3024 dst=r1 src=r0 offset=0 imm=1600548962 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = (uint64_t)6877103753374625890; // EBPF_OP_STXDW pc=3026 dst=r10 src=r1 offset=-64 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-64)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=3027 dst=r1 src=r10 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=3028 dst=r1 src=r0 offset=0 imm=-64 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 += IMMEDIATE(-64); // EBPF_OP_MOV64_IMM pc=3029 dst=r2 src=r0 offset=0 imm=40 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r2 = IMMEDIATE(40); // EBPF_OP_MOV64_IMM pc=3030 dst=r4 src=r0 offset=0 imm=1 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r4 = IMMEDIATE(1); // EBPF_OP_JA pc=3031 dst=r0 src=r0 offset=-810 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" goto label_140; label_185: // EBPF_OP_MOV64_IMM pc=3032 dst=r1 src=r0 offset=0 imm=0 -#line 281 "sample/map.c" +#line 281 "sample/undocked/map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=3033 dst=r10 src=r1 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3034 dst=r2 src=r10 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3035 dst=r2 src=r0 offset=0 imm=-4 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3036 dst=r1 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3038 dst=r0 src=r0 offset=0 imm=18 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r0 = test_maps_helpers[6].address -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if ((test_maps_helpers[6].tail_call) && (r0 == 0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3039 dst=r7 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3039 dst=r7 src=r0 offset=0 imm=0 +#line 284 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3040 dst=r4 src=r7 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3041 dst=r4 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3042 dst=r1 src=r4 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3043 dst=r1 src=r0 offset=0 imm=32 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=3044 dst=r2 src=r0 offset=0 imm=-7 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=3046 dst=r1 src=r2 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r1 == r2) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_186; - // EBPF_OP_JA pc=3047 dst=r0 src=r0 offset=-1714 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=3047 dst=r0 src=r0 offset=-1714 imm=0 +#line 284 "sample/undocked/map.c" goto label_87; label_186: // EBPF_OP_LDXW pc=3048 dst=r3 src=r10 offset=-4 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3049 dst=r3 src=r0 offset=1 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" goto label_187; - // EBPF_OP_JA pc=3050 dst=r0 src=r0 offset=-850 imm=0 -#line 284 "sample/map.c" + // EBPF_OP_JA pc=3050 dst=r0 src=r0 offset=-850 imm=0 +#line 284 "sample/undocked/map.c" goto label_138; label_187: // EBPF_OP_MOV64_IMM pc=3051 dst=r6 src=r0 offset=0 imm=0 -#line 284 "sample/map.c" +#line 284 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_STXW pc=3052 dst=r10 src=r6 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r6; // EBPF_OP_MOV64_REG pc=3053 dst=r2 src=r10 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=3054 dst=r2 src=r0 offset=0 imm=-4 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=3055 dst=r1 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = POINTER(_maps[7].address); // EBPF_OP_CALL pc=3057 dst=r0 src=r0 offset=0 imm=17 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r0 = test_maps_helpers[8].address -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" (r1, r2, r3, r4, r5); -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if ((test_maps_helpers[8].tail_call) && (r0 == 0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" return 0; - // EBPF_OP_MOV64_REG pc=3058 dst=r7 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_MOV64_REG pc=3058 dst=r7 src=r0 offset=0 imm=0 +#line 285 "sample/undocked/map.c" r7 = r0; // EBPF_OP_MOV64_REG pc=3059 dst=r4 src=r7 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 = r7; // EBPF_OP_LSH64_IMM pc=3060 dst=r4 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r4 <<= (IMMEDIATE(32) & 63); // EBPF_OP_MOV64_REG pc=3061 dst=r1 src=r4 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 = r4; // EBPF_OP_RSH64_IMM pc=3062 dst=r1 src=r0 offset=0 imm=32 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r1 >>= (IMMEDIATE(32) & 63); // EBPF_OP_LDDW pc=3063 dst=r2 src=r0 offset=0 imm=-7 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r2 = (uint64_t)4294967289; // EBPF_OP_JEQ_REG pc=3065 dst=r1 src=r2 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r1 == r2) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_188; - // EBPF_OP_JA pc=3066 dst=r0 src=r0 offset=-801 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=3066 dst=r0 src=r0 offset=-801 imm=0 +#line 285 "sample/undocked/map.c" goto label_143; label_188: // EBPF_OP_LDXW pc=3067 dst=r3 src=r10 offset=-4 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r3 = *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)); // EBPF_OP_JEQ_IMM pc=3068 dst=r3 src=r0 offset=1 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" if (r3 == IMMEDIATE(0)) -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_189; - // EBPF_OP_JA pc=3069 dst=r0 src=r0 offset=-778 imm=0 -#line 285 "sample/map.c" + // EBPF_OP_JA pc=3069 dst=r0 src=r0 offset=-778 imm=0 +#line 285 "sample/undocked/map.c" goto label_145; label_189: // EBPF_OP_MOV64_IMM pc=3070 dst=r6 src=r0 offset=0 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" r6 = IMMEDIATE(0); // EBPF_OP_JA pc=3071 dst=r0 src=r0 offset=-2970 imm=0 -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" goto label_9; -#line 285 "sample/map.c" +#line 285 "sample/undocked/map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_bad_dll.c b/tests/bpf2c_tests/expected/tail_call_bad_dll.c index a71974a29d..6edb3cce72 100644 --- a/tests/bpf2c_tests/expected/tail_call_bad_dll.c +++ b/tests/bpf2c_tests/expected/tail_call_bad_dll.c @@ -89,95 +89,95 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" { -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" // Prologue -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r0 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r1 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r2 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r3 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r4 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r5 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r6 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r10 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r1 = (uintptr_t)context; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r2 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r2 offset=-4 imm=0 -#line 35 "sample/tail_call_bad.c" +#line 35 "sample/undocked/tail_call_bad.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r2; // EBPF_OP_LDDW pc=2 dst=r2 src=r0 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=4 dst=r3 src=r0 offset=0 imm=10 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r3 = IMMEDIATE(10); // EBPF_OP_CALL pc=5 dst=r0 src=r0 offset=0 imm=5 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r0 = caller_helpers[0].address -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" (r1, r2, r3, r4, r5); -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" return 0; - // EBPF_OP_MOV64_REG pc=6 dst=r6 src=r0 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" + // EBPF_OP_MOV64_REG pc=6 dst=r6 src=r0 offset=0 imm=0 +#line 39 "sample/undocked/tail_call_bad.c" r6 = r0; // EBPF_OP_MOV64_REG pc=7 dst=r2 src=r10 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=8 dst=r2 src=r0 offset=0 imm=-4 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=9 dst=r1 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=1 -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" r0 = caller_helpers[1].address -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" return 0; - // EBPF_OP_JEQ_IMM pc=12 dst=r0 src=r0 offset=2 imm=0 -#line 42 "sample/tail_call_bad.c" + // EBPF_OP_JEQ_IMM pc=12 dst=r0 src=r0 offset=2 imm=0 +#line 42 "sample/undocked/tail_call_bad.c" if (r0 == IMMEDIATE(0)) -#line 42 "sample/tail_call_bad.c" +#line 42 "sample/undocked/tail_call_bad.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=13 dst=r1 src=r0 offset=0 imm=1 -#line 42 "sample/tail_call_bad.c" + // EBPF_OP_MOV64_IMM pc=13 dst=r1 src=r0 offset=0 imm=1 +#line 42 "sample/undocked/tail_call_bad.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=14 dst=r0 src=r1 offset=0 imm=0 -#line 43 "sample/tail_call_bad.c" +#line 43 "sample/undocked/tail_call_bad.c" *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)) = (uint32_t)r1; label_1: // EBPF_OP_MOV64_REG pc=15 dst=r0 src=r6 offset=0 imm=0 -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" r0 = r6; // EBPF_OP_EXIT pc=16 dst=r0 src=r0 offset=0 imm=0 -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" return r0; -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -187,31 +187,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~2") static uint64_t callee(void* context) -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" { -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" // Prologue -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r0 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r1 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r10 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r1 = (uintptr_t)context; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" return r0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_bad_raw.c b/tests/bpf2c_tests/expected/tail_call_bad_raw.c index 9ba6180a23..6ebe27c263 100644 --- a/tests/bpf2c_tests/expected/tail_call_bad_raw.c +++ b/tests/bpf2c_tests/expected/tail_call_bad_raw.c @@ -63,95 +63,95 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" { -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" // Prologue -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r0 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r1 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r2 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r3 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r4 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r5 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r6 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r10 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r1 = (uintptr_t)context; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r2 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r2 offset=-4 imm=0 -#line 35 "sample/tail_call_bad.c" +#line 35 "sample/undocked/tail_call_bad.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r2; // EBPF_OP_LDDW pc=2 dst=r2 src=r0 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=4 dst=r3 src=r0 offset=0 imm=10 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r3 = IMMEDIATE(10); // EBPF_OP_CALL pc=5 dst=r0 src=r0 offset=0 imm=5 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r0 = caller_helpers[0].address -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" (r1, r2, r3, r4, r5); -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" return 0; - // EBPF_OP_MOV64_REG pc=6 dst=r6 src=r0 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" + // EBPF_OP_MOV64_REG pc=6 dst=r6 src=r0 offset=0 imm=0 +#line 39 "sample/undocked/tail_call_bad.c" r6 = r0; // EBPF_OP_MOV64_REG pc=7 dst=r2 src=r10 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=8 dst=r2 src=r0 offset=0 imm=-4 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=9 dst=r1 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=1 -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" r0 = caller_helpers[1].address -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" return 0; - // EBPF_OP_JEQ_IMM pc=12 dst=r0 src=r0 offset=2 imm=0 -#line 42 "sample/tail_call_bad.c" + // EBPF_OP_JEQ_IMM pc=12 dst=r0 src=r0 offset=2 imm=0 +#line 42 "sample/undocked/tail_call_bad.c" if (r0 == IMMEDIATE(0)) -#line 42 "sample/tail_call_bad.c" +#line 42 "sample/undocked/tail_call_bad.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=13 dst=r1 src=r0 offset=0 imm=1 -#line 42 "sample/tail_call_bad.c" + // EBPF_OP_MOV64_IMM pc=13 dst=r1 src=r0 offset=0 imm=1 +#line 42 "sample/undocked/tail_call_bad.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=14 dst=r0 src=r1 offset=0 imm=0 -#line 43 "sample/tail_call_bad.c" +#line 43 "sample/undocked/tail_call_bad.c" *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)) = (uint32_t)r1; label_1: // EBPF_OP_MOV64_REG pc=15 dst=r0 src=r6 offset=0 imm=0 -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" r0 = r6; // EBPF_OP_EXIT pc=16 dst=r0 src=r0 offset=0 imm=0 -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" return r0; -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -161,31 +161,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~2") static uint64_t callee(void* context) -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" { -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" // Prologue -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r0 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r1 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r10 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r1 = (uintptr_t)context; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" return r0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_bad_sys.c b/tests/bpf2c_tests/expected/tail_call_bad_sys.c index b61836d661..6dab4dfc9b 100644 --- a/tests/bpf2c_tests/expected/tail_call_bad_sys.c +++ b/tests/bpf2c_tests/expected/tail_call_bad_sys.c @@ -224,95 +224,95 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" { -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" // Prologue -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r0 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r1 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r2 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r3 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r4 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r5 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r6 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" register uint64_t r10 = 0; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r1 = (uintptr_t)context; -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call_bad.c" +#line 33 "sample/undocked/tail_call_bad.c" r2 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r2 offset=-4 imm=0 -#line 35 "sample/tail_call_bad.c" +#line 35 "sample/undocked/tail_call_bad.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r2; // EBPF_OP_LDDW pc=2 dst=r2 src=r0 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=4 dst=r3 src=r0 offset=0 imm=10 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r3 = IMMEDIATE(10); // EBPF_OP_CALL pc=5 dst=r0 src=r0 offset=0 imm=5 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r0 = caller_helpers[0].address -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" (r1, r2, r3, r4, r5); -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" return 0; - // EBPF_OP_MOV64_REG pc=6 dst=r6 src=r0 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" + // EBPF_OP_MOV64_REG pc=6 dst=r6 src=r0 offset=0 imm=0 +#line 39 "sample/undocked/tail_call_bad.c" r6 = r0; // EBPF_OP_MOV64_REG pc=7 dst=r2 src=r10 offset=0 imm=0 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=8 dst=r2 src=r0 offset=0 imm=-4 -#line 39 "sample/tail_call_bad.c" +#line 39 "sample/undocked/tail_call_bad.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=9 dst=r1 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=1 -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" r0 = caller_helpers[1].address -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call_bad.c" +#line 41 "sample/undocked/tail_call_bad.c" return 0; - // EBPF_OP_JEQ_IMM pc=12 dst=r0 src=r0 offset=2 imm=0 -#line 42 "sample/tail_call_bad.c" + // EBPF_OP_JEQ_IMM pc=12 dst=r0 src=r0 offset=2 imm=0 +#line 42 "sample/undocked/tail_call_bad.c" if (r0 == IMMEDIATE(0)) -#line 42 "sample/tail_call_bad.c" +#line 42 "sample/undocked/tail_call_bad.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=13 dst=r1 src=r0 offset=0 imm=1 -#line 42 "sample/tail_call_bad.c" + // EBPF_OP_MOV64_IMM pc=13 dst=r1 src=r0 offset=0 imm=1 +#line 42 "sample/undocked/tail_call_bad.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=14 dst=r0 src=r1 offset=0 imm=0 -#line 43 "sample/tail_call_bad.c" +#line 43 "sample/undocked/tail_call_bad.c" *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)) = (uint32_t)r1; label_1: // EBPF_OP_MOV64_REG pc=15 dst=r0 src=r6 offset=0 imm=0 -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" r0 = r6; // EBPF_OP_EXIT pc=16 dst=r0 src=r0 offset=0 imm=0 -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" return r0; -#line 46 "sample/tail_call_bad.c" +#line 46 "sample/undocked/tail_call_bad.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -322,31 +322,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~2") static uint64_t callee(void* context) -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" { -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" // Prologue -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r0 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r1 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" register uint64_t r10 = 0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r1 = (uintptr_t)context; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" return r0; -#line 49 "sample/tail_call_bad.c" +#line 49 "sample/undocked/tail_call_bad.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_dll.c b/tests/bpf2c_tests/expected/tail_call_dll.c index 9fa60cc1a8..fdf687ccf0 100644 --- a/tests/bpf2c_tests/expected/tail_call_dll.c +++ b/tests/bpf2c_tests/expected/tail_call_dll.c @@ -89,90 +89,90 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" { -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" // Prologue -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r0 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r1 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r2 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r3 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r4 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r5 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r10 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r1 = (uintptr_t)context; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r2 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r2 offset=-4 imm=0 -#line 35 "sample/tail_call.c" +#line 35 "sample/undocked/tail_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r2; // EBPF_OP_LDDW pc=2 dst=r2 src=r0 offset=0 imm=0 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=4 dst=r3 src=r0 offset=0 imm=9 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=5 dst=r0 src=r0 offset=0 imm=5 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r0 = caller_helpers[0].address -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" (r1, r2, r3, r4, r5); -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" return 0; - // EBPF_OP_MOV64_REG pc=6 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/tail_call.c" + // EBPF_OP_MOV64_REG pc=6 dst=r2 src=r10 offset=0 imm=0 +#line 38 "sample/undocked/tail_call.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=10 dst=r0 src=r0 offset=0 imm=1 -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" r0 = caller_helpers[1].address -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" return 0; - // EBPF_OP_JEQ_IMM pc=11 dst=r0 src=r0 offset=2 imm=0 -#line 42 "sample/tail_call.c" + // EBPF_OP_JEQ_IMM pc=11 dst=r0 src=r0 offset=2 imm=0 +#line 42 "sample/undocked/tail_call.c" if (r0 == IMMEDIATE(0)) -#line 42 "sample/tail_call.c" +#line 42 "sample/undocked/tail_call.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=12 dst=r1 src=r0 offset=0 imm=1 -#line 42 "sample/tail_call.c" + // EBPF_OP_MOV64_IMM pc=12 dst=r1 src=r0 offset=0 imm=1 +#line 42 "sample/undocked/tail_call.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=13 dst=r0 src=r1 offset=0 imm=0 -#line 43 "sample/tail_call.c" +#line 43 "sample/undocked/tail_call.c" *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)) = (uint32_t)r1; label_1: // EBPF_OP_MOV64_IMM pc=14 dst=r0 src=r0 offset=0 imm=6 -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" r0 = IMMEDIATE(6); // EBPF_OP_EXIT pc=15 dst=r0 src=r0 offset=0 imm=0 -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" return r0; -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -182,31 +182,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~2") static uint64_t callee(void* context) -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" { -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" // Prologue -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r0 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r1 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r10 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r1 = (uintptr_t)context; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" return r0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_map_dll.c b/tests/bpf2c_tests/expected/tail_call_map_dll.c index 044544f6ac..2d10f38857 100644 --- a/tests/bpf2c_tests/expected/tail_call_map_dll.c +++ b/tests/bpf2c_tests/expected/tail_call_map_dll.c @@ -88,86 +88,86 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t caller(void* context) -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" { -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" // Prologue -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r0 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r1 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r2 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r3 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r4 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r5 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r6 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r10 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r1 = (uintptr_t)context; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" r0 = caller_helpers[0].address -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" (r1, r2, r3, r4, r5); -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r1 src=r6 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" + // EBPF_OP_MOV64_REG pc=8 dst=r1 src=r6 offset=0 imm=0 +#line 45 "sample/undocked/tail_call_map.c" r1 = r6; // EBPF_OP_MOV64_REG pc=9 dst=r2 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r2 = r0; // EBPF_OP_MOV64_IMM pc=10 dst=r3 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=5 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r0 = caller_helpers[1].address -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" (r1, r2, r3, r4, r5); -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" return 0; - // EBPF_OP_MOV64_IMM pc=12 dst=r0 src=r0 offset=0 imm=6 -#line 48 "sample/tail_call_map.c" + // EBPF_OP_MOV64_IMM pc=12 dst=r0 src=r0 offset=0 imm=6 +#line 48 "sample/undocked/tail_call_map.c" r0 = IMMEDIATE(6); // EBPF_OP_EXIT pc=13 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/tail_call_map.c" +#line 48 "sample/undocked/tail_call_map.c" return r0; -#line 48 "sample/tail_call_map.c" +#line 48 "sample/undocked/tail_call_map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -177,31 +177,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~1") static uint64_t callee(void* context) -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" { -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" // Prologue -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r0 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r1 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r10 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r1 = (uintptr_t)context; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" return r0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_map_raw.c b/tests/bpf2c_tests/expected/tail_call_map_raw.c index 1aee8ccfcd..5da577fcd3 100644 --- a/tests/bpf2c_tests/expected/tail_call_map_raw.c +++ b/tests/bpf2c_tests/expected/tail_call_map_raw.c @@ -62,86 +62,86 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t caller(void* context) -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" { -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" // Prologue -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r0 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r1 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r2 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r3 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r4 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r5 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r6 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r10 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r1 = (uintptr_t)context; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" r0 = caller_helpers[0].address -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" (r1, r2, r3, r4, r5); -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r1 src=r6 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" + // EBPF_OP_MOV64_REG pc=8 dst=r1 src=r6 offset=0 imm=0 +#line 45 "sample/undocked/tail_call_map.c" r1 = r6; // EBPF_OP_MOV64_REG pc=9 dst=r2 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r2 = r0; // EBPF_OP_MOV64_IMM pc=10 dst=r3 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=5 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r0 = caller_helpers[1].address -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" (r1, r2, r3, r4, r5); -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" return 0; - // EBPF_OP_MOV64_IMM pc=12 dst=r0 src=r0 offset=0 imm=6 -#line 48 "sample/tail_call_map.c" + // EBPF_OP_MOV64_IMM pc=12 dst=r0 src=r0 offset=0 imm=6 +#line 48 "sample/undocked/tail_call_map.c" r0 = IMMEDIATE(6); // EBPF_OP_EXIT pc=13 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/tail_call_map.c" +#line 48 "sample/undocked/tail_call_map.c" return r0; -#line 48 "sample/tail_call_map.c" +#line 48 "sample/undocked/tail_call_map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -151,31 +151,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~1") static uint64_t callee(void* context) -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" { -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" // Prologue -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r0 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r1 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r10 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r1 = (uintptr_t)context; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" return r0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_map_sys.c b/tests/bpf2c_tests/expected/tail_call_map_sys.c index 43f505400e..5d2de04b45 100644 --- a/tests/bpf2c_tests/expected/tail_call_map_sys.c +++ b/tests/bpf2c_tests/expected/tail_call_map_sys.c @@ -223,86 +223,86 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t caller(void* context) -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" { -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" // Prologue -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r0 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r1 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r2 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r3 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r4 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r5 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r6 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" register uint64_t r10 = 0; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r1 = (uintptr_t)context; -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 40 "sample/tail_call_map.c" +#line 40 "sample/undocked/tail_call_map.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 42 "sample/tail_call_map.c" +#line 42 "sample/undocked/tail_call_map.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" r0 = caller_helpers[0].address -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" (r1, r2, r3, r4, r5); -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 43 "sample/tail_call_map.c" +#line 43 "sample/undocked/tail_call_map.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r1 src=r6 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" + // EBPF_OP_MOV64_REG pc=8 dst=r1 src=r6 offset=0 imm=0 +#line 45 "sample/undocked/tail_call_map.c" r1 = r6; // EBPF_OP_MOV64_REG pc=9 dst=r2 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r2 = r0; // EBPF_OP_MOV64_IMM pc=10 dst=r3 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=11 dst=r0 src=r0 offset=0 imm=5 -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" r0 = caller_helpers[1].address -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" (r1, r2, r3, r4, r5); -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 45 "sample/tail_call_map.c" +#line 45 "sample/undocked/tail_call_map.c" return 0; - // EBPF_OP_MOV64_IMM pc=12 dst=r0 src=r0 offset=0 imm=6 -#line 48 "sample/tail_call_map.c" + // EBPF_OP_MOV64_IMM pc=12 dst=r0 src=r0 offset=0 imm=6 +#line 48 "sample/undocked/tail_call_map.c" r0 = IMMEDIATE(6); // EBPF_OP_EXIT pc=13 dst=r0 src=r0 offset=0 imm=0 -#line 48 "sample/tail_call_map.c" +#line 48 "sample/undocked/tail_call_map.c" return r0; -#line 48 "sample/tail_call_map.c" +#line 48 "sample/undocked/tail_call_map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -312,31 +312,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~1") static uint64_t callee(void* context) -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" { -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" // Prologue -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r0 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r1 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" register uint64_t r10 = 0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r1 = (uintptr_t)context; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" return r0; -#line 17 "sample/tail_call_map.c" +#line 17 "sample/undocked/tail_call_map.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_multiple_dll.c b/tests/bpf2c_tests/expected/tail_call_multiple_dll.c index 0ea3fa0944..1e0484ba66 100644 --- a/tests/bpf2c_tests/expected/tail_call_multiple_dll.c +++ b/tests/bpf2c_tests/expected/tail_call_multiple_dll.c @@ -75,54 +75,54 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" { -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" // Prologue -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r2 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r3 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r4 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r5 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=2 dst=r3 src=r0 offset=0 imm=0 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=3 dst=r0 src=r0 offset=0 imm=5 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r0 = caller_helpers[0].address -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" (r1, r2, r3, r4, r5); -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" return 0; - // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=1 -#line 33 "sample/tail_call_multiple.c" + // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=1 +#line 33 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(1); // EBPF_OP_EXIT pc=5 dst=r0 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call_multiple.c" +#line 33 "sample/undocked/tail_call_multiple.c" return r0; -#line 33 "sample/tail_call_multiple.c" +#line 33 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -140,54 +140,54 @@ static uint16_t callee0_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t callee0(void* context) -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" { -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" // Prologue -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r2 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r3 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r4 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r5 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=2 dst=r3 src=r0 offset=0 imm=9 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=3 dst=r0 src=r0 offset=0 imm=5 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r0 = callee0_helpers[0].address -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" if ((callee0_helpers[0].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" return 0; - // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=2 -#line 44 "sample/tail_call_multiple.c" + // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=2 +#line 44 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(2); // EBPF_OP_EXIT pc=5 dst=r0 src=r0 offset=0 imm=0 -#line 44 "sample/tail_call_multiple.c" +#line 44 "sample/undocked/tail_call_multiple.c" return r0; -#line 44 "sample/tail_call_multiple.c" +#line 44 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -197,31 +197,31 @@ static GUID callee1_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~3") static uint64_t callee1(void* context) -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" { -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" // Prologue -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=3 -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(3); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" return r0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_multiple_raw.c b/tests/bpf2c_tests/expected/tail_call_multiple_raw.c index 688f8629c1..39e96efee8 100644 --- a/tests/bpf2c_tests/expected/tail_call_multiple_raw.c +++ b/tests/bpf2c_tests/expected/tail_call_multiple_raw.c @@ -49,54 +49,54 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" { -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" // Prologue -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r2 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r3 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r4 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r5 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=2 dst=r3 src=r0 offset=0 imm=0 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=3 dst=r0 src=r0 offset=0 imm=5 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r0 = caller_helpers[0].address -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" (r1, r2, r3, r4, r5); -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" return 0; - // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=1 -#line 33 "sample/tail_call_multiple.c" + // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=1 +#line 33 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(1); // EBPF_OP_EXIT pc=5 dst=r0 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call_multiple.c" +#line 33 "sample/undocked/tail_call_multiple.c" return r0; -#line 33 "sample/tail_call_multiple.c" +#line 33 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -114,54 +114,54 @@ static uint16_t callee0_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t callee0(void* context) -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" { -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" // Prologue -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r2 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r3 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r4 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r5 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=2 dst=r3 src=r0 offset=0 imm=9 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=3 dst=r0 src=r0 offset=0 imm=5 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r0 = callee0_helpers[0].address -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" if ((callee0_helpers[0].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" return 0; - // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=2 -#line 44 "sample/tail_call_multiple.c" + // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=2 +#line 44 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(2); // EBPF_OP_EXIT pc=5 dst=r0 src=r0 offset=0 imm=0 -#line 44 "sample/tail_call_multiple.c" +#line 44 "sample/undocked/tail_call_multiple.c" return r0; -#line 44 "sample/tail_call_multiple.c" +#line 44 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -171,31 +171,31 @@ static GUID callee1_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~3") static uint64_t callee1(void* context) -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" { -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" // Prologue -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=3 -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(3); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" return r0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_multiple_sys.c b/tests/bpf2c_tests/expected/tail_call_multiple_sys.c index 655c3f5fb0..3072ebb82c 100644 --- a/tests/bpf2c_tests/expected/tail_call_multiple_sys.c +++ b/tests/bpf2c_tests/expected/tail_call_multiple_sys.c @@ -210,54 +210,54 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" { -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" // Prologue -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r2 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r3 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r4 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r5 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=2 dst=r3 src=r0 offset=0 imm=0 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r3 = IMMEDIATE(0); // EBPF_OP_CALL pc=3 dst=r0 src=r0 offset=0 imm=5 -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" r0 = caller_helpers[0].address -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" (r1, r2, r3, r4, r5); -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 30 "sample/tail_call_multiple.c" +#line 30 "sample/undocked/tail_call_multiple.c" return 0; - // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=1 -#line 33 "sample/tail_call_multiple.c" + // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=1 +#line 33 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(1); // EBPF_OP_EXIT pc=5 dst=r0 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call_multiple.c" +#line 33 "sample/undocked/tail_call_multiple.c" return r0; -#line 33 "sample/tail_call_multiple.c" +#line 33 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -275,54 +275,54 @@ static uint16_t callee0_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t callee0(void* context) -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" { -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" // Prologue -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r2 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r3 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r4 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r5 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=2 dst=r3 src=r0 offset=0 imm=9 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=3 dst=r0 src=r0 offset=0 imm=5 -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" r0 = callee0_helpers[0].address -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" if ((callee0_helpers[0].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call_multiple.c" +#line 41 "sample/undocked/tail_call_multiple.c" return 0; - // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=2 -#line 44 "sample/tail_call_multiple.c" + // EBPF_OP_MOV64_IMM pc=4 dst=r0 src=r0 offset=0 imm=2 +#line 44 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(2); // EBPF_OP_EXIT pc=5 dst=r0 src=r0 offset=0 imm=0 -#line 44 "sample/tail_call_multiple.c" +#line 44 "sample/undocked/tail_call_multiple.c" return r0; -#line 44 "sample/tail_call_multiple.c" +#line 44 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -332,31 +332,31 @@ static GUID callee1_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~3") static uint64_t callee1(void* context) -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" { -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" // Prologue -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r0 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r1 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" register uint64_t r10 = 0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r1 = (uintptr_t)context; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=3 -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" r0 = IMMEDIATE(3); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" return r0; -#line 47 "sample/tail_call_multiple.c" +#line 47 "sample/undocked/tail_call_multiple.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_raw.c b/tests/bpf2c_tests/expected/tail_call_raw.c index 39b4e37068..28b7f045fe 100644 --- a/tests/bpf2c_tests/expected/tail_call_raw.c +++ b/tests/bpf2c_tests/expected/tail_call_raw.c @@ -63,90 +63,90 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" { -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" // Prologue -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r0 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r1 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r2 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r3 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r4 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r5 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r10 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r1 = (uintptr_t)context; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r2 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r2 offset=-4 imm=0 -#line 35 "sample/tail_call.c" +#line 35 "sample/undocked/tail_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r2; // EBPF_OP_LDDW pc=2 dst=r2 src=r0 offset=0 imm=0 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=4 dst=r3 src=r0 offset=0 imm=9 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=5 dst=r0 src=r0 offset=0 imm=5 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r0 = caller_helpers[0].address -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" (r1, r2, r3, r4, r5); -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" return 0; - // EBPF_OP_MOV64_REG pc=6 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/tail_call.c" + // EBPF_OP_MOV64_REG pc=6 dst=r2 src=r10 offset=0 imm=0 +#line 38 "sample/undocked/tail_call.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=10 dst=r0 src=r0 offset=0 imm=1 -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" r0 = caller_helpers[1].address -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" return 0; - // EBPF_OP_JEQ_IMM pc=11 dst=r0 src=r0 offset=2 imm=0 -#line 42 "sample/tail_call.c" + // EBPF_OP_JEQ_IMM pc=11 dst=r0 src=r0 offset=2 imm=0 +#line 42 "sample/undocked/tail_call.c" if (r0 == IMMEDIATE(0)) -#line 42 "sample/tail_call.c" +#line 42 "sample/undocked/tail_call.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=12 dst=r1 src=r0 offset=0 imm=1 -#line 42 "sample/tail_call.c" + // EBPF_OP_MOV64_IMM pc=12 dst=r1 src=r0 offset=0 imm=1 +#line 42 "sample/undocked/tail_call.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=13 dst=r0 src=r1 offset=0 imm=0 -#line 43 "sample/tail_call.c" +#line 43 "sample/undocked/tail_call.c" *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)) = (uint32_t)r1; label_1: // EBPF_OP_MOV64_IMM pc=14 dst=r0 src=r0 offset=0 imm=6 -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" r0 = IMMEDIATE(6); // EBPF_OP_EXIT pc=15 dst=r0 src=r0 offset=0 imm=0 -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" return r0; -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -156,31 +156,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~2") static uint64_t callee(void* context) -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" { -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" // Prologue -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r0 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r1 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r10 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r1 = (uintptr_t)context; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" return r0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_recursive_dll.c b/tests/bpf2c_tests/expected/tail_call_recursive_dll.c index b40c2b2bed..adc108af51 100644 --- a/tests/bpf2c_tests/expected/tail_call_recursive_dll.c +++ b/tests/bpf2c_tests/expected/tail_call_recursive_dll.c @@ -90,150 +90,150 @@ static uint16_t recurse_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t recurse(void* context) -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" { -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" // Prologue -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r0 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r1 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r2 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r3 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r4 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r5 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r6 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r7 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r8 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r10 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r1 = (uintptr_t)context; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r8 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r8 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r8 offset=-4 imm=0 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r8; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[0].address -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[0].tail_call) && (r0 == 0)) -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r7 src=r0 offset=0 imm=0 -#line 51 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_REG pc=8 dst=r7 src=r0 offset=0 imm=0 +#line 51 "sample/undocked/tail_call_recursive.c" r7 = r0; // EBPF_OP_JEQ_IMM pc=9 dst=r7 src=r0 offset=22 imm=0 -#line 52 "sample/tail_call_recursive.c" +#line 52 "sample/undocked/tail_call_recursive.c" if (r7 == IMMEDIATE(0)) -#line 52 "sample/tail_call_recursive.c" +#line 52 "sample/undocked/tail_call_recursive.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=10 dst=r1 src=r0 offset=0 imm=680997 -#line 52 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_IMM pc=10 dst=r1 src=r0 offset=0 imm=680997 +#line 52 "sample/undocked/tail_call_recursive.c" r1 = IMMEDIATE(680997); // EBPF_OP_STXW pc=11 dst=r10 src=r1 offset=-8 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r1; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1635133984 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = (uint64_t)4424071317313432096; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=1969448306 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = (uint64_t)4207896362280510834; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDXW pc=18 dst=r3 src=r7 offset=0 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r3 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=19 dst=r1 src=r10 offset=0 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=20 dst=r1 src=r0 offset=0 imm=-24 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 += IMMEDIATE(-24); // EBPF_OP_MOV64_IMM pc=21 dst=r2 src=r0 offset=0 imm=20 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r2 = IMMEDIATE(20); // EBPF_OP_CALL pc=22 dst=r0 src=r0 offset=0 imm=13 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[1].address -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[1].tail_call) && (r0 == 0)) -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_LDXW pc=23 dst=r1 src=r7 offset=0 imm=0 -#line 59 "sample/tail_call_recursive.c" + // EBPF_OP_LDXW pc=23 dst=r1 src=r7 offset=0 imm=0 +#line 59 "sample/undocked/tail_call_recursive.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_ADD64_IMM pc=24 dst=r1 src=r0 offset=0 imm=1 -#line 59 "sample/tail_call_recursive.c" +#line 59 "sample/undocked/tail_call_recursive.c" r1 += IMMEDIATE(1); // EBPF_OP_STXW pc=25 dst=r7 src=r1 offset=0 imm=0 -#line 59 "sample/tail_call_recursive.c" +#line 59 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=26 dst=r1 src=r6 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r1 = r6; // EBPF_OP_LDDW pc=27 dst=r2 src=r0 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=29 dst=r3 src=r0 offset=0 imm=1 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r3 = IMMEDIATE(1); // EBPF_OP_CALL pc=30 dst=r0 src=r0 offset=0 imm=5 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[2].address -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[2].tail_call) && (r0 == 0)) -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_MOV64_REG pc=31 dst=r8 src=r0 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_REG pc=31 dst=r8 src=r0 offset=0 imm=0 +#line 62 "sample/undocked/tail_call_recursive.c" r8 = r0; label_1: // EBPF_OP_MOV64_REG pc=32 dst=r0 src=r8 offset=0 imm=0 -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" r0 = r8; // EBPF_OP_EXIT pc=33 dst=r0 src=r0 offset=0 imm=0 -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" return r0; -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_recursive_raw.c b/tests/bpf2c_tests/expected/tail_call_recursive_raw.c index 1240dfbe41..cdab07c0f2 100644 --- a/tests/bpf2c_tests/expected/tail_call_recursive_raw.c +++ b/tests/bpf2c_tests/expected/tail_call_recursive_raw.c @@ -64,150 +64,150 @@ static uint16_t recurse_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t recurse(void* context) -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" { -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" // Prologue -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r0 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r1 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r2 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r3 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r4 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r5 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r6 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r7 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r8 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r10 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r1 = (uintptr_t)context; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r8 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r8 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r8 offset=-4 imm=0 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r8; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[0].address -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[0].tail_call) && (r0 == 0)) -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r7 src=r0 offset=0 imm=0 -#line 51 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_REG pc=8 dst=r7 src=r0 offset=0 imm=0 +#line 51 "sample/undocked/tail_call_recursive.c" r7 = r0; // EBPF_OP_JEQ_IMM pc=9 dst=r7 src=r0 offset=22 imm=0 -#line 52 "sample/tail_call_recursive.c" +#line 52 "sample/undocked/tail_call_recursive.c" if (r7 == IMMEDIATE(0)) -#line 52 "sample/tail_call_recursive.c" +#line 52 "sample/undocked/tail_call_recursive.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=10 dst=r1 src=r0 offset=0 imm=680997 -#line 52 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_IMM pc=10 dst=r1 src=r0 offset=0 imm=680997 +#line 52 "sample/undocked/tail_call_recursive.c" r1 = IMMEDIATE(680997); // EBPF_OP_STXW pc=11 dst=r10 src=r1 offset=-8 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r1; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1635133984 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = (uint64_t)4424071317313432096; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=1969448306 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = (uint64_t)4207896362280510834; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDXW pc=18 dst=r3 src=r7 offset=0 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r3 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=19 dst=r1 src=r10 offset=0 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=20 dst=r1 src=r0 offset=0 imm=-24 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 += IMMEDIATE(-24); // EBPF_OP_MOV64_IMM pc=21 dst=r2 src=r0 offset=0 imm=20 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r2 = IMMEDIATE(20); // EBPF_OP_CALL pc=22 dst=r0 src=r0 offset=0 imm=13 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[1].address -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[1].tail_call) && (r0 == 0)) -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_LDXW pc=23 dst=r1 src=r7 offset=0 imm=0 -#line 59 "sample/tail_call_recursive.c" + // EBPF_OP_LDXW pc=23 dst=r1 src=r7 offset=0 imm=0 +#line 59 "sample/undocked/tail_call_recursive.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_ADD64_IMM pc=24 dst=r1 src=r0 offset=0 imm=1 -#line 59 "sample/tail_call_recursive.c" +#line 59 "sample/undocked/tail_call_recursive.c" r1 += IMMEDIATE(1); // EBPF_OP_STXW pc=25 dst=r7 src=r1 offset=0 imm=0 -#line 59 "sample/tail_call_recursive.c" +#line 59 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=26 dst=r1 src=r6 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r1 = r6; // EBPF_OP_LDDW pc=27 dst=r2 src=r0 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=29 dst=r3 src=r0 offset=0 imm=1 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r3 = IMMEDIATE(1); // EBPF_OP_CALL pc=30 dst=r0 src=r0 offset=0 imm=5 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[2].address -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[2].tail_call) && (r0 == 0)) -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_MOV64_REG pc=31 dst=r8 src=r0 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_REG pc=31 dst=r8 src=r0 offset=0 imm=0 +#line 62 "sample/undocked/tail_call_recursive.c" r8 = r0; label_1: // EBPF_OP_MOV64_REG pc=32 dst=r0 src=r8 offset=0 imm=0 -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" r0 = r8; // EBPF_OP_EXIT pc=33 dst=r0 src=r0 offset=0 imm=0 -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" return r0; -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_recursive_sys.c b/tests/bpf2c_tests/expected/tail_call_recursive_sys.c index 004b7422ab..e2f84343b7 100644 --- a/tests/bpf2c_tests/expected/tail_call_recursive_sys.c +++ b/tests/bpf2c_tests/expected/tail_call_recursive_sys.c @@ -225,150 +225,150 @@ static uint16_t recurse_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t recurse(void* context) -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" { -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" // Prologue -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r0 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r1 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r2 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r3 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r4 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r5 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r6 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r7 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r8 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" register uint64_t r10 = 0; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r1 = (uintptr_t)context; -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r8 src=r0 offset=0 imm=0 -#line 45 "sample/tail_call_recursive.c" +#line 45 "sample/undocked/tail_call_recursive.c" r8 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r8 offset=-4 imm=0 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r8; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 47 "sample/tail_call_recursive.c" +#line 47 "sample/undocked/tail_call_recursive.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[0].address -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[0].tail_call) && (r0 == 0)) -#line 51 "sample/tail_call_recursive.c" +#line 51 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r7 src=r0 offset=0 imm=0 -#line 51 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_REG pc=8 dst=r7 src=r0 offset=0 imm=0 +#line 51 "sample/undocked/tail_call_recursive.c" r7 = r0; // EBPF_OP_JEQ_IMM pc=9 dst=r7 src=r0 offset=22 imm=0 -#line 52 "sample/tail_call_recursive.c" +#line 52 "sample/undocked/tail_call_recursive.c" if (r7 == IMMEDIATE(0)) -#line 52 "sample/tail_call_recursive.c" +#line 52 "sample/undocked/tail_call_recursive.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=10 dst=r1 src=r0 offset=0 imm=680997 -#line 52 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_IMM pc=10 dst=r1 src=r0 offset=0 imm=680997 +#line 52 "sample/undocked/tail_call_recursive.c" r1 = IMMEDIATE(680997); // EBPF_OP_STXW pc=11 dst=r10 src=r1 offset=-8 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint32_t)r1; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1635133984 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = (uint64_t)4424071317313432096; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=1969448306 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = (uint64_t)4207896362280510834; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDXW pc=18 dst=r3 src=r7 offset=0 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r3 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=19 dst=r1 src=r10 offset=0 imm=0 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=20 dst=r1 src=r0 offset=0 imm=-24 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r1 += IMMEDIATE(-24); // EBPF_OP_MOV64_IMM pc=21 dst=r2 src=r0 offset=0 imm=20 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r2 = IMMEDIATE(20); // EBPF_OP_CALL pc=22 dst=r0 src=r0 offset=0 imm=13 -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[1].address -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[1].tail_call) && (r0 == 0)) -#line 56 "sample/tail_call_recursive.c" +#line 56 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_LDXW pc=23 dst=r1 src=r7 offset=0 imm=0 -#line 59 "sample/tail_call_recursive.c" + // EBPF_OP_LDXW pc=23 dst=r1 src=r7 offset=0 imm=0 +#line 59 "sample/undocked/tail_call_recursive.c" r1 = *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)); // EBPF_OP_ADD64_IMM pc=24 dst=r1 src=r0 offset=0 imm=1 -#line 59 "sample/tail_call_recursive.c" +#line 59 "sample/undocked/tail_call_recursive.c" r1 += IMMEDIATE(1); // EBPF_OP_STXW pc=25 dst=r7 src=r1 offset=0 imm=0 -#line 59 "sample/tail_call_recursive.c" +#line 59 "sample/undocked/tail_call_recursive.c" *(uint32_t*)(uintptr_t)(r7 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=26 dst=r1 src=r6 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r1 = r6; // EBPF_OP_LDDW pc=27 dst=r2 src=r0 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=29 dst=r3 src=r0 offset=0 imm=1 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r3 = IMMEDIATE(1); // EBPF_OP_CALL pc=30 dst=r0 src=r0 offset=0 imm=5 -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" r0 = recurse_helpers[2].address -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" (r1, r2, r3, r4, r5); -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" if ((recurse_helpers[2].tail_call) && (r0 == 0)) -#line 62 "sample/tail_call_recursive.c" +#line 62 "sample/undocked/tail_call_recursive.c" return 0; - // EBPF_OP_MOV64_REG pc=31 dst=r8 src=r0 offset=0 imm=0 -#line 62 "sample/tail_call_recursive.c" + // EBPF_OP_MOV64_REG pc=31 dst=r8 src=r0 offset=0 imm=0 +#line 62 "sample/undocked/tail_call_recursive.c" r8 = r0; label_1: // EBPF_OP_MOV64_REG pc=32 dst=r0 src=r8 offset=0 imm=0 -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" r0 = r8; // EBPF_OP_EXIT pc=33 dst=r0 src=r0 offset=0 imm=0 -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" return r0; -#line 63 "sample/tail_call_recursive.c" +#line 63 "sample/undocked/tail_call_recursive.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_sequential_dll.c b/tests/bpf2c_tests/expected/tail_call_sequential_dll.c index a4dcb55bac..a90eb39cc4 100644 --- a/tests/bpf2c_tests/expected/tail_call_sequential_dll.c +++ b/tests/bpf2c_tests/expected/tail_call_sequential_dll.c @@ -92,158 +92,158 @@ static uint16_t sequential0_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t sequential0(void* context) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" { -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" // Prologue -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[0].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[0].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976252001 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834439265; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[1].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[1].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=1 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(1); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[2].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[2].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return r0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -266,158 +266,158 @@ static uint16_t sequential1_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t sequential1(void* context) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" { -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" // Prologue -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[0].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[0].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976317537 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834504801; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[1].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[1].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(1)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=2 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=2 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=2 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[2].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[2].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return r0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -440,163 +440,163 @@ static uint16_t sequential10_maps[] = { #pragma code_seg(push, "sampl~11") static uint64_t sequential10(void* context) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" { -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" // Prologue -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[0].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[0].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808545377 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786081377; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[1].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[1].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=10 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(10)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=11 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=11 +#line 143 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(11); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=11 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(11); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[2].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[2].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return r0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -619,163 +619,163 @@ static uint16_t sequential11_maps[] = { #pragma code_seg(push, "sampl~12") static uint64_t sequential11(void* context) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" { -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" // Prologue -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[0].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[0].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825322593 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802858593; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[1].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[1].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=11 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(11)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=12 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=12 +#line 144 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(12); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=12 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(12); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[2].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[2].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return r0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -798,163 +798,163 @@ static uint16_t sequential12_maps[] = { #pragma code_seg(push, "sampl~13") static uint64_t sequential12(void* context) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" { -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" // Prologue -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[0].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[0].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842099809 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819635809; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[1].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[1].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=12 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(12)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=13 +#line 145 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(13); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(13); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[2].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[2].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return r0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -977,163 +977,163 @@ static uint16_t sequential13_maps[] = { #pragma code_seg(push, "sampl~14") static uint64_t sequential13(void* context) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" { -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" // Prologue -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[0].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[0].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=858877025 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836413025; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[1].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[1].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=13 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(13)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=14 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=14 +#line 146 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(14); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=14 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(14); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[2].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[2].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return r0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1156,163 +1156,163 @@ static uint16_t sequential14_maps[] = { #pragma code_seg(push, "sampl~15") static uint64_t sequential14(void* context) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" { -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" // Prologue -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[0].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875654241 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853190241; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[1].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[1].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=14 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(14)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=15 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=15 +#line 147 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(15); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=15 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(15); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[2].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[2].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return r0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1335,163 +1335,163 @@ static uint16_t sequential15_maps[] = { #pragma code_seg(push, "sampl~16") static uint64_t sequential15(void* context) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" { -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" // Prologue -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[0].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[0].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=892431457 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479869967457; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[1].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[1].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=15 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(15)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=16 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=16 +#line 148 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(16); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=16 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(16); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[2].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[2].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return r0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1514,163 +1514,163 @@ static uint16_t sequential16_maps[] = { #pragma code_seg(push, "sampl~17") static uint64_t sequential16(void* context) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" { -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" // Prologue -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[0].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[0].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=909208673 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479886744673; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[1].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[1].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=16 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(16)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=17 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=17 +#line 149 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(17); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=17 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(17); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[2].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[2].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return r0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1693,163 +1693,163 @@ static uint16_t sequential17_maps[] = { #pragma code_seg(push, "sampl~18") static uint64_t sequential17(void* context) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" { -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" // Prologue -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[0].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[0].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=925985889 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479903521889; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[1].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[1].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=17 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(17)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=18 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=18 +#line 150 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(18); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=18 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(18); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[2].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[2].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return r0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1872,163 +1872,163 @@ static uint16_t sequential18_maps[] = { #pragma code_seg(push, "sampl~19") static uint64_t sequential18(void* context) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" { -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" // Prologue -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[0].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[0].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=942763105 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479920299105; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[1].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[1].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=18 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(18)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=19 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=19 +#line 151 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(19); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=19 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(19); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[2].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[2].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return r0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2051,163 +2051,163 @@ static uint16_t sequential19_maps[] = { #pragma code_seg(push, "sampl~20") static uint64_t sequential19(void* context) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" { -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" // Prologue -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[0].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[0].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=959540321 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479937076321; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[1].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[1].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=19 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(19)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=20 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=20 +#line 152 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(20); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=20 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(20); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[2].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[2].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return r0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2230,158 +2230,158 @@ static uint16_t sequential2_maps[] = { #pragma code_seg(push, "sample~3") static uint64_t sequential2(void* context) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" { -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" // Prologue -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[0].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976383073 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834570337; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[1].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[1].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=2 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(2)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=3 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=3 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=3 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(3); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[2].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[2].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return r0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2404,163 +2404,163 @@ static uint16_t sequential20_maps[] = { #pragma code_seg(push, "sampl~21") static uint64_t sequential20(void* context) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" { -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" // Prologue -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[0].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808610913 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786146913; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[1].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[1].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=20 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(20)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=21 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=21 +#line 153 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(21); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=21 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(21); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[2].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[2].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return r0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2583,163 +2583,163 @@ static uint16_t sequential21_maps[] = { #pragma code_seg(push, "sampl~22") static uint64_t sequential21(void* context) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" { -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" // Prologue -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[0].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[0].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825388129 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802924129; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[1].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[1].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=21 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(21)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=22 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=22 +#line 154 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(22); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=22 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(22); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[2].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[2].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return r0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2762,163 +2762,163 @@ static uint16_t sequential22_maps[] = { #pragma code_seg(push, "sampl~23") static uint64_t sequential22(void* context) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" { -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" // Prologue -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[0].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[0].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842165345 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819701345; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[1].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[1].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=22 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(22)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=23 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=23 +#line 155 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(23); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=23 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(23); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[2].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[2].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return r0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2941,163 +2941,163 @@ static uint16_t sequential23_maps[] = { #pragma code_seg(push, "sampl~24") static uint64_t sequential23(void* context) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" { -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" // Prologue -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[0].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[0].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=858942561 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836478561; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[1].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[1].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=23 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(23)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=24 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=24 +#line 156 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(24); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=24 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(24); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[2].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[2].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return r0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3120,163 +3120,163 @@ static uint16_t sequential24_maps[] = { #pragma code_seg(push, "sampl~25") static uint64_t sequential24(void* context) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" { -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" // Prologue -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[0].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[0].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875719777 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853255777; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r9 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(25); // EBPF_OP_MOV64_IMM pc=25 dst=r2 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=26 dst=r0 src=r0 offset=0 imm=13 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[1].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[1].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=27 dst=r1 src=r8 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=27 dst=r1 src=r8 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=28 dst=r1 src=r0 offset=7 imm=24 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(24)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXW pc=29 dst=r8 src=r9 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_STXW pc=29 dst=r8 src=r9 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(25); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[2].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[2].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return r0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3299,163 +3299,163 @@ static uint16_t sequential25_maps[] = { #pragma code_seg(push, "sampl~26") static uint64_t sequential25(void* context) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" { -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" // Prologue -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[0].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[0].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=892496993 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479870032993; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[1].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[1].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=25 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(25)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=26 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=26 +#line 158 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(26); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=26 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(26); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[2].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[2].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return r0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3478,163 +3478,163 @@ static uint16_t sequential26_maps[] = { #pragma code_seg(push, "sampl~27") static uint64_t sequential26(void* context) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" { -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" // Prologue -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[0].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=909274209 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479886810209; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[1].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[1].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=26 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(26)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=27 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=27 +#line 159 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(27); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=27 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(27); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[2].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[2].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return r0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3657,163 +3657,163 @@ static uint16_t sequential27_maps[] = { #pragma code_seg(push, "sampl~28") static uint64_t sequential27(void* context) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" { -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" // Prologue -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[0].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[0].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=926051425 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479903587425; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[1].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[1].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=27 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(27)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=28 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=28 +#line 160 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(28); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=28 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(28); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[2].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[2].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return r0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3836,163 +3836,163 @@ static uint16_t sequential28_maps[] = { #pragma code_seg(push, "sampl~29") static uint64_t sequential28(void* context) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" { -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" // Prologue -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[0].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[0].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=942828641 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479920364641; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[1].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[1].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=28 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(28)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=29 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=29 +#line 161 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(29); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=29 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(29); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[2].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[2].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return r0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4015,163 +4015,163 @@ static uint16_t sequential29_maps[] = { #pragma code_seg(push, "sampl~30") static uint64_t sequential29(void* context) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" { -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" // Prologue -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[0].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[0].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=959605857 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479937141857; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[1].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[1].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=29 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(29)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=30 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=30 +#line 162 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(30); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=30 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(30); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[2].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[2].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return r0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4194,158 +4194,158 @@ static uint16_t sequential3_maps[] = { #pragma code_seg(push, "sample~4") static uint64_t sequential3(void* context) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" { -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" // Prologue -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[0].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[0].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976448609 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834635873; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[1].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[1].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=3 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(3)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=4 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=4 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=4 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(4); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[2].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[2].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return r0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4368,163 +4368,163 @@ static uint16_t sequential30_maps[] = { #pragma code_seg(push, "sampl~31") static uint64_t sequential30(void* context) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" { -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" // Prologue -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[0].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[0].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808676449 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786212449; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[1].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[1].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=30 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(30)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=31 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=31 +#line 163 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(31); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=31 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(31); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[2].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[2].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return r0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4547,163 +4547,163 @@ static uint16_t sequential31_maps[] = { #pragma code_seg(push, "sampl~32") static uint64_t sequential31(void* context) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" { -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" // Prologue -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[0].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[0].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825453665 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802989665; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[1].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[1].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=31 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(31)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=32 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=32 +#line 164 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(32); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=32 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(32); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[2].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[2].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return r0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4726,163 +4726,163 @@ static uint16_t sequential32_maps[] = { #pragma code_seg(push, "sampl~33") static uint64_t sequential32(void* context) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" { -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" // Prologue -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[0].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842230881 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819766881; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[1].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[1].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=32 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(32)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=33 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=33 +#line 165 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(33); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=33 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(33); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[2].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[2].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return r0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4905,163 +4905,163 @@ static uint16_t sequential33_maps[] = { #pragma code_seg(push, "sampl~34") static uint64_t sequential33(void* context) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" { -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" // Prologue -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[0].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[0].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=859008097 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836544097; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[1].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[1].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=33 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(33)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=34 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=34 +#line 166 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(34); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=34 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(34); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[2].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[2].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return r0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5084,163 +5084,163 @@ static uint16_t sequential34_maps[] = { #pragma code_seg(push, "sampl~35") static uint64_t sequential34(void* context) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" { -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" // Prologue -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[0].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[0].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875785313 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853321313; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[1].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[1].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=34 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(34)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=35 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=35 +#line 167 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(35); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=35 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(35); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[2].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[2].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return r0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5263,158 +5263,158 @@ static uint16_t sequential4_maps[] = { #pragma code_seg(push, "sample~5") static uint64_t sequential4(void* context) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" { -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" // Prologue -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[0].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[0].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976514145 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834701409; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[1].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[1].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=4 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(4)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=5 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(5); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[2].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[2].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return r0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5437,158 +5437,158 @@ static uint16_t sequential5_maps[] = { #pragma code_seg(push, "sample~6") static uint64_t sequential5(void* context) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" { -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" // Prologue -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[0].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[0].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976579681 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834766945; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[1].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[1].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=5 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(5)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=6 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=6 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=6 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(6); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[2].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[2].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return r0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5611,158 +5611,158 @@ static uint16_t sequential6_maps[] = { #pragma code_seg(push, "sample~7") static uint64_t sequential6(void* context) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" { -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" // Prologue -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[0].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[0].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976645217 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834832481; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[1].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[1].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=6 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(6)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=7 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=7 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=7 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(7); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[2].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[2].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return r0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5785,158 +5785,158 @@ static uint16_t sequential7_maps[] = { #pragma code_seg(push, "sample~8") static uint64_t sequential7(void* context) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" { -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" // Prologue -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[0].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[0].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976710753 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834898017; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[1].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[1].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=7 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(7)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=8 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=8 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=8 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(8); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[2].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[2].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return r0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5959,158 +5959,158 @@ static uint16_t sequential8_maps[] = { #pragma code_seg(push, "sample~9") static uint64_t sequential8(void* context) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" { -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" // Prologue -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[0].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976776289 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834963553; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[1].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[1].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=8 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(8)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=9 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=9 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=9 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[2].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[2].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return r0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -6133,158 +6133,158 @@ static uint16_t sequential9_maps[] = { #pragma code_seg(push, "sampl~10") static uint64_t sequential9(void* context) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" { -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" // Prologue -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[0].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[0].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976841825 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986835029089; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[1].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[1].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=9 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(9)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=10 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=10 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=10 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(10); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[2].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[2].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return r0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_sequential_raw.c b/tests/bpf2c_tests/expected/tail_call_sequential_raw.c index cd931d4b16..475b1d5bff 100644 --- a/tests/bpf2c_tests/expected/tail_call_sequential_raw.c +++ b/tests/bpf2c_tests/expected/tail_call_sequential_raw.c @@ -66,158 +66,158 @@ static uint16_t sequential0_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t sequential0(void* context) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" { -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" // Prologue -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[0].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[0].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976252001 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834439265; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[1].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[1].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=1 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(1); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[2].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[2].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return r0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -240,158 +240,158 @@ static uint16_t sequential1_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t sequential1(void* context) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" { -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" // Prologue -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[0].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[0].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976317537 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834504801; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[1].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[1].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(1)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=2 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=2 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=2 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[2].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[2].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return r0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -414,163 +414,163 @@ static uint16_t sequential10_maps[] = { #pragma code_seg(push, "sampl~11") static uint64_t sequential10(void* context) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" { -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" // Prologue -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[0].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[0].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808545377 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786081377; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[1].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[1].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=10 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(10)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=11 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=11 +#line 143 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(11); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=11 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(11); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[2].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[2].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return r0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -593,163 +593,163 @@ static uint16_t sequential11_maps[] = { #pragma code_seg(push, "sampl~12") static uint64_t sequential11(void* context) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" { -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" // Prologue -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[0].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[0].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825322593 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802858593; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[1].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[1].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=11 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(11)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=12 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=12 +#line 144 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(12); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=12 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(12); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[2].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[2].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return r0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -772,163 +772,163 @@ static uint16_t sequential12_maps[] = { #pragma code_seg(push, "sampl~13") static uint64_t sequential12(void* context) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" { -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" // Prologue -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[0].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[0].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842099809 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819635809; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[1].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[1].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=12 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(12)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=13 +#line 145 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(13); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(13); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[2].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[2].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return r0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -951,163 +951,163 @@ static uint16_t sequential13_maps[] = { #pragma code_seg(push, "sampl~14") static uint64_t sequential13(void* context) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" { -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" // Prologue -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[0].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[0].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=858877025 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836413025; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[1].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[1].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=13 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(13)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=14 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=14 +#line 146 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(14); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=14 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(14); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[2].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[2].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return r0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1130,163 +1130,163 @@ static uint16_t sequential14_maps[] = { #pragma code_seg(push, "sampl~15") static uint64_t sequential14(void* context) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" { -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" // Prologue -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[0].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875654241 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853190241; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[1].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[1].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=14 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(14)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=15 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=15 +#line 147 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(15); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=15 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(15); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[2].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[2].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return r0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1309,163 +1309,163 @@ static uint16_t sequential15_maps[] = { #pragma code_seg(push, "sampl~16") static uint64_t sequential15(void* context) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" { -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" // Prologue -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[0].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[0].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=892431457 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479869967457; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[1].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[1].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=15 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(15)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=16 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=16 +#line 148 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(16); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=16 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(16); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[2].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[2].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return r0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1488,163 +1488,163 @@ static uint16_t sequential16_maps[] = { #pragma code_seg(push, "sampl~17") static uint64_t sequential16(void* context) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" { -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" // Prologue -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[0].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[0].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=909208673 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479886744673; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[1].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[1].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=16 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(16)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=17 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=17 +#line 149 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(17); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=17 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(17); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[2].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[2].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return r0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1667,163 +1667,163 @@ static uint16_t sequential17_maps[] = { #pragma code_seg(push, "sampl~18") static uint64_t sequential17(void* context) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" { -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" // Prologue -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[0].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[0].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=925985889 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479903521889; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[1].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[1].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=17 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(17)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=18 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=18 +#line 150 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(18); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=18 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(18); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[2].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[2].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return r0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1846,163 +1846,163 @@ static uint16_t sequential18_maps[] = { #pragma code_seg(push, "sampl~19") static uint64_t sequential18(void* context) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" { -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" // Prologue -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[0].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[0].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=942763105 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479920299105; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[1].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[1].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=18 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(18)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=19 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=19 +#line 151 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(19); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=19 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(19); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[2].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[2].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return r0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2025,163 +2025,163 @@ static uint16_t sequential19_maps[] = { #pragma code_seg(push, "sampl~20") static uint64_t sequential19(void* context) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" { -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" // Prologue -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[0].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[0].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=959540321 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479937076321; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[1].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[1].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=19 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(19)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=20 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=20 +#line 152 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(20); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=20 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(20); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[2].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[2].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return r0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2204,158 +2204,158 @@ static uint16_t sequential2_maps[] = { #pragma code_seg(push, "sample~3") static uint64_t sequential2(void* context) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" { -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" // Prologue -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[0].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976383073 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834570337; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[1].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[1].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=2 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(2)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=3 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=3 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=3 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(3); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[2].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[2].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return r0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2378,163 +2378,163 @@ static uint16_t sequential20_maps[] = { #pragma code_seg(push, "sampl~21") static uint64_t sequential20(void* context) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" { -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" // Prologue -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[0].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808610913 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786146913; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[1].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[1].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=20 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(20)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=21 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=21 +#line 153 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(21); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=21 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(21); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[2].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[2].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return r0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2557,163 +2557,163 @@ static uint16_t sequential21_maps[] = { #pragma code_seg(push, "sampl~22") static uint64_t sequential21(void* context) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" { -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" // Prologue -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[0].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[0].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825388129 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802924129; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[1].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[1].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=21 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(21)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=22 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=22 +#line 154 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(22); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=22 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(22); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[2].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[2].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return r0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2736,163 +2736,163 @@ static uint16_t sequential22_maps[] = { #pragma code_seg(push, "sampl~23") static uint64_t sequential22(void* context) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" { -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" // Prologue -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[0].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[0].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842165345 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819701345; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[1].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[1].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=22 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(22)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=23 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=23 +#line 155 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(23); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=23 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(23); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[2].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[2].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return r0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2915,163 +2915,163 @@ static uint16_t sequential23_maps[] = { #pragma code_seg(push, "sampl~24") static uint64_t sequential23(void* context) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" { -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" // Prologue -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[0].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[0].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=858942561 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836478561; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[1].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[1].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=23 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(23)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=24 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=24 +#line 156 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(24); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=24 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(24); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[2].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[2].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return r0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3094,163 +3094,163 @@ static uint16_t sequential24_maps[] = { #pragma code_seg(push, "sampl~25") static uint64_t sequential24(void* context) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" { -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" // Prologue -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[0].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[0].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875719777 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853255777; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r9 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(25); // EBPF_OP_MOV64_IMM pc=25 dst=r2 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=26 dst=r0 src=r0 offset=0 imm=13 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[1].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[1].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=27 dst=r1 src=r8 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=27 dst=r1 src=r8 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=28 dst=r1 src=r0 offset=7 imm=24 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(24)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXW pc=29 dst=r8 src=r9 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_STXW pc=29 dst=r8 src=r9 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(25); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[2].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[2].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return r0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3273,163 +3273,163 @@ static uint16_t sequential25_maps[] = { #pragma code_seg(push, "sampl~26") static uint64_t sequential25(void* context) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" { -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" // Prologue -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[0].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[0].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=892496993 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479870032993; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[1].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[1].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=25 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(25)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=26 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=26 +#line 158 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(26); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=26 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(26); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[2].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[2].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return r0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3452,163 +3452,163 @@ static uint16_t sequential26_maps[] = { #pragma code_seg(push, "sampl~27") static uint64_t sequential26(void* context) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" { -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" // Prologue -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[0].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=909274209 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479886810209; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[1].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[1].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=26 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(26)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=27 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=27 +#line 159 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(27); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=27 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(27); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[2].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[2].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return r0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3631,163 +3631,163 @@ static uint16_t sequential27_maps[] = { #pragma code_seg(push, "sampl~28") static uint64_t sequential27(void* context) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" { -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" // Prologue -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[0].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[0].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=926051425 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479903587425; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[1].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[1].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=27 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(27)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=28 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=28 +#line 160 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(28); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=28 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(28); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[2].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[2].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return r0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3810,163 +3810,163 @@ static uint16_t sequential28_maps[] = { #pragma code_seg(push, "sampl~29") static uint64_t sequential28(void* context) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" { -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" // Prologue -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[0].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[0].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=942828641 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479920364641; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[1].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[1].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=28 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(28)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=29 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=29 +#line 161 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(29); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=29 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(29); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[2].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[2].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return r0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3989,163 +3989,163 @@ static uint16_t sequential29_maps[] = { #pragma code_seg(push, "sampl~30") static uint64_t sequential29(void* context) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" { -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" // Prologue -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[0].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[0].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=959605857 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479937141857; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[1].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[1].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=29 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(29)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=30 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=30 +#line 162 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(30); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=30 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(30); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[2].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[2].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return r0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4168,158 +4168,158 @@ static uint16_t sequential3_maps[] = { #pragma code_seg(push, "sample~4") static uint64_t sequential3(void* context) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" { -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" // Prologue -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[0].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[0].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976448609 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834635873; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[1].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[1].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=3 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(3)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=4 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=4 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=4 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(4); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[2].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[2].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return r0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4342,163 +4342,163 @@ static uint16_t sequential30_maps[] = { #pragma code_seg(push, "sampl~31") static uint64_t sequential30(void* context) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" { -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" // Prologue -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[0].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[0].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808676449 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786212449; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[1].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[1].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=30 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(30)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=31 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=31 +#line 163 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(31); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=31 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(31); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[2].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[2].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return r0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4521,163 +4521,163 @@ static uint16_t sequential31_maps[] = { #pragma code_seg(push, "sampl~32") static uint64_t sequential31(void* context) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" { -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" // Prologue -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[0].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[0].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825453665 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802989665; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[1].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[1].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=31 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(31)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=32 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=32 +#line 164 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(32); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=32 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(32); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[2].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[2].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return r0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4700,163 +4700,163 @@ static uint16_t sequential32_maps[] = { #pragma code_seg(push, "sampl~33") static uint64_t sequential32(void* context) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" { -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" // Prologue -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[0].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842230881 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819766881; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[1].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[1].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=32 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(32)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=33 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=33 +#line 165 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(33); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=33 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(33); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[2].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[2].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return r0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4879,163 +4879,163 @@ static uint16_t sequential33_maps[] = { #pragma code_seg(push, "sampl~34") static uint64_t sequential33(void* context) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" { -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" // Prologue -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[0].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[0].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=859008097 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836544097; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[1].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[1].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=33 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(33)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=34 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=34 +#line 166 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(34); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=34 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(34); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[2].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[2].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return r0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5058,163 +5058,163 @@ static uint16_t sequential34_maps[] = { #pragma code_seg(push, "sampl~35") static uint64_t sequential34(void* context) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" { -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" // Prologue -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[0].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[0].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875785313 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853321313; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[1].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[1].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=34 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(34)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=35 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=35 +#line 167 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(35); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=35 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(35); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[2].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[2].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return r0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5237,158 +5237,158 @@ static uint16_t sequential4_maps[] = { #pragma code_seg(push, "sample~5") static uint64_t sequential4(void* context) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" { -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" // Prologue -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[0].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[0].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976514145 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834701409; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[1].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[1].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=4 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(4)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=5 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(5); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[2].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[2].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return r0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5411,158 +5411,158 @@ static uint16_t sequential5_maps[] = { #pragma code_seg(push, "sample~6") static uint64_t sequential5(void* context) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" { -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" // Prologue -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[0].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[0].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976579681 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834766945; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[1].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[1].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=5 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(5)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=6 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=6 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=6 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(6); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[2].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[2].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return r0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5585,158 +5585,158 @@ static uint16_t sequential6_maps[] = { #pragma code_seg(push, "sample~7") static uint64_t sequential6(void* context) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" { -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" // Prologue -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[0].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[0].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976645217 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834832481; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[1].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[1].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=6 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(6)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=7 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=7 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=7 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(7); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[2].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[2].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return r0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5759,158 +5759,158 @@ static uint16_t sequential7_maps[] = { #pragma code_seg(push, "sample~8") static uint64_t sequential7(void* context) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" { -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" // Prologue -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[0].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[0].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976710753 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834898017; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[1].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[1].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=7 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(7)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=8 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=8 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=8 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(8); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[2].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[2].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return r0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5933,158 +5933,158 @@ static uint16_t sequential8_maps[] = { #pragma code_seg(push, "sample~9") static uint64_t sequential8(void* context) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" { -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" // Prologue -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[0].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976776289 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834963553; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[1].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[1].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=8 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(8)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=9 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=9 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=9 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[2].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[2].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return r0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -6107,158 +6107,158 @@ static uint16_t sequential9_maps[] = { #pragma code_seg(push, "sampl~10") static uint64_t sequential9(void* context) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" { -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" // Prologue -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[0].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[0].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976841825 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986835029089; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[1].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[1].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=9 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(9)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=10 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=10 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=10 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(10); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[2].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[2].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return r0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_sequential_sys.c b/tests/bpf2c_tests/expected/tail_call_sequential_sys.c index 2b11b9dba5..1f8e39c1b5 100644 --- a/tests/bpf2c_tests/expected/tail_call_sequential_sys.c +++ b/tests/bpf2c_tests/expected/tail_call_sequential_sys.c @@ -227,158 +227,158 @@ static uint16_t sequential0_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t sequential0(void* context) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" { -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" // Prologue -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[0].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[0].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976252001 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834439265; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[1].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[1].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=1 +#line 133 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=1 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(1); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = sequential0_helpers[2].address -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" if ((sequential0_helpers[2].tail_call) && (r0 == 0)) -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 133 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" return r0; -#line 133 "sample/tail_call_sequential.c" +#line 133 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -401,158 +401,158 @@ static uint16_t sequential1_maps[] = { #pragma code_seg(push, "sample~2") static uint64_t sequential1(void* context) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" { -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" // Prologue -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[0].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[0].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976317537 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834504801; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[1].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[1].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=1 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(1)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=2 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=2 +#line 134 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(2); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=2 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(2); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = sequential1_helpers[2].address -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" if ((sequential1_helpers[2].tail_call) && (r0 == 0)) -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 134 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" return r0; -#line 134 "sample/tail_call_sequential.c" +#line 134 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -575,163 +575,163 @@ static uint16_t sequential10_maps[] = { #pragma code_seg(push, "sampl~11") static uint64_t sequential10(void* context) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" { -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" // Prologue -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[0].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[0].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808545377 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786081377; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[1].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[1].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=10 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(10)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=11 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=11 +#line 143 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(11); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=11 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(11); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = sequential10_helpers[2].address -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" if ((sequential10_helpers[2].tail_call) && (r0 == 0)) -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 143 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" return r0; -#line 143 "sample/tail_call_sequential.c" +#line 143 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -754,163 +754,163 @@ static uint16_t sequential11_maps[] = { #pragma code_seg(push, "sampl~12") static uint64_t sequential11(void* context) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" { -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" // Prologue -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[0].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[0].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825322593 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802858593; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[1].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[1].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=11 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(11)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=12 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=12 +#line 144 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(12); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=12 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(12); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = sequential11_helpers[2].address -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" if ((sequential11_helpers[2].tail_call) && (r0 == 0)) -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 144 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" return r0; -#line 144 "sample/tail_call_sequential.c" +#line 144 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -933,163 +933,163 @@ static uint16_t sequential12_maps[] = { #pragma code_seg(push, "sampl~13") static uint64_t sequential12(void* context) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" { -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" // Prologue -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[0].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[0].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842099809 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819635809; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[1].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[1].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=12 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(12)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=13 +#line 145 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(13); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=13 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(13); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = sequential12_helpers[2].address -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" if ((sequential12_helpers[2].tail_call) && (r0 == 0)) -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 145 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" return r0; -#line 145 "sample/tail_call_sequential.c" +#line 145 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1112,163 +1112,163 @@ static uint16_t sequential13_maps[] = { #pragma code_seg(push, "sampl~14") static uint64_t sequential13(void* context) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" { -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" // Prologue -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[0].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[0].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=858877025 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836413025; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[1].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[1].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=13 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(13)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=14 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=14 +#line 146 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(14); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=14 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(14); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = sequential13_helpers[2].address -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" if ((sequential13_helpers[2].tail_call) && (r0 == 0)) -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 146 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" return r0; -#line 146 "sample/tail_call_sequential.c" +#line 146 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1291,163 +1291,163 @@ static uint16_t sequential14_maps[] = { #pragma code_seg(push, "sampl~15") static uint64_t sequential14(void* context) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" { -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" // Prologue -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[0].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[0].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875654241 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853190241; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[1].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[1].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=14 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(14)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=15 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=15 +#line 147 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(15); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=15 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(15); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = sequential14_helpers[2].address -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" if ((sequential14_helpers[2].tail_call) && (r0 == 0)) -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 147 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" return r0; -#line 147 "sample/tail_call_sequential.c" +#line 147 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1470,163 +1470,163 @@ static uint16_t sequential15_maps[] = { #pragma code_seg(push, "sampl~16") static uint64_t sequential15(void* context) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" { -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" // Prologue -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[0].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[0].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=892431457 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479869967457; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[1].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[1].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=15 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(15)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=16 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=16 +#line 148 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(16); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=16 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(16); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = sequential15_helpers[2].address -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" if ((sequential15_helpers[2].tail_call) && (r0 == 0)) -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 148 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" return r0; -#line 148 "sample/tail_call_sequential.c" +#line 148 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1649,163 +1649,163 @@ static uint16_t sequential16_maps[] = { #pragma code_seg(push, "sampl~17") static uint64_t sequential16(void* context) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" { -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" // Prologue -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[0].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[0].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=909208673 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479886744673; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[1].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[1].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=16 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(16)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=17 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=17 +#line 149 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(17); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=17 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(17); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = sequential16_helpers[2].address -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" if ((sequential16_helpers[2].tail_call) && (r0 == 0)) -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 149 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" return r0; -#line 149 "sample/tail_call_sequential.c" +#line 149 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -1828,163 +1828,163 @@ static uint16_t sequential17_maps[] = { #pragma code_seg(push, "sampl~18") static uint64_t sequential17(void* context) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" { -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" // Prologue -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[0].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[0].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=925985889 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479903521889; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[1].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[1].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=17 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(17)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=18 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=18 +#line 150 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(18); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=18 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(18); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = sequential17_helpers[2].address -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" if ((sequential17_helpers[2].tail_call) && (r0 == 0)) -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 150 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" return r0; -#line 150 "sample/tail_call_sequential.c" +#line 150 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2007,163 +2007,163 @@ static uint16_t sequential18_maps[] = { #pragma code_seg(push, "sampl~19") static uint64_t sequential18(void* context) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" { -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" // Prologue -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[0].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[0].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=942763105 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479920299105; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[1].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[1].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=18 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(18)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=19 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=19 +#line 151 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(19); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=19 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(19); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = sequential18_helpers[2].address -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" if ((sequential18_helpers[2].tail_call) && (r0 == 0)) -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 151 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" return r0; -#line 151 "sample/tail_call_sequential.c" +#line 151 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2186,163 +2186,163 @@ static uint16_t sequential19_maps[] = { #pragma code_seg(push, "sampl~20") static uint64_t sequential19(void* context) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" { -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" // Prologue -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[0].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[0].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=959540321 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479937076321; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[1].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[1].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=19 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(19)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=20 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=20 +#line 152 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(20); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=20 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(20); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = sequential19_helpers[2].address -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" if ((sequential19_helpers[2].tail_call) && (r0 == 0)) -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 152 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" return r0; -#line 152 "sample/tail_call_sequential.c" +#line 152 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2365,158 +2365,158 @@ static uint16_t sequential2_maps[] = { #pragma code_seg(push, "sample~3") static uint64_t sequential2(void* context) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" { -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" // Prologue -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[0].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[0].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976383073 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834570337; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[1].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[1].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=2 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(2)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=3 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=3 +#line 135 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(3); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=3 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(3); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = sequential2_helpers[2].address -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" if ((sequential2_helpers[2].tail_call) && (r0 == 0)) -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 135 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" return r0; -#line 135 "sample/tail_call_sequential.c" +#line 135 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2539,163 +2539,163 @@ static uint16_t sequential20_maps[] = { #pragma code_seg(push, "sampl~21") static uint64_t sequential20(void* context) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" { -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" // Prologue -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[0].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[0].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808610913 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786146913; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[1].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[1].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=20 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(20)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=21 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=21 +#line 153 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(21); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=21 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(21); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = sequential20_helpers[2].address -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" if ((sequential20_helpers[2].tail_call) && (r0 == 0)) -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 153 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" return r0; -#line 153 "sample/tail_call_sequential.c" +#line 153 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2718,163 +2718,163 @@ static uint16_t sequential21_maps[] = { #pragma code_seg(push, "sampl~22") static uint64_t sequential21(void* context) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" { -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" // Prologue -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[0].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[0].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825388129 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802924129; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[1].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[1].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=21 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(21)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=22 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=22 +#line 154 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(22); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=22 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(22); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = sequential21_helpers[2].address -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" if ((sequential21_helpers[2].tail_call) && (r0 == 0)) -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 154 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" return r0; -#line 154 "sample/tail_call_sequential.c" +#line 154 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -2897,163 +2897,163 @@ static uint16_t sequential22_maps[] = { #pragma code_seg(push, "sampl~23") static uint64_t sequential22(void* context) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" { -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" // Prologue -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[0].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[0].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842165345 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819701345; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[1].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[1].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=22 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(22)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=23 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=23 +#line 155 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(23); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=23 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(23); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = sequential22_helpers[2].address -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" if ((sequential22_helpers[2].tail_call) && (r0 == 0)) -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 155 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" return r0; -#line 155 "sample/tail_call_sequential.c" +#line 155 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3076,163 +3076,163 @@ static uint16_t sequential23_maps[] = { #pragma code_seg(push, "sampl~24") static uint64_t sequential23(void* context) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" { -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" // Prologue -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[0].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[0].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=858942561 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836478561; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[1].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[1].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=23 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(23)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=24 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=24 +#line 156 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(24); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=24 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(24); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = sequential23_helpers[2].address -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" if ((sequential23_helpers[2].tail_call) && (r0 == 0)) -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 156 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" return r0; -#line 156 "sample/tail_call_sequential.c" +#line 156 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3255,163 +3255,163 @@ static uint16_t sequential24_maps[] = { #pragma code_seg(push, "sampl~25") static uint64_t sequential24(void* context) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" { -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" // Prologue -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[0].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[0].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875719777 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853255777; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r9 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(25); // EBPF_OP_MOV64_IMM pc=25 dst=r2 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=26 dst=r0 src=r0 offset=0 imm=13 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[1].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[1].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=27 dst=r1 src=r8 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=27 dst=r1 src=r8 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=28 dst=r1 src=r0 offset=7 imm=24 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(24)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXW pc=29 dst=r8 src=r9 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_STXW pc=29 dst=r8 src=r9 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=25 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(25); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = sequential24_helpers[2].address -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" if ((sequential24_helpers[2].tail_call) && (r0 == 0)) -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 157 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" return r0; -#line 157 "sample/tail_call_sequential.c" +#line 157 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3434,163 +3434,163 @@ static uint16_t sequential25_maps[] = { #pragma code_seg(push, "sampl~26") static uint64_t sequential25(void* context) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" { -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" // Prologue -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[0].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[0].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=892496993 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479870032993; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[1].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[1].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=25 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(25)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=26 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=26 +#line 158 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(26); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=26 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(26); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = sequential25_helpers[2].address -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" if ((sequential25_helpers[2].tail_call) && (r0 == 0)) -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 158 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" return r0; -#line 158 "sample/tail_call_sequential.c" +#line 158 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3613,163 +3613,163 @@ static uint16_t sequential26_maps[] = { #pragma code_seg(push, "sampl~27") static uint64_t sequential26(void* context) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" { -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" // Prologue -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[0].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[0].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=909274209 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479886810209; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[1].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[1].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=26 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(26)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=27 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=27 +#line 159 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(27); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=27 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(27); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = sequential26_helpers[2].address -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" if ((sequential26_helpers[2].tail_call) && (r0 == 0)) -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 159 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" return r0; -#line 159 "sample/tail_call_sequential.c" +#line 159 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3792,163 +3792,163 @@ static uint16_t sequential27_maps[] = { #pragma code_seg(push, "sampl~28") static uint64_t sequential27(void* context) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" { -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" // Prologue -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[0].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[0].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=926051425 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479903587425; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[1].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[1].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=27 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(27)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=28 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=28 +#line 160 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(28); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=28 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(28); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = sequential27_helpers[2].address -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" if ((sequential27_helpers[2].tail_call) && (r0 == 0)) -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 160 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" return r0; -#line 160 "sample/tail_call_sequential.c" +#line 160 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -3971,163 +3971,163 @@ static uint16_t sequential28_maps[] = { #pragma code_seg(push, "sampl~29") static uint64_t sequential28(void* context) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" { -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" // Prologue -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[0].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[0].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=942828641 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479920364641; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[1].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[1].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=28 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(28)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=29 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=29 +#line 161 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(29); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=29 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(29); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = sequential28_helpers[2].address -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" if ((sequential28_helpers[2].tail_call) && (r0 == 0)) -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 161 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" return r0; -#line 161 "sample/tail_call_sequential.c" +#line 161 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4150,163 +4150,163 @@ static uint16_t sequential29_maps[] = { #pragma code_seg(push, "sampl~30") static uint64_t sequential29(void* context) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" { -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" // Prologue -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[0].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[0].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=959605857 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479937141857; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[1].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[1].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=29 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(29)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=30 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=30 +#line 162 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(30); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=30 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(30); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = sequential29_helpers[2].address -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" if ((sequential29_helpers[2].tail_call) && (r0 == 0)) -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 162 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" return r0; -#line 162 "sample/tail_call_sequential.c" +#line 162 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4329,158 +4329,158 @@ static uint16_t sequential3_maps[] = { #pragma code_seg(push, "sample~4") static uint64_t sequential3(void* context) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" { -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" // Prologue -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[0].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[0].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976448609 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834635873; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[1].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[1].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=3 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(3)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=4 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=4 +#line 136 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(4); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=4 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(4); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = sequential3_helpers[2].address -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" if ((sequential3_helpers[2].tail_call) && (r0 == 0)) -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 136 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" return r0; -#line 136 "sample/tail_call_sequential.c" +#line 136 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4503,163 +4503,163 @@ static uint16_t sequential30_maps[] = { #pragma code_seg(push, "sampl~31") static uint64_t sequential30(void* context) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" { -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" // Prologue -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[0].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[0].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=808676449 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479786212449; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[1].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[1].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=30 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(30)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=31 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=31 +#line 163 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(31); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=31 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(31); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = sequential30_helpers[2].address -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" if ((sequential30_helpers[2].tail_call) && (r0 == 0)) -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 163 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" return r0; -#line 163 "sample/tail_call_sequential.c" +#line 163 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4682,163 +4682,163 @@ static uint16_t sequential31_maps[] = { #pragma code_seg(push, "sampl~32") static uint64_t sequential31(void* context) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" { -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" // Prologue -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[0].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[0].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=825453665 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479802989665; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[1].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[1].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=31 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(31)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=32 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=32 +#line 164 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(32); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=32 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(32); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = sequential31_helpers[2].address -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" if ((sequential31_helpers[2].tail_call) && (r0 == 0)) -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 164 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" return r0; -#line 164 "sample/tail_call_sequential.c" +#line 164 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -4861,163 +4861,163 @@ static uint16_t sequential32_maps[] = { #pragma code_seg(push, "sampl~33") static uint64_t sequential32(void* context) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" { -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" // Prologue -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[0].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[0].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=842230881 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479819766881; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[1].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[1].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=32 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(32)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=33 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=33 +#line 165 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(33); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=33 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(33); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = sequential32_helpers[2].address -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" if ((sequential32_helpers[2].tail_call) && (r0 == 0)) -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 165 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" return r0; -#line 165 "sample/tail_call_sequential.c" +#line 165 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5040,163 +5040,163 @@ static uint16_t sequential33_maps[] = { #pragma code_seg(push, "sampl~34") static uint64_t sequential33(void* context) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" { -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" // Prologue -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[0].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[0].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=859008097 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479836544097; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[1].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[1].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=33 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(33)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=34 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=34 +#line 166 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(34); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=34 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(34); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = sequential33_helpers[2].address -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" if ((sequential33_helpers[2].tail_call) && (r0 == 0)) -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 166 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" return r0; -#line 166 "sample/tail_call_sequential.c" +#line 166 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5219,163 +5219,163 @@ static uint16_t sequential34_maps[] = { #pragma code_seg(push, "sampl~35") static uint64_t sequential34(void* context) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" { -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" // Prologue -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r9 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r9 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r9 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r9 offset=-4 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r9; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[0].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[0].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=25 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_STXB pc=11 dst=r10 src=r9 offset=-8 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" *(uint8_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint8_t)r9; // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=1702194273 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)748764383675772001; // EBPF_OP_STXDW pc=14 dst=r10 src=r1 offset=-16 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=15 dst=r1 src=r0 offset=0 imm=875785313 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)8514653479853321313; // EBPF_OP_STXDW pc=17 dst=r10 src=r1 offset=-24 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=18 dst=r1 src=r0 offset=0 imm=1970365811 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=20 dst=r10 src=r1 offset=-32 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=22 dst=r1 src=r10 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=23 dst=r1 src=r0 offset=0 imm=-32 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=24 dst=r2 src=r0 offset=0 imm=25 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(25); // EBPF_OP_CALL pc=25 dst=r0 src=r0 offset=0 imm=13 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[1].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[1].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=26 dst=r1 src=r8 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=27 dst=r1 src=r0 offset=8 imm=34 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(34)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=35 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=28 dst=r1 src=r0 offset=0 imm=35 +#line 167 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(35); // EBPF_OP_STXW pc=29 dst=r8 src=r1 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=30 dst=r1 src=r6 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=31 dst=r2 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=33 dst=r3 src=r0 offset=0 imm=35 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(35); // EBPF_OP_CALL pc=34 dst=r0 src=r0 offset=0 imm=5 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = sequential34_helpers[2].address -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" if ((sequential34_helpers[2].tail_call) && (r0 == 0)) -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=35 dst=r7 src=r0 offset=0 imm=0 +#line 167 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=36 dst=r0 src=r7 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=37 dst=r0 src=r0 offset=0 imm=0 -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" return r0; -#line 167 "sample/tail_call_sequential.c" +#line 167 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5398,158 +5398,158 @@ static uint16_t sequential4_maps[] = { #pragma code_seg(push, "sample~5") static uint64_t sequential4(void* context) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" { -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" // Prologue -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[0].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[0].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976514145 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834701409; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[1].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[1].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=4 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(4)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=5 +#line 137 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(5); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(5); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = sequential4_helpers[2].address -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" if ((sequential4_helpers[2].tail_call) && (r0 == 0)) -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 137 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" return r0; -#line 137 "sample/tail_call_sequential.c" +#line 137 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5572,158 +5572,158 @@ static uint16_t sequential5_maps[] = { #pragma code_seg(push, "sample~6") static uint64_t sequential5(void* context) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" { -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" // Prologue -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[0].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[0].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976579681 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834766945; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[1].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[1].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=5 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(5)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=6 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=6 +#line 138 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(6); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=6 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(6); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = sequential5_helpers[2].address -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" if ((sequential5_helpers[2].tail_call) && (r0 == 0)) -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 138 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" return r0; -#line 138 "sample/tail_call_sequential.c" +#line 138 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5746,158 +5746,158 @@ static uint16_t sequential6_maps[] = { #pragma code_seg(push, "sample~7") static uint64_t sequential6(void* context) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" { -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" // Prologue -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[0].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[0].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976645217 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834832481; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[1].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[1].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=6 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(6)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=7 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=7 +#line 139 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(7); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=7 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(7); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = sequential6_helpers[2].address -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" if ((sequential6_helpers[2].tail_call) && (r0 == 0)) -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 139 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" return r0; -#line 139 "sample/tail_call_sequential.c" +#line 139 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -5920,158 +5920,158 @@ static uint16_t sequential7_maps[] = { #pragma code_seg(push, "sample~8") static uint64_t sequential7(void* context) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" { -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" // Prologue -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[0].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[0].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976710753 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834898017; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[1].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[1].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=7 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(7)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=8 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=8 +#line 140 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(8); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=8 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(8); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = sequential7_helpers[2].address -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" if ((sequential7_helpers[2].tail_call) && (r0 == 0)) -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 140 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" return r0; -#line 140 "sample/tail_call_sequential.c" +#line 140 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -6094,158 +6094,158 @@ static uint16_t sequential8_maps[] = { #pragma code_seg(push, "sample~9") static uint64_t sequential8(void* context) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" { -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" // Prologue -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[0].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[0].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976776289 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986834963553; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[1].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[1].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=8 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(8)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=9 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=9 +#line 141 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(9); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=9 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = sequential8_helpers[2].address -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" if ((sequential8_helpers[2].tail_call) && (r0 == 0)) -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 141 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" return r0; -#line 141 "sample/tail_call_sequential.c" +#line 141 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -6268,158 +6268,158 @@ static uint16_t sequential9_maps[] = { #pragma code_seg(push, "sampl~10") static uint64_t sequential9(void* context) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" { -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" // Prologue -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r0 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r1 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r2 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r3 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r4 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r5 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r6 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r7 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r8 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" register uint64_t r10 = 0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uintptr_t)context; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r6 = r1; // EBPF_OP_MOV64_IMM pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(0); // EBPF_OP_STXW pc=2 dst=r10 src=r1 offset=-4 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=3 dst=r2 src=r10 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=4 dst=r2 src=r0 offset=0 imm=-4 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=5 dst=r1 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=7 dst=r0 src=r0 offset=0 imm=1 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[0].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[0].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=8 dst=r8 src=r0 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r8 = r0; // EBPF_OP_MOV64_IMM pc=9 dst=r7 src=r0 offset=0 imm=1 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r7 = IMMEDIATE(1); // EBPF_OP_JEQ_IMM pc=10 dst=r8 src=r0 offset=24 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if (r8 == IMMEDIATE(0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_LDDW pc=11 dst=r1 src=r0 offset=0 imm=1030059372 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)2924860873733484; // EBPF_OP_STXDW pc=13 dst=r10 src=r1 offset=-16 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r1; // EBPF_OP_LDDW pc=14 dst=r1 src=r0 offset=0 imm=976841825 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7022846986835029089; // EBPF_OP_STXDW pc=16 dst=r10 src=r1 offset=-24 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint64_t)r1; // EBPF_OP_LDDW pc=17 dst=r1 src=r0 offset=0 imm=1970365811 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = (uint64_t)7598819853321987443; // EBPF_OP_STXDW pc=19 dst=r10 src=r1 offset=-32 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r1; // EBPF_OP_LDXW pc=20 dst=r3 src=r8 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r3 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_MOV64_REG pc=21 dst=r1 src=r10 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = r10; // EBPF_OP_ADD64_IMM pc=22 dst=r1 src=r0 offset=0 imm=-32 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 += IMMEDIATE(-32); // EBPF_OP_MOV64_IMM pc=23 dst=r2 src=r0 offset=0 imm=24 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = IMMEDIATE(24); // EBPF_OP_CALL pc=24 dst=r0 src=r0 offset=0 imm=13 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[1].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[1].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_LDXW pc=25 dst=r1 src=r8 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)); // EBPF_OP_JNE_IMM pc=26 dst=r1 src=r0 offset=8 imm=9 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if (r1 != IMMEDIATE(9)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=10 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_IMM pc=27 dst=r1 src=r0 offset=0 imm=10 +#line 142 "sample/undocked/tail_call_sequential.c" r1 = IMMEDIATE(10); // EBPF_OP_STXW pc=28 dst=r8 src=r1 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" *(uint32_t*)(uintptr_t)(r8 + OFFSET(0)) = (uint32_t)r1; // EBPF_OP_MOV64_REG pc=29 dst=r1 src=r6 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r1 = r6; // EBPF_OP_LDDW pc=30 dst=r2 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=32 dst=r3 src=r0 offset=0 imm=10 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r3 = IMMEDIATE(10); // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=5 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = sequential9_helpers[2].address -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" (r1, r2, r3, r4, r5); -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" if ((sequential9_helpers[2].tail_call) && (r0 == 0)) -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return 0; - // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" + // EBPF_OP_MOV64_REG pc=34 dst=r7 src=r0 offset=0 imm=0 +#line 142 "sample/undocked/tail_call_sequential.c" r7 = r0; label_1: // EBPF_OP_MOV64_REG pc=35 dst=r0 src=r7 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" r0 = r7; // EBPF_OP_EXIT pc=36 dst=r0 src=r0 offset=0 imm=0 -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" return r0; -#line 142 "sample/tail_call_sequential.c" +#line 142 "sample/undocked/tail_call_sequential.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/tail_call_sys.c b/tests/bpf2c_tests/expected/tail_call_sys.c index 5e97475683..fe379cba3e 100644 --- a/tests/bpf2c_tests/expected/tail_call_sys.c +++ b/tests/bpf2c_tests/expected/tail_call_sys.c @@ -224,90 +224,90 @@ static uint16_t caller_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t caller(void* context) -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" { -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" // Prologue -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r0 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r1 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r2 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r3 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r4 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r5 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" register uint64_t r10 = 0; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r1 = (uintptr_t)context; -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r2 src=r0 offset=0 imm=0 -#line 33 "sample/tail_call.c" +#line 33 "sample/undocked/tail_call.c" r2 = IMMEDIATE(0); // EBPF_OP_STXW pc=1 dst=r10 src=r2 offset=-4 imm=0 -#line 35 "sample/tail_call.c" +#line 35 "sample/undocked/tail_call.c" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-4)) = (uint32_t)r2; // EBPF_OP_LDDW pc=2 dst=r2 src=r0 offset=0 imm=0 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r2 = POINTER(_maps[0].address); // EBPF_OP_MOV64_IMM pc=4 dst=r3 src=r0 offset=0 imm=9 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r3 = IMMEDIATE(9); // EBPF_OP_CALL pc=5 dst=r0 src=r0 offset=0 imm=5 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r0 = caller_helpers[0].address -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" (r1, r2, r3, r4, r5); -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" if ((caller_helpers[0].tail_call) && (r0 == 0)) -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" return 0; - // EBPF_OP_MOV64_REG pc=6 dst=r2 src=r10 offset=0 imm=0 -#line 38 "sample/tail_call.c" + // EBPF_OP_MOV64_REG pc=6 dst=r2 src=r10 offset=0 imm=0 +#line 38 "sample/undocked/tail_call.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=7 dst=r2 src=r0 offset=0 imm=-4 -#line 38 "sample/tail_call.c" +#line 38 "sample/undocked/tail_call.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=8 dst=r1 src=r0 offset=0 imm=0 -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" r1 = POINTER(_maps[1].address); // EBPF_OP_CALL pc=10 dst=r0 src=r0 offset=0 imm=1 -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" r0 = caller_helpers[1].address -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" (r1, r2, r3, r4, r5); -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" if ((caller_helpers[1].tail_call) && (r0 == 0)) -#line 41 "sample/tail_call.c" +#line 41 "sample/undocked/tail_call.c" return 0; - // EBPF_OP_JEQ_IMM pc=11 dst=r0 src=r0 offset=2 imm=0 -#line 42 "sample/tail_call.c" + // EBPF_OP_JEQ_IMM pc=11 dst=r0 src=r0 offset=2 imm=0 +#line 42 "sample/undocked/tail_call.c" if (r0 == IMMEDIATE(0)) -#line 42 "sample/tail_call.c" +#line 42 "sample/undocked/tail_call.c" goto label_1; - // EBPF_OP_MOV64_IMM pc=12 dst=r1 src=r0 offset=0 imm=1 -#line 42 "sample/tail_call.c" + // EBPF_OP_MOV64_IMM pc=12 dst=r1 src=r0 offset=0 imm=1 +#line 42 "sample/undocked/tail_call.c" r1 = IMMEDIATE(1); // EBPF_OP_STXW pc=13 dst=r0 src=r1 offset=0 imm=0 -#line 43 "sample/tail_call.c" +#line 43 "sample/undocked/tail_call.c" *(uint32_t*)(uintptr_t)(r0 + OFFSET(0)) = (uint32_t)r1; label_1: // EBPF_OP_MOV64_IMM pc=14 dst=r0 src=r0 offset=0 imm=6 -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" r0 = IMMEDIATE(6); // EBPF_OP_EXIT pc=15 dst=r0 src=r0 offset=0 imm=0 -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" return r0; -#line 46 "sample/tail_call.c" +#line 46 "sample/undocked/tail_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ @@ -317,31 +317,31 @@ static GUID callee_attach_type_guid = {0xf788ef4b, 0x207d, 0x4dc3, {0x85, 0xcf, #pragma code_seg(push, "sample~2") static uint64_t callee(void* context) -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" { -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" // Prologue -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r0 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r1 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" register uint64_t r10 = 0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r1 = (uintptr_t)context; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_IMM pc=0 dst=r0 src=r0 offset=0 imm=42 -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" r0 = IMMEDIATE(42); // EBPF_OP_EXIT pc=1 dst=r0 src=r0 offset=0 imm=0 -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" return r0; -#line 49 "sample/tail_call.c" +#line 49 "sample/undocked/tail_call.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/test_sample_ebpf_dll.c b/tests/bpf2c_tests/expected/test_sample_ebpf_dll.c index 02160d70bd..9078a702f0 100644 --- a/tests/bpf2c_tests/expected/test_sample_ebpf_dll.c +++ b/tests/bpf2c_tests/expected/test_sample_ebpf_dll.c @@ -80,192 +80,192 @@ static uint16_t test_program_entry_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_program_entry(void* context) -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" { -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" // Prologue -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r0 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r1 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r2 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r3 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r4 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r5 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r6 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r7 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r8 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r10 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r1 = (uintptr_t)context; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r6 = r1; // EBPF_OP_LDDW pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r1 = (uint64_t)4294967296; // EBPF_OP_STXDW pc=3 dst=r10 src=r1 offset=-8 imm=0 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-8 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" r2 += IMMEDIATE(-8); // EBPF_OP_LDDW pc=6 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=8 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[0].address -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_REG pc=9 dst=r8 src=r0 offset=0 imm=0 -#line 39 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_REG pc=9 dst=r8 src=r0 offset=0 imm=0 +#line 39 "sample/undocked/test_sample_ebpf.c" r8 = r0; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-4 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=14 dst=r0 src=r0 offset=0 imm=1 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[0].address -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[0].tail_call) && (r0 == 0)) -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_REG pc=15 dst=r7 src=r0 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_REG pc=15 dst=r7 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/test_sample_ebpf.c" r7 = r0; // EBPF_OP_JEQ_IMM pc=16 dst=r8 src=r0 offset=17 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" if (r8 == IMMEDIATE(0)) -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_LDXDW pc=17 dst=r1 src=r6 offset=0 imm=0 -#line 42 "sample/test_sample_ebpf.c" + // EBPF_OP_LDXDW pc=17 dst=r1 src=r6 offset=0 imm=0 +#line 42 "sample/undocked/test_sample_ebpf.c" r1 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(0)); // EBPF_OP_LDXDW pc=18 dst=r2 src=r6 offset=8 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" r2 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(8)); // EBPF_OP_JGE_REG pc=19 dst=r1 src=r2 offset=14 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" if (r1 >= r2) -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_SUB64_REG pc=20 dst=r2 src=r1 offset=0 imm=0 -#line 47 "sample/test_sample_ebpf.c" + // EBPF_OP_SUB64_REG pc=20 dst=r2 src=r1 offset=0 imm=0 +#line 47 "sample/undocked/test_sample_ebpf.c" r2 -= r1; // EBPF_OP_MOV64_REG pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r3 = r8; // EBPF_OP_MOV64_IMM pc=22 dst=r4 src=r0 offset=0 imm=32 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r4 = IMMEDIATE(32); // EBPF_OP_CALL pc=23 dst=r0 src=r0 offset=0 imm=65537 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[1].address -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[1].tail_call) && (r0 == 0)) -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_JEQ_IMM pc=24 dst=r7 src=r0 offset=9 imm=0 -#line 48 "sample/test_sample_ebpf.c" + // EBPF_OP_JEQ_IMM pc=24 dst=r7 src=r0 offset=9 imm=0 +#line 48 "sample/undocked/test_sample_ebpf.c" if (r7 == IMMEDIATE(0)) -#line 48 "sample/test_sample_ebpf.c" +#line 48 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_LDXDW pc=25 dst=r1 src=r6 offset=0 imm=0 -#line 50 "sample/test_sample_ebpf.c" + // EBPF_OP_LDXDW pc=25 dst=r1 src=r6 offset=0 imm=0 +#line 50 "sample/undocked/test_sample_ebpf.c" r1 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(0)); // EBPF_OP_LDXDW pc=26 dst=r2 src=r6 offset=8 imm=0 -#line 50 "sample/test_sample_ebpf.c" +#line 50 "sample/undocked/test_sample_ebpf.c" r2 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(8)); // EBPF_OP_SUB64_REG pc=27 dst=r2 src=r1 offset=0 imm=0 -#line 50 "sample/test_sample_ebpf.c" +#line 50 "sample/undocked/test_sample_ebpf.c" r2 -= r1; // EBPF_OP_MOV64_REG pc=28 dst=r3 src=r0 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r3 = r0; // EBPF_OP_MOV64_REG pc=29 dst=r4 src=r7 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r4 = r7; // EBPF_OP_MOV64_IMM pc=30 dst=r5 src=r0 offset=0 imm=32 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r5 = IMMEDIATE(32); // EBPF_OP_CALL pc=31 dst=r0 src=r0 offset=0 imm=65538 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[2].address -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[2].tail_call) && (r0 == 0)) -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=0 +#line 49 "sample/undocked/test_sample_ebpf.c" r1 = IMMEDIATE(0); // EBPF_OP_JSGT_REG pc=33 dst=r1 src=r0 offset=5 imm=0 -#line 51 "sample/test_sample_ebpf.c" +#line 51 "sample/undocked/test_sample_ebpf.c" if ((int64_t)r1 > (int64_t)r0) -#line 51 "sample/test_sample_ebpf.c" +#line 51 "sample/undocked/test_sample_ebpf.c" goto label_2; label_1: // EBPF_OP_MOV64_REG pc=34 dst=r1 src=r6 offset=0 imm=0 -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" r1 = r6; // EBPF_OP_CALL pc=35 dst=r0 src=r0 offset=0 imm=65536 -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[3].address -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[3].tail_call) && (r0 == 0)) -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_IMM pc=36 dst=r1 src=r0 offset=0 imm=0 -#line 58 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=36 dst=r1 src=r0 offset=0 imm=0 +#line 58 "sample/undocked/test_sample_ebpf.c" r1 = IMMEDIATE(0); // EBPF_OP_JSGT_REG pc=37 dst=r1 src=r0 offset=1 imm=0 -#line 59 "sample/test_sample_ebpf.c" +#line 59 "sample/undocked/test_sample_ebpf.c" if ((int64_t)r1 > (int64_t)r0) -#line 59 "sample/test_sample_ebpf.c" +#line 59 "sample/undocked/test_sample_ebpf.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=38 dst=r0 src=r0 offset=0 imm=42 -#line 59 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=38 dst=r0 src=r0 offset=0 imm=42 +#line 59 "sample/undocked/test_sample_ebpf.c" r0 = IMMEDIATE(42); label_2: // EBPF_OP_EXIT pc=39 dst=r0 src=r0 offset=0 imm=0 -#line 68 "sample/test_sample_ebpf.c" +#line 68 "sample/undocked/test_sample_ebpf.c" return r0; -#line 68 "sample/test_sample_ebpf.c" +#line 68 "sample/undocked/test_sample_ebpf.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/test_sample_ebpf_raw.c b/tests/bpf2c_tests/expected/test_sample_ebpf_raw.c index 0d1af3ebd3..8007c2c7a9 100644 --- a/tests/bpf2c_tests/expected/test_sample_ebpf_raw.c +++ b/tests/bpf2c_tests/expected/test_sample_ebpf_raw.c @@ -54,192 +54,192 @@ static uint16_t test_program_entry_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_program_entry(void* context) -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" { -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" // Prologue -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r0 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r1 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r2 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r3 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r4 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r5 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r6 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r7 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r8 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r10 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r1 = (uintptr_t)context; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r6 = r1; // EBPF_OP_LDDW pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r1 = (uint64_t)4294967296; // EBPF_OP_STXDW pc=3 dst=r10 src=r1 offset=-8 imm=0 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-8 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" r2 += IMMEDIATE(-8); // EBPF_OP_LDDW pc=6 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=8 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[0].address -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_REG pc=9 dst=r8 src=r0 offset=0 imm=0 -#line 39 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_REG pc=9 dst=r8 src=r0 offset=0 imm=0 +#line 39 "sample/undocked/test_sample_ebpf.c" r8 = r0; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-4 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=14 dst=r0 src=r0 offset=0 imm=1 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[0].address -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[0].tail_call) && (r0 == 0)) -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_REG pc=15 dst=r7 src=r0 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_REG pc=15 dst=r7 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/test_sample_ebpf.c" r7 = r0; // EBPF_OP_JEQ_IMM pc=16 dst=r8 src=r0 offset=17 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" if (r8 == IMMEDIATE(0)) -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_LDXDW pc=17 dst=r1 src=r6 offset=0 imm=0 -#line 42 "sample/test_sample_ebpf.c" + // EBPF_OP_LDXDW pc=17 dst=r1 src=r6 offset=0 imm=0 +#line 42 "sample/undocked/test_sample_ebpf.c" r1 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(0)); // EBPF_OP_LDXDW pc=18 dst=r2 src=r6 offset=8 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" r2 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(8)); // EBPF_OP_JGE_REG pc=19 dst=r1 src=r2 offset=14 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" if (r1 >= r2) -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_SUB64_REG pc=20 dst=r2 src=r1 offset=0 imm=0 -#line 47 "sample/test_sample_ebpf.c" + // EBPF_OP_SUB64_REG pc=20 dst=r2 src=r1 offset=0 imm=0 +#line 47 "sample/undocked/test_sample_ebpf.c" r2 -= r1; // EBPF_OP_MOV64_REG pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r3 = r8; // EBPF_OP_MOV64_IMM pc=22 dst=r4 src=r0 offset=0 imm=32 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r4 = IMMEDIATE(32); // EBPF_OP_CALL pc=23 dst=r0 src=r0 offset=0 imm=65537 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[1].address -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[1].tail_call) && (r0 == 0)) -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_JEQ_IMM pc=24 dst=r7 src=r0 offset=9 imm=0 -#line 48 "sample/test_sample_ebpf.c" + // EBPF_OP_JEQ_IMM pc=24 dst=r7 src=r0 offset=9 imm=0 +#line 48 "sample/undocked/test_sample_ebpf.c" if (r7 == IMMEDIATE(0)) -#line 48 "sample/test_sample_ebpf.c" +#line 48 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_LDXDW pc=25 dst=r1 src=r6 offset=0 imm=0 -#line 50 "sample/test_sample_ebpf.c" + // EBPF_OP_LDXDW pc=25 dst=r1 src=r6 offset=0 imm=0 +#line 50 "sample/undocked/test_sample_ebpf.c" r1 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(0)); // EBPF_OP_LDXDW pc=26 dst=r2 src=r6 offset=8 imm=0 -#line 50 "sample/test_sample_ebpf.c" +#line 50 "sample/undocked/test_sample_ebpf.c" r2 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(8)); // EBPF_OP_SUB64_REG pc=27 dst=r2 src=r1 offset=0 imm=0 -#line 50 "sample/test_sample_ebpf.c" +#line 50 "sample/undocked/test_sample_ebpf.c" r2 -= r1; // EBPF_OP_MOV64_REG pc=28 dst=r3 src=r0 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r3 = r0; // EBPF_OP_MOV64_REG pc=29 dst=r4 src=r7 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r4 = r7; // EBPF_OP_MOV64_IMM pc=30 dst=r5 src=r0 offset=0 imm=32 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r5 = IMMEDIATE(32); // EBPF_OP_CALL pc=31 dst=r0 src=r0 offset=0 imm=65538 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[2].address -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[2].tail_call) && (r0 == 0)) -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=0 +#line 49 "sample/undocked/test_sample_ebpf.c" r1 = IMMEDIATE(0); // EBPF_OP_JSGT_REG pc=33 dst=r1 src=r0 offset=5 imm=0 -#line 51 "sample/test_sample_ebpf.c" +#line 51 "sample/undocked/test_sample_ebpf.c" if ((int64_t)r1 > (int64_t)r0) -#line 51 "sample/test_sample_ebpf.c" +#line 51 "sample/undocked/test_sample_ebpf.c" goto label_2; label_1: // EBPF_OP_MOV64_REG pc=34 dst=r1 src=r6 offset=0 imm=0 -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" r1 = r6; // EBPF_OP_CALL pc=35 dst=r0 src=r0 offset=0 imm=65536 -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[3].address -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[3].tail_call) && (r0 == 0)) -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_IMM pc=36 dst=r1 src=r0 offset=0 imm=0 -#line 58 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=36 dst=r1 src=r0 offset=0 imm=0 +#line 58 "sample/undocked/test_sample_ebpf.c" r1 = IMMEDIATE(0); // EBPF_OP_JSGT_REG pc=37 dst=r1 src=r0 offset=1 imm=0 -#line 59 "sample/test_sample_ebpf.c" +#line 59 "sample/undocked/test_sample_ebpf.c" if ((int64_t)r1 > (int64_t)r0) -#line 59 "sample/test_sample_ebpf.c" +#line 59 "sample/undocked/test_sample_ebpf.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=38 dst=r0 src=r0 offset=0 imm=42 -#line 59 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=38 dst=r0 src=r0 offset=0 imm=42 +#line 59 "sample/undocked/test_sample_ebpf.c" r0 = IMMEDIATE(42); label_2: // EBPF_OP_EXIT pc=39 dst=r0 src=r0 offset=0 imm=0 -#line 68 "sample/test_sample_ebpf.c" +#line 68 "sample/undocked/test_sample_ebpf.c" return r0; -#line 68 "sample/test_sample_ebpf.c" +#line 68 "sample/undocked/test_sample_ebpf.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/test_sample_ebpf_sys.c b/tests/bpf2c_tests/expected/test_sample_ebpf_sys.c index e88c5a63bd..d6a28aa258 100644 --- a/tests/bpf2c_tests/expected/test_sample_ebpf_sys.c +++ b/tests/bpf2c_tests/expected/test_sample_ebpf_sys.c @@ -215,192 +215,192 @@ static uint16_t test_program_entry_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_program_entry(void* context) -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" { -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" // Prologue -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r0 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r1 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r2 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r3 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r4 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r5 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r6 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r7 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r8 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" register uint64_t r10 = 0; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r1 = (uintptr_t)context; -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_MOV64_REG pc=0 dst=r6 src=r1 offset=0 imm=0 -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r6 = r1; // EBPF_OP_LDDW pc=1 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/test_sample_ebpf.c" +#line 33 "sample/undocked/test_sample_ebpf.c" r1 = (uint64_t)4294967296; // EBPF_OP_STXDW pc=3 dst=r10 src=r1 offset=-8 imm=0 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-8)) = (uint64_t)r1; // EBPF_OP_MOV64_REG pc=4 dst=r2 src=r10 offset=0 imm=0 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=5 dst=r2 src=r0 offset=0 imm=-8 -#line 36 "sample/test_sample_ebpf.c" +#line 36 "sample/undocked/test_sample_ebpf.c" r2 += IMMEDIATE(-8); // EBPF_OP_LDDW pc=6 dst=r1 src=r0 offset=0 imm=0 -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=8 dst=r0 src=r0 offset=0 imm=1 -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[0].address -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[0].tail_call) && (r0 == 0)) -#line 39 "sample/test_sample_ebpf.c" +#line 39 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_REG pc=9 dst=r8 src=r0 offset=0 imm=0 -#line 39 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_REG pc=9 dst=r8 src=r0 offset=0 imm=0 +#line 39 "sample/undocked/test_sample_ebpf.c" r8 = r0; // EBPF_OP_MOV64_REG pc=10 dst=r2 src=r10 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r2 = r10; // EBPF_OP_ADD64_IMM pc=11 dst=r2 src=r0 offset=0 imm=-4 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r2 += IMMEDIATE(-4); // EBPF_OP_LDDW pc=12 dst=r1 src=r0 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r1 = POINTER(_maps[0].address); // EBPF_OP_CALL pc=14 dst=r0 src=r0 offset=0 imm=1 -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[0].address -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[0].tail_call) && (r0 == 0)) -#line 40 "sample/test_sample_ebpf.c" +#line 40 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_REG pc=15 dst=r7 src=r0 offset=0 imm=0 -#line 40 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_REG pc=15 dst=r7 src=r0 offset=0 imm=0 +#line 40 "sample/undocked/test_sample_ebpf.c" r7 = r0; // EBPF_OP_JEQ_IMM pc=16 dst=r8 src=r0 offset=17 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" if (r8 == IMMEDIATE(0)) -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_LDXDW pc=17 dst=r1 src=r6 offset=0 imm=0 -#line 42 "sample/test_sample_ebpf.c" + // EBPF_OP_LDXDW pc=17 dst=r1 src=r6 offset=0 imm=0 +#line 42 "sample/undocked/test_sample_ebpf.c" r1 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(0)); // EBPF_OP_LDXDW pc=18 dst=r2 src=r6 offset=8 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" r2 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(8)); // EBPF_OP_JGE_REG pc=19 dst=r1 src=r2 offset=14 imm=0 -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" if (r1 >= r2) -#line 42 "sample/test_sample_ebpf.c" +#line 42 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_SUB64_REG pc=20 dst=r2 src=r1 offset=0 imm=0 -#line 47 "sample/test_sample_ebpf.c" + // EBPF_OP_SUB64_REG pc=20 dst=r2 src=r1 offset=0 imm=0 +#line 47 "sample/undocked/test_sample_ebpf.c" r2 -= r1; // EBPF_OP_MOV64_REG pc=21 dst=r3 src=r8 offset=0 imm=0 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r3 = r8; // EBPF_OP_MOV64_IMM pc=22 dst=r4 src=r0 offset=0 imm=32 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r4 = IMMEDIATE(32); // EBPF_OP_CALL pc=23 dst=r0 src=r0 offset=0 imm=65537 -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[1].address -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[1].tail_call) && (r0 == 0)) -#line 46 "sample/test_sample_ebpf.c" +#line 46 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_JEQ_IMM pc=24 dst=r7 src=r0 offset=9 imm=0 -#line 48 "sample/test_sample_ebpf.c" + // EBPF_OP_JEQ_IMM pc=24 dst=r7 src=r0 offset=9 imm=0 +#line 48 "sample/undocked/test_sample_ebpf.c" if (r7 == IMMEDIATE(0)) -#line 48 "sample/test_sample_ebpf.c" +#line 48 "sample/undocked/test_sample_ebpf.c" goto label_1; - // EBPF_OP_LDXDW pc=25 dst=r1 src=r6 offset=0 imm=0 -#line 50 "sample/test_sample_ebpf.c" + // EBPF_OP_LDXDW pc=25 dst=r1 src=r6 offset=0 imm=0 +#line 50 "sample/undocked/test_sample_ebpf.c" r1 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(0)); // EBPF_OP_LDXDW pc=26 dst=r2 src=r6 offset=8 imm=0 -#line 50 "sample/test_sample_ebpf.c" +#line 50 "sample/undocked/test_sample_ebpf.c" r2 = *(uint64_t*)(uintptr_t)(r6 + OFFSET(8)); // EBPF_OP_SUB64_REG pc=27 dst=r2 src=r1 offset=0 imm=0 -#line 50 "sample/test_sample_ebpf.c" +#line 50 "sample/undocked/test_sample_ebpf.c" r2 -= r1; // EBPF_OP_MOV64_REG pc=28 dst=r3 src=r0 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r3 = r0; // EBPF_OP_MOV64_REG pc=29 dst=r4 src=r7 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r4 = r7; // EBPF_OP_MOV64_IMM pc=30 dst=r5 src=r0 offset=0 imm=32 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r5 = IMMEDIATE(32); // EBPF_OP_CALL pc=31 dst=r0 src=r0 offset=0 imm=65538 -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[2].address -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[2].tail_call) && (r0 == 0)) -#line 49 "sample/test_sample_ebpf.c" +#line 49 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=0 -#line 49 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=32 dst=r1 src=r0 offset=0 imm=0 +#line 49 "sample/undocked/test_sample_ebpf.c" r1 = IMMEDIATE(0); // EBPF_OP_JSGT_REG pc=33 dst=r1 src=r0 offset=5 imm=0 -#line 51 "sample/test_sample_ebpf.c" +#line 51 "sample/undocked/test_sample_ebpf.c" if ((int64_t)r1 > (int64_t)r0) -#line 51 "sample/test_sample_ebpf.c" +#line 51 "sample/undocked/test_sample_ebpf.c" goto label_2; label_1: // EBPF_OP_MOV64_REG pc=34 dst=r1 src=r6 offset=0 imm=0 -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" r1 = r6; // EBPF_OP_CALL pc=35 dst=r0 src=r0 offset=0 imm=65536 -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" r0 = test_program_entry_helpers[3].address -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" (r1, r2, r3, r4, r5); -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" if ((test_program_entry_helpers[3].tail_call) && (r0 == 0)) -#line 58 "sample/test_sample_ebpf.c" +#line 58 "sample/undocked/test_sample_ebpf.c" return 0; - // EBPF_OP_MOV64_IMM pc=36 dst=r1 src=r0 offset=0 imm=0 -#line 58 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=36 dst=r1 src=r0 offset=0 imm=0 +#line 58 "sample/undocked/test_sample_ebpf.c" r1 = IMMEDIATE(0); // EBPF_OP_JSGT_REG pc=37 dst=r1 src=r0 offset=1 imm=0 -#line 59 "sample/test_sample_ebpf.c" +#line 59 "sample/undocked/test_sample_ebpf.c" if ((int64_t)r1 > (int64_t)r0) -#line 59 "sample/test_sample_ebpf.c" +#line 59 "sample/undocked/test_sample_ebpf.c" goto label_2; - // EBPF_OP_MOV64_IMM pc=38 dst=r0 src=r0 offset=0 imm=42 -#line 59 "sample/test_sample_ebpf.c" + // EBPF_OP_MOV64_IMM pc=38 dst=r0 src=r0 offset=0 imm=42 +#line 59 "sample/undocked/test_sample_ebpf.c" r0 = IMMEDIATE(42); label_2: // EBPF_OP_EXIT pc=39 dst=r0 src=r0 offset=0 imm=0 -#line 68 "sample/test_sample_ebpf.c" +#line 68 "sample/undocked/test_sample_ebpf.c" return r0; -#line 68 "sample/test_sample_ebpf.c" +#line 68 "sample/undocked/test_sample_ebpf.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/test_utility_helpers_dll.c b/tests/bpf2c_tests/expected/test_utility_helpers_dll.c index fe9e9abebb..2d148475b8 100644 --- a/tests/bpf2c_tests/expected/test_utility_helpers_dll.c +++ b/tests/bpf2c_tests/expected/test_utility_helpers_dll.c @@ -82,36 +82,36 @@ static uint16_t test_utility_helpers_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_utility_helpers(void* context) -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" { -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" // Prologue -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r0 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r1 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r2 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r3 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r4 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r5 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r6 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r10 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r1 = (uintptr_t)context; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r1 = (uint64_t)4294967296; // EBPF_OP_STXDW pc=2 dst=r10 src=r1 offset=-8 imm=0 #line 12 "sample/./sample_common_routines.h" @@ -140,7 +140,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[0].tail_call) && (r0 == 0)) #line 16 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=9 dst=r10 src=r0 offset=-48 imm=0 + // EBPF_OP_STXW pc=9 dst=r10 src=r0 offset=-48 imm=0 #line 16 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint32_t)r0; // EBPF_OP_CALL pc=10 dst=r0 src=r0 offset=0 imm=7 @@ -152,7 +152,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[1].tail_call) && (r0 == 0)) #line 24 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=11 dst=r10 src=r0 offset=-32 imm=0 + // EBPF_OP_STXDW pc=11 dst=r10 src=r0 offset=-32 imm=0 #line 24 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r0; // EBPF_OP_CALL pc=12 dst=r0 src=r0 offset=0 imm=9 @@ -164,7 +164,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[2].tail_call) && (r0 == 0)) #line 27 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=13 dst=r10 src=r0 offset=-40 imm=0 + // EBPF_OP_STXDW pc=13 dst=r10 src=r0 offset=-40 imm=0 #line 27 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r0; // EBPF_OP_CALL pc=14 dst=r0 src=r0 offset=0 imm=8 @@ -176,7 +176,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[3].tail_call) && (r0 == 0)) #line 30 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=15 dst=r10 src=r0 offset=-24 imm=0 + // EBPF_OP_STXW pc=15 dst=r10 src=r0 offset=-24 imm=0 #line 30 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r0; // EBPF_OP_CALL pc=16 dst=r0 src=r0 offset=0 imm=19 @@ -188,7 +188,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[4].tail_call) && (r0 == 0)) #line 33 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=17 dst=r10 src=r0 offset=-16 imm=0 + // EBPF_OP_STXDW pc=17 dst=r10 src=r0 offset=-16 imm=0 #line 33 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r0; // EBPF_OP_MOV64_REG pc=18 dst=r2 src=r10 offset=0 imm=0 @@ -221,7 +221,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[5].tail_call) && (r0 == 0)) #line 36 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=6 + // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=6 #line 39 "sample/./sample_common_routines.h" r0 = test_utility_helpers_helpers[0].address #line 39 "sample/./sample_common_routines.h" @@ -230,7 +230,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[0].tail_call) && (r0 == 0)) #line 39 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=28 dst=r10 src=r0 offset=-48 imm=0 + // EBPF_OP_STXW pc=28 dst=r10 src=r0 offset=-48 imm=0 #line 39 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint32_t)r0; // EBPF_OP_CALL pc=29 dst=r0 src=r0 offset=0 imm=9 @@ -242,7 +242,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[2].tail_call) && (r0 == 0)) #line 42 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=30 dst=r10 src=r0 offset=-40 imm=0 + // EBPF_OP_STXDW pc=30 dst=r10 src=r0 offset=-40 imm=0 #line 42 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r0; // EBPF_OP_CALL pc=31 dst=r0 src=r0 offset=0 imm=7 @@ -254,7 +254,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[1].tail_call) && (r0 == 0)) #line 45 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=32 dst=r10 src=r0 offset=-32 imm=0 + // EBPF_OP_STXDW pc=32 dst=r10 src=r0 offset=-32 imm=0 #line 45 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r0; // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=19 @@ -266,7 +266,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[4].tail_call) && (r0 == 0)) #line 48 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=34 dst=r10 src=r0 offset=-16 imm=0 + // EBPF_OP_STXDW pc=34 dst=r10 src=r0 offset=-16 imm=0 #line 48 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r0; // EBPF_OP_MOV64_REG pc=35 dst=r2 src=r10 offset=0 imm=0 @@ -293,13 +293,13 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[5].tail_call) && (r0 == 0)) #line 51 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_MOV64_IMM pc=42 dst=r0 src=r0 offset=0 imm=0 -#line 35 "sample/test_utility_helpers.c" + // EBPF_OP_MOV64_IMM pc=42 dst=r0 src=r0 offset=0 imm=0 +#line 35 "sample/undocked/test_utility_helpers.c" r0 = IMMEDIATE(0); // EBPF_OP_EXIT pc=43 dst=r0 src=r0 offset=0 imm=0 -#line 35 "sample/test_utility_helpers.c" +#line 35 "sample/undocked/test_utility_helpers.c" return r0; -#line 35 "sample/test_utility_helpers.c" +#line 35 "sample/undocked/test_utility_helpers.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/test_utility_helpers_raw.c b/tests/bpf2c_tests/expected/test_utility_helpers_raw.c index 363d785695..02eca7d3db 100644 --- a/tests/bpf2c_tests/expected/test_utility_helpers_raw.c +++ b/tests/bpf2c_tests/expected/test_utility_helpers_raw.c @@ -56,36 +56,36 @@ static uint16_t test_utility_helpers_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_utility_helpers(void* context) -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" { -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" // Prologue -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r0 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r1 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r2 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r3 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r4 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r5 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r6 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r10 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r1 = (uintptr_t)context; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r1 = (uint64_t)4294967296; // EBPF_OP_STXDW pc=2 dst=r10 src=r1 offset=-8 imm=0 #line 12 "sample/./sample_common_routines.h" @@ -114,7 +114,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[0].tail_call) && (r0 == 0)) #line 16 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=9 dst=r10 src=r0 offset=-48 imm=0 + // EBPF_OP_STXW pc=9 dst=r10 src=r0 offset=-48 imm=0 #line 16 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint32_t)r0; // EBPF_OP_CALL pc=10 dst=r0 src=r0 offset=0 imm=7 @@ -126,7 +126,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[1].tail_call) && (r0 == 0)) #line 24 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=11 dst=r10 src=r0 offset=-32 imm=0 + // EBPF_OP_STXDW pc=11 dst=r10 src=r0 offset=-32 imm=0 #line 24 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r0; // EBPF_OP_CALL pc=12 dst=r0 src=r0 offset=0 imm=9 @@ -138,7 +138,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[2].tail_call) && (r0 == 0)) #line 27 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=13 dst=r10 src=r0 offset=-40 imm=0 + // EBPF_OP_STXDW pc=13 dst=r10 src=r0 offset=-40 imm=0 #line 27 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r0; // EBPF_OP_CALL pc=14 dst=r0 src=r0 offset=0 imm=8 @@ -150,7 +150,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[3].tail_call) && (r0 == 0)) #line 30 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=15 dst=r10 src=r0 offset=-24 imm=0 + // EBPF_OP_STXW pc=15 dst=r10 src=r0 offset=-24 imm=0 #line 30 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r0; // EBPF_OP_CALL pc=16 dst=r0 src=r0 offset=0 imm=19 @@ -162,7 +162,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[4].tail_call) && (r0 == 0)) #line 33 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=17 dst=r10 src=r0 offset=-16 imm=0 + // EBPF_OP_STXDW pc=17 dst=r10 src=r0 offset=-16 imm=0 #line 33 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r0; // EBPF_OP_MOV64_REG pc=18 dst=r2 src=r10 offset=0 imm=0 @@ -195,7 +195,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[5].tail_call) && (r0 == 0)) #line 36 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=6 + // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=6 #line 39 "sample/./sample_common_routines.h" r0 = test_utility_helpers_helpers[0].address #line 39 "sample/./sample_common_routines.h" @@ -204,7 +204,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[0].tail_call) && (r0 == 0)) #line 39 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=28 dst=r10 src=r0 offset=-48 imm=0 + // EBPF_OP_STXW pc=28 dst=r10 src=r0 offset=-48 imm=0 #line 39 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint32_t)r0; // EBPF_OP_CALL pc=29 dst=r0 src=r0 offset=0 imm=9 @@ -216,7 +216,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[2].tail_call) && (r0 == 0)) #line 42 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=30 dst=r10 src=r0 offset=-40 imm=0 + // EBPF_OP_STXDW pc=30 dst=r10 src=r0 offset=-40 imm=0 #line 42 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r0; // EBPF_OP_CALL pc=31 dst=r0 src=r0 offset=0 imm=7 @@ -228,7 +228,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[1].tail_call) && (r0 == 0)) #line 45 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=32 dst=r10 src=r0 offset=-32 imm=0 + // EBPF_OP_STXDW pc=32 dst=r10 src=r0 offset=-32 imm=0 #line 45 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r0; // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=19 @@ -240,7 +240,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[4].tail_call) && (r0 == 0)) #line 48 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=34 dst=r10 src=r0 offset=-16 imm=0 + // EBPF_OP_STXDW pc=34 dst=r10 src=r0 offset=-16 imm=0 #line 48 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r0; // EBPF_OP_MOV64_REG pc=35 dst=r2 src=r10 offset=0 imm=0 @@ -267,13 +267,13 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[5].tail_call) && (r0 == 0)) #line 51 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_MOV64_IMM pc=42 dst=r0 src=r0 offset=0 imm=0 -#line 35 "sample/test_utility_helpers.c" + // EBPF_OP_MOV64_IMM pc=42 dst=r0 src=r0 offset=0 imm=0 +#line 35 "sample/undocked/test_utility_helpers.c" r0 = IMMEDIATE(0); // EBPF_OP_EXIT pc=43 dst=r0 src=r0 offset=0 imm=0 -#line 35 "sample/test_utility_helpers.c" +#line 35 "sample/undocked/test_utility_helpers.c" return r0; -#line 35 "sample/test_utility_helpers.c" +#line 35 "sample/undocked/test_utility_helpers.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/bpf2c_tests/expected/test_utility_helpers_sys.c b/tests/bpf2c_tests/expected/test_utility_helpers_sys.c index 5a3945026e..85089766e5 100644 --- a/tests/bpf2c_tests/expected/test_utility_helpers_sys.c +++ b/tests/bpf2c_tests/expected/test_utility_helpers_sys.c @@ -217,36 +217,36 @@ static uint16_t test_utility_helpers_maps[] = { #pragma code_seg(push, "sample~1") static uint64_t test_utility_helpers(void* context) -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" { -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" // Prologue -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" uint64_t stack[(UBPF_STACK_SIZE + 7) / 8]; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r0 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r1 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r2 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r3 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r4 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r5 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r6 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" register uint64_t r10 = 0; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r1 = (uintptr_t)context; -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r10 = (uintptr_t)((uint8_t*)stack + sizeof(stack)); // EBPF_OP_LDDW pc=0 dst=r1 src=r0 offset=0 imm=0 -#line 33 "sample/test_utility_helpers.c" +#line 33 "sample/undocked/test_utility_helpers.c" r1 = (uint64_t)4294967296; // EBPF_OP_STXDW pc=2 dst=r10 src=r1 offset=-8 imm=0 #line 12 "sample/./sample_common_routines.h" @@ -275,7 +275,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[0].tail_call) && (r0 == 0)) #line 16 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=9 dst=r10 src=r0 offset=-48 imm=0 + // EBPF_OP_STXW pc=9 dst=r10 src=r0 offset=-48 imm=0 #line 16 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint32_t)r0; // EBPF_OP_CALL pc=10 dst=r0 src=r0 offset=0 imm=7 @@ -287,7 +287,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[1].tail_call) && (r0 == 0)) #line 24 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=11 dst=r10 src=r0 offset=-32 imm=0 + // EBPF_OP_STXDW pc=11 dst=r10 src=r0 offset=-32 imm=0 #line 24 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r0; // EBPF_OP_CALL pc=12 dst=r0 src=r0 offset=0 imm=9 @@ -299,7 +299,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[2].tail_call) && (r0 == 0)) #line 27 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=13 dst=r10 src=r0 offset=-40 imm=0 + // EBPF_OP_STXDW pc=13 dst=r10 src=r0 offset=-40 imm=0 #line 27 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r0; // EBPF_OP_CALL pc=14 dst=r0 src=r0 offset=0 imm=8 @@ -311,7 +311,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[3].tail_call) && (r0 == 0)) #line 30 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=15 dst=r10 src=r0 offset=-24 imm=0 + // EBPF_OP_STXW pc=15 dst=r10 src=r0 offset=-24 imm=0 #line 30 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-24)) = (uint32_t)r0; // EBPF_OP_CALL pc=16 dst=r0 src=r0 offset=0 imm=19 @@ -323,7 +323,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[4].tail_call) && (r0 == 0)) #line 33 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=17 dst=r10 src=r0 offset=-16 imm=0 + // EBPF_OP_STXDW pc=17 dst=r10 src=r0 offset=-16 imm=0 #line 33 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r0; // EBPF_OP_MOV64_REG pc=18 dst=r2 src=r10 offset=0 imm=0 @@ -356,7 +356,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[5].tail_call) && (r0 == 0)) #line 36 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=6 + // EBPF_OP_CALL pc=27 dst=r0 src=r0 offset=0 imm=6 #line 39 "sample/./sample_common_routines.h" r0 = test_utility_helpers_helpers[0].address #line 39 "sample/./sample_common_routines.h" @@ -365,7 +365,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[0].tail_call) && (r0 == 0)) #line 39 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXW pc=28 dst=r10 src=r0 offset=-48 imm=0 + // EBPF_OP_STXW pc=28 dst=r10 src=r0 offset=-48 imm=0 #line 39 "sample/./sample_common_routines.h" *(uint32_t*)(uintptr_t)(r10 + OFFSET(-48)) = (uint32_t)r0; // EBPF_OP_CALL pc=29 dst=r0 src=r0 offset=0 imm=9 @@ -377,7 +377,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[2].tail_call) && (r0 == 0)) #line 42 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=30 dst=r10 src=r0 offset=-40 imm=0 + // EBPF_OP_STXDW pc=30 dst=r10 src=r0 offset=-40 imm=0 #line 42 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-40)) = (uint64_t)r0; // EBPF_OP_CALL pc=31 dst=r0 src=r0 offset=0 imm=7 @@ -389,7 +389,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[1].tail_call) && (r0 == 0)) #line 45 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=32 dst=r10 src=r0 offset=-32 imm=0 + // EBPF_OP_STXDW pc=32 dst=r10 src=r0 offset=-32 imm=0 #line 45 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-32)) = (uint64_t)r0; // EBPF_OP_CALL pc=33 dst=r0 src=r0 offset=0 imm=19 @@ -401,7 +401,7 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[4].tail_call) && (r0 == 0)) #line 48 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_STXDW pc=34 dst=r10 src=r0 offset=-16 imm=0 + // EBPF_OP_STXDW pc=34 dst=r10 src=r0 offset=-16 imm=0 #line 48 "sample/./sample_common_routines.h" *(uint64_t*)(uintptr_t)(r10 + OFFSET(-16)) = (uint64_t)r0; // EBPF_OP_MOV64_REG pc=35 dst=r2 src=r10 offset=0 imm=0 @@ -428,13 +428,13 @@ test_utility_helpers(void* context) if ((test_utility_helpers_helpers[5].tail_call) && (r0 == 0)) #line 51 "sample/./sample_common_routines.h" return 0; - // EBPF_OP_MOV64_IMM pc=42 dst=r0 src=r0 offset=0 imm=0 -#line 35 "sample/test_utility_helpers.c" + // EBPF_OP_MOV64_IMM pc=42 dst=r0 src=r0 offset=0 imm=0 +#line 35 "sample/undocked/test_utility_helpers.c" r0 = IMMEDIATE(0); // EBPF_OP_EXIT pc=43 dst=r0 src=r0 offset=0 imm=0 -#line 35 "sample/test_utility_helpers.c" +#line 35 "sample/undocked/test_utility_helpers.c" return r0; -#line 35 "sample/test_utility_helpers.c" +#line 35 "sample/undocked/test_utility_helpers.c" } #pragma code_seg(pop) #line __LINE__ __FILE__ diff --git a/tests/end_to_end/netsh_test.cpp b/tests/end_to_end/netsh_test.cpp index 4e565dcef8..a9f99a3020 100644 --- a/tests/end_to_end/netsh_test.cpp +++ b/tests/end_to_end/netsh_test.cpp @@ -76,26 +76,26 @@ TEST_CASE("show disassembly bpf_call.o", "[netsh][disassembly]") REQUIRE(result == NO_ERROR); output = strip_paths(output); REQUIRE( - output == "; ./tests/sample/bpf_call.c:25\n" + output == "; ./tests/sample/undocked/bpf_call.c:25\n" "; SEC(\"sample_ext\") int func(sample_program_context_t* ctx)\n" " 0: r1 = 0\n" - "; ./tests/sample/bpf_call.c:27\n" + "; ./tests/sample/undocked/bpf_call.c:27\n" "; uint32_t key = 0;\n" " 1: *(u32 *)(r10 - 4) = r1\n" " 2: r1 = 42\n" - "; ./tests/sample/bpf_call.c:28\n" + "; ./tests/sample/undocked/bpf_call.c:28\n" "; uint32_t value = 42;\n" " 3: *(u32 *)(r10 - 8) = r1\n" " 4: r2 = r10\n" " 5: r2 += -4\n" " 6: r3 = r10\n" " 7: r3 += -8\n" - "; ./tests/sample/bpf_call.c:29\n" + "; ./tests/sample/undocked/bpf_call.c:29\n" "; int result = bpf_map_update_elem(&map, &key, &value, 0);\n" " 8: r1 = map_fd 1\n" " 10: r4 = 0\n" " 11: r0 = bpf_map_update_elem:2(map_fd r1, map_key r2, map_value r3, uint64_t r4)\n" - "; ./tests/sample/bpf_call.c:30\n" + "; ./tests/sample/undocked/bpf_call.c:30\n" "; return result;\n" " 12: exit\n\n"); } @@ -206,7 +206,7 @@ TEST_CASE("show sections bpf.sys", "[netsh][sections]") " Size\n" " Section Type (bytes)\n" "==================== ========= =======\n" - " .text sample 1768\n" + " .text bind 1768\n" "\n" " Key Value Max\n" " Map Type Size Size Entries Name\n" @@ -306,7 +306,7 @@ TEST_CASE("show verification bpf.o", "[netsh][verification]") test_helper.initialize(); int result; - std::string output = _run_netsh_command(handle_ebpf_show_verification, L"bpf.o", L".text", L"sample_ext", &result); + std::string output = _run_netsh_command(handle_ebpf_show_verification, L"bpf.o", L".text", L"bind", &result); REQUIRE(result == NO_ERROR); REQUIRE( output == "\n" diff --git a/tests/libfuzzer/core_helper_fuzzer/core_helper_fuzzer.vcxproj b/tests/libfuzzer/core_helper_fuzzer/core_helper_fuzzer.vcxproj index a848da68e2..38eb452d91 100644 --- a/tests/libfuzzer/core_helper_fuzzer/core_helper_fuzzer.vcxproj +++ b/tests/libfuzzer/core_helper_fuzzer/core_helper_fuzzer.vcxproj @@ -95,7 +95,7 @@ FUZZER;USER_MODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -106,7 +106,7 @@ FUZZER;USER_MODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -117,7 +117,7 @@ FUZZER;USER_MODE;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -128,7 +128,7 @@ FUZZER;USER_MODE;NDEBUG;_CONSOLE;NO_CATCH;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -140,7 +140,7 @@ FUZZER;USER_MODE;NDEBUG;_CONSOLE;NO_CATCH;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\src;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\encode_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)netebpfext\user;$(SolutionDir)tests\netebpfext_unit;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tests/libfuzzer/execution_context/execution_context_fuzzer.vcxproj b/tests/libfuzzer/execution_context/execution_context_fuzzer.vcxproj index 7013013c5e..76b033d373 100644 --- a/tests/libfuzzer/execution_context/execution_context_fuzzer.vcxproj +++ b/tests/libfuzzer/execution_context/execution_context_fuzzer.vcxproj @@ -99,7 +99,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -112,7 +112,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -125,7 +125,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -136,7 +136,7 @@ NDEBUG;_CONSOLE;NO_CATCH;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -148,7 +148,7 @@ NDEBUG;_CONSOLE;NO_CATCH;%(PreprocessorDefinitions) - $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\libfuzzer\include;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tests/libs/util/test_util.vcxproj b/tests/libs/util/test_util.vcxproj index b7c79dcfc6..df3f55c097 100644 --- a/tests/libs/util/test_util.vcxproj +++ b/tests/libs/util/test_util.vcxproj @@ -129,7 +129,7 @@ _DEBUG;_LIB;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) @@ -141,7 +141,7 @@ _DEBUG;_LIB;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) @@ -153,7 +153,7 @@ _DEBUG;_LIB;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) @@ -168,7 +168,7 @@ NDEBUG;_LIB;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) @@ -182,7 +182,7 @@ NDEBUG;_LIB;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)include;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(SolutionDir)libs\thunk;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)tests\sample;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) diff --git a/tests/performance/performance.vcxproj b/tests/performance/performance.vcxproj index f1a67067a5..26c78807e2 100644 --- a/tests/performance/performance.vcxproj +++ b/tests/performance/performance.vcxproj @@ -109,7 +109,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -122,7 +122,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -135,7 +135,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -148,7 +148,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -163,7 +163,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)external\ubpf\vm;$(SolutionDir)external\ubpf\vm\inc;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)\external\ubpf\build\vm;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tests/sample/ext/app/sample_ext_app.vcxproj b/tests/sample/ext/app/sample_ext_app.vcxproj index 5cf6091470..0d5552c723 100644 --- a/tests/sample/ext/app/sample_ext_app.vcxproj +++ b/tests/sample/ext/app/sample_ext_app.vcxproj @@ -29,7 +29,7 @@ 16.0 Win32Proj - {7358d8bd-4123-4b2d-86c0-87f6ba6ced76} + {6D365515-DE92-4CEB-AB3D-5608719A8886} sample_ebpf_ext_app 10.0 @@ -107,7 +107,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -119,7 +119,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -131,7 +131,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -143,7 +143,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -157,7 +157,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;%(AdditionalIncludeDirectories) + $(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\netebpfext;$(OutDir);$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tests/sample/sample.vcxproj b/tests/sample/sample.vcxproj index 28ebcbed52..04735a2edd 100644 --- a/tests/sample/sample.vcxproj +++ b/tests/sample/sample.vcxproj @@ -192,6 +192,28 @@ true + + + + CppCode + + clang $(ClangFlags) -I../xdp -I../socket -I./ext/inc -I. -I../../undocked/tests/sample/ext/inc -c undocked\%(Filename).c -o $(OutputPath)%(Filename).o + pushd $(OutDir) + powershell -NonInteractive -ExecutionPolicy Unrestricted .\Convert-BpfToNative.ps1 -FileName %(Filename) -IncludeDir $(SolutionDir)\include -Platform $(Platform) -Configuration $(KernelConfiguration) -KernelMode $true + powershell -NonInteractive -ExecutionPolicy Unrestricted .\Convert-BpfToNative.ps1 -FileName %(Filename) -IncludeDir $(SolutionDir)\include -Platform $(Platform) -Configuration $(Configuration) -KernelMode $false + popd + + $(OutputPath)%(Filename).o;$(OutputPath)%(Filename)_um.dll;$(OutputPath)%(Filename).sys + + true + + diff --git a/tests/sample/atomic_instruction_fetch_add.c b/tests/sample/undocked/atomic_instruction_fetch_add.c similarity index 100% rename from tests/sample/atomic_instruction_fetch_add.c rename to tests/sample/undocked/atomic_instruction_fetch_add.c diff --git a/tests/sample/bad_map_name.c b/tests/sample/undocked/bad_map_name.c similarity index 100% rename from tests/sample/bad_map_name.c rename to tests/sample/undocked/bad_map_name.c diff --git a/tests/sample/bpf_call.c b/tests/sample/undocked/bpf_call.c similarity index 100% rename from tests/sample/bpf_call.c rename to tests/sample/undocked/bpf_call.c diff --git a/tests/sample/divide_by_zero.c b/tests/sample/undocked/divide_by_zero.c similarity index 100% rename from tests/sample/divide_by_zero.c rename to tests/sample/undocked/divide_by_zero.c diff --git a/tests/sample/map.c b/tests/sample/undocked/map.c similarity index 100% rename from tests/sample/map.c rename to tests/sample/undocked/map.c diff --git a/tests/sample/map_in_map_btf.c b/tests/sample/undocked/map_in_map_btf.c similarity index 100% rename from tests/sample/map_in_map_btf.c rename to tests/sample/undocked/map_in_map_btf.c diff --git a/tests/sample/map_in_map_legacy_id.c b/tests/sample/undocked/map_in_map_legacy_id.c similarity index 100% rename from tests/sample/map_in_map_legacy_id.c rename to tests/sample/undocked/map_in_map_legacy_id.c diff --git a/tests/sample/map_in_map_legacy_idx.c b/tests/sample/undocked/map_in_map_legacy_idx.c similarity index 100% rename from tests/sample/map_in_map_legacy_idx.c rename to tests/sample/undocked/map_in_map_legacy_idx.c diff --git a/tests/sample/map_reuse.c b/tests/sample/undocked/map_reuse.c similarity index 100% rename from tests/sample/map_reuse.c rename to tests/sample/undocked/map_reuse.c diff --git a/tests/sample/map_reuse_2.c b/tests/sample/undocked/map_reuse_2.c similarity index 100% rename from tests/sample/map_reuse_2.c rename to tests/sample/undocked/map_reuse_2.c diff --git a/tests/sample/tail_call.c b/tests/sample/undocked/tail_call.c similarity index 100% rename from tests/sample/tail_call.c rename to tests/sample/undocked/tail_call.c diff --git a/tests/sample/tail_call_bad.c b/tests/sample/undocked/tail_call_bad.c similarity index 100% rename from tests/sample/tail_call_bad.c rename to tests/sample/undocked/tail_call_bad.c diff --git a/tests/sample/tail_call_map.c b/tests/sample/undocked/tail_call_map.c similarity index 100% rename from tests/sample/tail_call_map.c rename to tests/sample/undocked/tail_call_map.c diff --git a/tests/sample/tail_call_multiple.c b/tests/sample/undocked/tail_call_multiple.c similarity index 100% rename from tests/sample/tail_call_multiple.c rename to tests/sample/undocked/tail_call_multiple.c diff --git a/tests/sample/tail_call_recursive.c b/tests/sample/undocked/tail_call_recursive.c similarity index 100% rename from tests/sample/tail_call_recursive.c rename to tests/sample/undocked/tail_call_recursive.c diff --git a/tests/sample/tail_call_sequential.c b/tests/sample/undocked/tail_call_sequential.c similarity index 100% rename from tests/sample/tail_call_sequential.c rename to tests/sample/undocked/tail_call_sequential.c diff --git a/tests/sample/test_sample_ebpf.c b/tests/sample/undocked/test_sample_ebpf.c similarity index 100% rename from tests/sample/test_sample_ebpf.c rename to tests/sample/undocked/test_sample_ebpf.c diff --git a/tests/sample/test_utility_helpers.c b/tests/sample/undocked/test_utility_helpers.c similarity index 100% rename from tests/sample/test_utility_helpers.c rename to tests/sample/undocked/test_utility_helpers.c diff --git a/tests/stress/km/ebpf_stress_tests_km.vcxproj b/tests/stress/km/ebpf_stress_tests_km.vcxproj index 19fe745bb8..3f182c30ee 100644 --- a/tests/stress/km/ebpf_stress_tests_km.vcxproj +++ b/tests/stress/km/ebpf_stress_tests_km.vcxproj @@ -91,7 +91,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -103,7 +103,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -115,7 +115,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -130,7 +130,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)tests\socket;$(SolutionDir)libs\execution_context;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\thunk;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\api_common;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tests/stress/um/ebpf_stress_tests_um.vcxproj b/tests/stress/um/ebpf_stress_tests_um.vcxproj index f4a44ef42c..6ad6a15b38 100644 --- a/tests/stress/um/ebpf_stress_tests_um.vcxproj +++ b/tests/stress/um/ebpf_stress_tests_um.vcxproj @@ -89,7 +89,7 @@ USER_MODE_TEST;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -101,7 +101,7 @@ USER_MODE_TEST;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -113,7 +113,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -127,7 +127,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;%(AdditionalIncludeDirectories) + $(SolutionDir)tests\stress;$(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)external\usersim\inc;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tests/unit/export_program_info_test.cpp b/tests/unit/export_program_info_test.cpp index 433e6cc7a1..e20846fd98 100644 --- a/tests/unit/export_program_info_test.cpp +++ b/tests/unit/export_program_info_test.cpp @@ -16,7 +16,7 @@ _populate_ebpf_store() TEST_CASE("export_program_info", "[end_to_end]") { - REQUIRE(clear_all_ebpf_stores() == 0); + REQUIRE(clear_ebpf_store() == 0); // Re-populate the ebpf store. _populate_ebpf_store(); diff --git a/tests/unit/test.vcxproj b/tests/unit/test.vcxproj index 2bdfeda2ff..84bcd653dd 100644 --- a/tests/unit/test.vcxproj +++ b/tests/unit/test.vcxproj @@ -110,7 +110,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -123,7 +123,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -136,7 +136,7 @@ _DEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -149,7 +149,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console @@ -164,7 +164,7 @@ NDEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE true - $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;%(AdditionalIncludeDirectories) + $(SolutionDir)libs\api_common;$(SolutionDir)include;$(SolutionDir)libs\api;$(SolutionDir)libs\ebpfnetsh;$(SolutionDir)tests\libs\util;$(SolutionDir)tests\libs\common;$(OutDir);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)libs\service;$(SolutionDir)rpc_interface;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\user;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\user;$(SolutionDir)external\usersim\inc;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winuser;$(SolutionDir)libs\execution_context;$(SolutionDir)tests\end_to_end;$(SolutionDir)tests\sample;$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)\tests\xdp;$(SolutionDir)tools\export_program_info;$(SolutionDir)libs\thunk;$(SolutionDir)libs\thunk\mock;$(SolutionDir)\netebpfext;$(SolutionDir)external\catch2\src;$(SolutionDir)external\catch2\build\generated-includes;$(SolutionDir)external\bpftool;$(SolutionDir)include\user;$(SolutionDir)tests\external\kissfft;$(SolutionDir)undocked\tests\sample\ext\inc;%(AdditionalIncludeDirectories) Console diff --git a/tools/export_program_info/export_program_info.cpp b/tools/export_program_info/export_program_info.cpp index 7486979aa6..4ecb7248d7 100644 --- a/tools/export_program_info/export_program_info.cpp +++ b/tools/export_program_info/export_program_info.cpp @@ -7,6 +7,7 @@ #include "ebpf_nethooks.h" #include "ebpf_store_helper.h" #include "export_program_info.h" +#include "net_ebpf_ext_program_info.h" #include "store_helper_internal.h" #include "windows_program_type.h" @@ -14,9 +15,6 @@ #include "ebpf_general_helpers.c" -#define REG_CREATE_FLAGS (KEY_WRITE | DELETE | KEY_READ) -#define REG_OPEN_FLAGS (DELETE | KEY_READ) - // Export XDP program information to allow for our unit tests to mock the XDP API surface. static const ebpf_program_info_t _mock_xdp_program_info = { {"xdp", &_ebpf_xdp_test_context_descriptor, EBPF_PROGRAM_TYPE_XDP_GUID, BPF_PROG_TYPE_XDP}, @@ -29,17 +27,13 @@ typedef struct _ebpf_program_section_info_with_count size_t section_info_count; } ebpf_program_section_info_with_count_t; -static const ebpf_program_info_t* program_information_array[] = { +static const ebpf_program_info_t* _program_information_array[] = { &_ebpf_bind_program_info, &_ebpf_sock_addr_program_info, &_ebpf_sock_ops_program_info, &_mock_xdp_program_info, - &_sample_ebpf_extension_program_info, &_ebpf_xdp_test_program_info}; -ebpf_program_section_info_t _sample_ext_section_info[] = { - {L"sample_ext", &EBPF_PROGRAM_TYPE_SAMPLE, &EBPF_ATTACH_TYPE_SAMPLE, BPF_PROG_TYPE_SAMPLE, BPF_ATTACH_TYPE_SAMPLE}}; - ebpf_program_section_info_t _mock_xdp_section_info[] = { {L"xdp", &EBPF_PROGRAM_TYPE_XDP, &EBPF_ATTACH_TYPE_XDP, BPF_PROG_TYPE_XDP, BPF_XDP}}; @@ -48,7 +42,6 @@ static std::vector _section_information {&_mock_xdp_section_info[0], _countof(_mock_xdp_section_info)}, {&_ebpf_sock_addr_section_info[0], _countof(_ebpf_sock_addr_section_info)}, {&_ebpf_sock_ops_section_info[0], _countof(_ebpf_sock_ops_section_info)}, - {&_sample_ext_section_info[0], _countof(_sample_ext_section_info)}, {&_ebpf_xdp_test_section_info[0], _countof(_ebpf_xdp_test_section_info)}, }; @@ -56,9 +49,9 @@ uint32_t export_all_program_information() { uint32_t status = ERROR_SUCCESS; - size_t array_size = _countof(program_information_array); + size_t array_size = _countof(_program_information_array); for (uint32_t i = 0; i < array_size; i++) { - status = ebpf_store_update_program_information(program_information_array[i], 1); + status = ebpf_store_update_program_information(_program_information_array[i], 1); if (status != ERROR_SUCCESS) { break; } @@ -89,10 +82,37 @@ export_global_helper_information() } uint32_t -clear_all_ebpf_stores() +clear_ebpf_store() { - std::cout << "Clearing eBPF store" << std::endl; - return ebpf_store_clear(ebpf_store_root_key); + ebpf_result_t result = EBPF_SUCCESS; + ebpf_result_t return_result = EBPF_SUCCESS; + + std::cout << "Clearing eBPF store (docked)" << std::endl; + for (const auto& section : _section_information) { + for (size_t i = 0; i < section.section_info_count; i++) { + result = ebpf_store_delete_section_information(section.section_info + i); + if (result != EBPF_SUCCESS && result != EBPF_FILE_NOT_FOUND) { + std::cout << "Failed to delete section information" << std::endl; + return_result = result; + } + } + } + for (const auto& program : _program_information_array) { + result = ebpf_store_delete_program_information(program); + if (result != EBPF_SUCCESS && result != EBPF_FILE_NOT_FOUND) { + std::cout << "Failed to delete program information" << std::endl; + return_result = result; + } + } + for (size_t i = 0; i < ebpf_core_helper_functions_count; i++) { + result = ebpf_store_delete_global_helper_information(ebpf_core_helper_function_prototype + i); + if (result != EBPF_SUCCESS && result != EBPF_FILE_NOT_FOUND) { + std::cout << "Failed to delete global helper information" << std::endl; + return_result = result; + } + } + + return return_result; } void diff --git a/tools/export_program_info/export_program_info.h b/tools/export_program_info/export_program_info.h index 4d2c0473f6..46f1df492a 100644 --- a/tools/export_program_info/export_program_info.h +++ b/tools/export_program_info/export_program_info.h @@ -25,4 +25,4 @@ int export_global_helper_information(); uint32_t -clear_all_ebpf_stores(); +clear_ebpf_store(); diff --git a/tools/export_program_info/export_program_info.vcxproj b/tools/export_program_info/export_program_info.vcxproj index 348703c830..5a0f1bf9e8 100644 --- a/tools/export_program_info/export_program_info.vcxproj +++ b/tools/export_program_info/export_program_info.vcxproj @@ -147,8 +147,6 @@ $(OutputPath)export_program_info.exe cd /d $(OutputPath) -copy ..\Debug\usersim.dll . -copy ..\Debug\usersim.pdb . $(OutputPath)export_program_info.exe --clear $(OutputPath)export_program_info.exe @@ -172,8 +170,6 @@ $(OutputPath)export_program_info.exe cd /d $(OutputPath) -copy ..\Debug\usersim.dll . -copy ..\Debug\usersim.pdb . $(OutputPath)export_program_info.exe --clear $(OutputPath)export_program_info.exe @@ -224,8 +220,6 @@ $(OutputPath)export_program_info.exe cd /d $(OutputPath) -copy ..\Release\usersim.dll . -copy ..\Release\usersim.pdb . $(OutputPath)export_program_info.exe --clear $(OutputPath)export_program_info.exe diff --git a/tools/export_program_info/main.cpp b/tools/export_program_info/main.cpp index 2b5e3df03f..bb7d0b1be4 100644 --- a/tools/export_program_info/main.cpp +++ b/tools/export_program_info/main.cpp @@ -12,7 +12,7 @@ main(int argc, char** argv) { bool clear = false; - if (argc != 1 && argc != 2) { + if (argc > 2) { print_help(argv[0]); return 1; } @@ -48,9 +48,9 @@ main(int argc, char** argv) } } else { std::cout << "Clearing eBPF store." << std::endl; - status = clear_all_ebpf_stores(); + status = clear_ebpf_store(); if (status != EBPF_SUCCESS) { - std::cout << "Failed clear_all_ebpf_stores() - ERROR #" << status << std::endl; + std::cout << "Failed clear_ebpf_store() - ERROR #" << status << std::endl; } } diff --git a/tools/nuget/nuget.vcxproj b/tools/nuget/nuget.vcxproj index 4bf69db60f..6572aa16da 100644 --- a/tools/nuget/nuget.vcxproj +++ b/tools/nuget/nuget.vcxproj @@ -94,6 +94,14 @@ Console true + + pushd $(OutDir) +if not exist "$(OutDir)undocked" mkdir "$(OutDir)undocked" +type nul > $(OutDir)undocked\ebpf-for-windows.zip +xcopy $(OutDir)*.nupkg /F /Y $(OutDir)undocked\ebpf-for-windows.zip +powershell -NonInteractive -ExecutionPolicy Unrestricted -command "Expand-Archive $(OutDir)undocked\ebpf-for-windows.zip -DestinationPath $(OutDir)undocked\ebpf-for-windows -Force" +popd $(OutDir) + @@ -106,6 +114,14 @@ Console true + + pushd $(OutDir) +if not exist "$(OutDir)undocked" mkdir "$(OutDir)undocked" +type nul > $(OutDir)undocked\ebpf-for-windows.zip +xcopy $(OutDir)*.nupkg /F /Y $(OutDir)undocked\ebpf-for-windows.zip +powershell -NonInteractive -ExecutionPolicy Unrestricted -command "Expand-Archive $(OutDir)undocked\ebpf-for-windows.zip -DestinationPath $(OutDir)undocked\ebpf-for-windows -Force" +popd $(OutDir) + @@ -122,6 +138,14 @@ true true + + pushd $(OutDir) +if not exist "$(OutDir)undocked" mkdir "$(OutDir)undocked" +type nul > $(OutDir)undocked\ebpf-for-windows.zip +xcopy $(OutDir)*.nupkg /F /Y $(OutDir)undocked\ebpf-for-windows.zip +powershell -NonInteractive -ExecutionPolicy Unrestricted -command "Expand-Archive $(OutDir)undocked\ebpf-for-windows.zip -DestinationPath $(OutDir)undocked\ebpf-for-windows -Force" +popd $(OutDir) + @@ -138,6 +162,14 @@ true true + + pushd $(OutDir) +if not exist "$(OutDir)undocked" mkdir "$(OutDir)undocked" +type nul > $(OutDir)undocked\ebpf-for-windows.zip +xcopy $(OutDir)*.nupkg /F /Y $(OutDir)undocked\ebpf-for-windows.zip +powershell -NonInteractive -ExecutionPolicy Unrestricted -command "Expand-Archive $(OutDir)undocked\ebpf-for-windows.zip -DestinationPath $(OutDir)undocked\ebpf-for-windows -Force" +popd $(OutDir) + diff --git a/tests/sample/ext/drv/sample_ext.c b/undocked/tests/sample/ext/drv/sample_ext.c similarity index 95% rename from tests/sample/ext/drv/sample_ext.c rename to undocked/tests/sample/ext/drv/sample_ext.c index 8e28e2eaaa..2a4c645187 100644 --- a/tests/sample/ext/drv/sample_ext.c +++ b/undocked/tests/sample/ext/drv/sample_ext.c @@ -8,8 +8,9 @@ #define INITGUID +#include "cxplat.h" +#include "ebpf_extension.h" #include "ebpf_extension_uuids.h" -#include "ebpf_platform.h" #include "ebpf_program_types.h" #include "ebpf_store_helper.h" #include "ebpf_structs.h" @@ -17,10 +18,17 @@ #include "sample_ext_ioctls.h" #include "sample_ext_program_info.h" +#include +#include + #define SAMPLE_EBPF_EXTENSION_NPI_PROVIDER_VERSION 0 #define SAMPLE_PID_TGID_VALUE 9999 +#define SAMPLE_EXT_POOL_TAG_DEFAULT 'lpms' + +#define CXPLAT_FREE(x) cxplat_free(x, CXPLAT_POOL_FLAG_NON_PAGED, SAMPLE_EXT_POOL_TAG_DEFAULT) + // Sample Extension helper function addresses table. static uint64_t _sample_get_pid_tgid(); @@ -277,14 +285,15 @@ _sample_ebpf_extension_program_info_provider_attach_client( *provider_binding_context = NULL; *provider_dispatch = NULL; - program_info_client = (sample_ebpf_extension_program_info_client_t*)ebpf_allocate( - sizeof(sample_ebpf_extension_program_info_client_t)); - + program_info_client = cxplat_allocate( + CXPLAT_POOL_FLAG_NON_PAGED, sizeof(sample_ebpf_extension_program_info_client_t), SAMPLE_EXT_POOL_TAG_DEFAULT); if (program_info_client == NULL) { status = STATUS_NO_MEMORY; goto Exit; } + RtlZeroMemory(program_info_client, sizeof(sample_ebpf_extension_program_info_client_t)); + program_info_client->nmr_binding_handle = nmr_binding_handle; program_info_client->client_module_id = client_registration_instance->ModuleId->Guid; @@ -292,8 +301,8 @@ _sample_ebpf_extension_program_info_provider_attach_client( if (NT_SUCCESS(status)) { *provider_binding_context = program_info_client; program_info_client = NULL; - } else { - ebpf_free(program_info_client); + } else if (program_info_client != NULL) { + CXPLAT_FREE(program_info_client); } return status; } @@ -311,7 +320,7 @@ _sample_ebpf_extension_program_info_provider_detach_client(_In_ const void* prov static void _sample_ebpf_extension_program_info_provider_cleanup_binding_context(_Frees_ptr_ void* provider_binding_context) { - ebpf_free(provider_binding_context); + CXPLAT_FREE(provider_binding_context); } void @@ -425,7 +434,14 @@ _sample_ebpf_extension_hook_provider_attach_client( *provider_binding_context = NULL; *provider_dispatch = NULL; - hook_client = (sample_ebpf_extension_hook_client_t*)ebpf_allocate(sizeof(sample_ebpf_extension_hook_client_t)); + hook_client = cxplat_allocate( + CXPLAT_POOL_FLAG_NON_PAGED, sizeof(sample_ebpf_extension_hook_client_t), SAMPLE_EXT_POOL_TAG_DEFAULT); + if (hook_client == NULL) { + status = STATUS_NO_MEMORY; + goto Exit; + } + + RtlZeroMemory(hook_client, sizeof(sample_ebpf_extension_hook_client_t)); if (hook_client == NULL) { status = STATUS_NO_MEMORY; @@ -453,8 +469,8 @@ _sample_ebpf_extension_hook_provider_attach_client( if (NT_SUCCESS(status)) { *provider_binding_context = hook_client; hook_client = NULL; - } else { - ebpf_free(hook_client); + } else if (hook_client != NULL) { + CXPLAT_FREE(hook_client); } return status; @@ -484,7 +500,7 @@ _sample_ebpf_extension_hook_provider_detach_client(_In_ const void* provider_bin static void _sample_ebpf_extension_hook_provider_cleanup_binding_context(_Frees_ptr_ void* provider_binding_context) { - ebpf_free(provider_binding_context); + CXPLAT_FREE(provider_binding_context); } void @@ -743,7 +759,8 @@ _sample_context_create( goto Exit; } - sample_context = (sample_program_context_t*)ebpf_allocate(sizeof(sample_program_context_t)); + sample_context = + cxplat_allocate(CXPLAT_POOL_FLAG_NON_PAGED, sizeof(sample_program_context_t), SAMPLE_EXT_POOL_TAG_DEFAULT); if (sample_context == NULL) { result = EBPF_NO_MEMORY; goto Exit; @@ -757,7 +774,7 @@ _sample_context_create( Exit: if (sample_context != NULL) { - ebpf_free(sample_context); + CXPLAT_FREE(sample_context); } return result; @@ -786,5 +803,5 @@ _sample_context_destroy( *context_size_out = 0; } - ebpf_free(context); + CXPLAT_FREE(context); } diff --git a/tests/sample/ext/drv/sample_ext.h b/undocked/tests/sample/ext/drv/sample_ext.h similarity index 97% rename from tests/sample/ext/drv/sample_ext.h rename to undocked/tests/sample/ext/drv/sample_ext.h index 0c01992991..26743f43e2 100644 --- a/tests/sample/ext/drv/sample_ext.h +++ b/undocked/tests/sample/ext/drv/sample_ext.h @@ -7,9 +7,12 @@ * @brief Header file for structures/prototypes of the driver. */ -#include "ebpf_platform.h" +#include "ebpf_extension.h" #include "sample_ext_ioctls.h" +#include // Must be included before ntddk.h +#include + typedef struct _sample_program_context sample_program_context_t; /** diff --git a/tests/sample/ext/drv/sample_ext.vcxproj b/undocked/tests/sample/ext/drv/sample_ext.vcxproj similarity index 79% rename from tests/sample/ext/drv/sample_ext.vcxproj rename to undocked/tests/sample/ext/drv/sample_ext.vcxproj index 13134f6000..e612c58d61 100644 --- a/tests/sample/ext/drv/sample_ext.vcxproj +++ b/undocked/tests/sample/ext/drv/sample_ext.vcxproj @@ -98,19 +98,19 @@ DbgengKernelDebugger - $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH);$(SolutionDir)\libs\store_helper + $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH) DbgengKernelDebugger - $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH);$(SolutionDir)\libs\store_helper + $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH) DbgengKernelDebugger - $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH);$(SolutionDir)\libs\store_helper + $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH) DbgengKernelDebugger - $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH);$(SolutionDir)\libs\store_helper + $(IncludePath);$(KMDF_INC_PATH)$(KMDF_VER_PATH) @@ -118,8 +118,8 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)include;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\kernel;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\kernel;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel;$(OutputPath);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)include\kernel - %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel + %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO;_NO_CRT_STDIO_INLINE=1 @@ -139,8 +139,8 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)include;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\kernel;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\kernel;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel;$(OutputPath);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)include\kernel - %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel + %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO;_NO_CRT_STDIO_INLINE=1 @@ -160,8 +160,8 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)include;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\kernel;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\kernel;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel;$(OutputPath);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)include\kernel - %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel + %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO;_NO_CRT_STDIO_INLINE=1 @@ -181,8 +181,8 @@ %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO - %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)tests\sample\ext\inc;$(SolutionDir)include;$(SolutionDir)libs\runtime;$(SolutionDir)libs\runtime\kernel;$(SolutionDir)libs\shared;$(SolutionDir)libs\shared\kernel;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel;$(OutputPath);$(SolutionDir)external\ebpf-verifier\src;$(SolutionDir)include\kernel - %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO + %(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;$(SolutionDir)external\usersim\cxplat\inc;$(SolutionDir)external\usersim\cxplat\inc\winkernel + %(PreprocessorDefinitions);BINARY_COMPATIBLE=0;NT;UNICODE;_UNICODE;NDIS60;POOL_NX_OPTIN_AUTO;_NO_CRT_STDIO_INLINE=1 @@ -208,16 +208,10 @@ - - {26e7ed0b-c128-4d7c-a90e-c246def40ad3} - - + {1ebe3966-7dc4-49b4-b840-3d33d63415ec} - - {fc3f9998-4085-4767-8386-5453f07c3aad} - - + {3569e946-c8b4-49ee-a89d-edd09dc9f36e} diff --git a/tests/sample/ext/drv/sample_ext.vcxproj.filters b/undocked/tests/sample/ext/drv/sample_ext.vcxproj.filters similarity index 100% rename from tests/sample/ext/drv/sample_ext.vcxproj.filters rename to undocked/tests/sample/ext/drv/sample_ext.vcxproj.filters diff --git a/tests/sample/ext/drv/sample_ext_drv.c b/undocked/tests/sample/ext/drv/sample_ext_drv.c similarity index 99% rename from tests/sample/ext/drv/sample_ext_drv.c rename to undocked/tests/sample/ext/drv/sample_ext_drv.c index b2e98002be..1fc7f51399 100644 --- a/tests/sample/ext/drv/sample_ext_drv.c +++ b/undocked/tests/sample/ext/drv/sample_ext_drv.c @@ -7,7 +7,6 @@ * Registers as an eBPF extension program information provider and hook provider. */ -#include "ebpf_platform.h" #include "sample_ext.h" #include "sample_ext_helpers.h" #include "sample_ext_ioctls.h" diff --git a/tests/sample/ext/inc/sample_ext_helpers.h b/undocked/tests/sample/ext/inc/sample_ext_helpers.h similarity index 90% rename from tests/sample/ext/inc/sample_ext_helpers.h rename to undocked/tests/sample/ext/inc/sample_ext_helpers.h index cdd89d7eb4..4de0eaab8d 100644 --- a/tests/sample/ext/inc/sample_ext_helpers.h +++ b/undocked/tests/sample/ext/inc/sample_ext_helpers.h @@ -8,7 +8,15 @@ * exposed by the sample extension. */ +#if !defined(NO_CRT) && !defined(_NO_CRT_STDIO_INLINE) #include +#else +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; +typedef long long int64_t; +#endif // Sample extension program context. typedef struct _sample_program_context diff --git a/tests/sample/ext/inc/sample_ext_ioctls.h b/undocked/tests/sample/ext/inc/sample_ext_ioctls.h similarity index 100% rename from tests/sample/ext/inc/sample_ext_ioctls.h rename to undocked/tests/sample/ext/inc/sample_ext_ioctls.h diff --git a/tests/sample/ext/inc/sample_ext_program_info.h b/undocked/tests/sample/ext/inc/sample_ext_program_info.h similarity index 95% rename from tests/sample/ext/inc/sample_ext_program_info.h rename to undocked/tests/sample/ext/inc/sample_ext_program_info.h index 441565ec8d..556af60d9d 100644 --- a/tests/sample/ext/inc/sample_ext_program_info.h +++ b/undocked/tests/sample/ext/inc/sample_ext_program_info.h @@ -8,12 +8,14 @@ */ #include "ebpf_program_attach_type_guids.h" // TODO(issue #2305): remove this include. -#include "ebpf_shared_framework.h" #include "ebpf_structs.h" #include "sample_ext_helpers.h" #define SAMPLE_EXT_HELPER_FUNCTION_START EBPF_MAX_GENERAL_HELPER_FUNCTION +#define EBPF_COUNT_OF(arr) (sizeof(arr) / sizeof(arr[0])) +#define EBPF_OFFSET_OF(s, m) (((size_t) & ((s*)0)->m)) + static const ebpf_context_descriptor_t _sample_ebpf_context_descriptor = { sizeof(sample_program_context_t), EBPF_OFFSET_OF(sample_program_context_t, data_start), diff --git a/undocked/tools/export_program_info_sample/export_program_info_sample.cpp b/undocked/tools/export_program_info_sample/export_program_info_sample.cpp new file mode 100644 index 0000000000..bccd414b9d --- /dev/null +++ b/undocked/tools/export_program_info_sample/export_program_info_sample.cpp @@ -0,0 +1,92 @@ +// Copyright (c) Microsoft Corporation +// SPDX-License-Identifier: MIT + +#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING + +#include "ebpf_api.h" +#include "ebpf_extension.h" +#include "ebpf_program_types.h" +#include "ebpf_store_helper.h" +#include "sample_ext_program_info.h" + +#include +#include +#include + +#define REG_CREATE_FLAGS (KEY_WRITE | DELETE | KEY_READ) +#define REG_OPEN_FLAGS (DELETE | KEY_READ) + +typedef struct _ebpf_program_section_info_with_count +{ + _Field_size_(section_info_count) const ebpf_program_section_info_t* section_info; + size_t section_info_count; +} ebpf_program_section_info_with_count_t; + +static const ebpf_program_info_t* _program_information_array[] = {&_sample_ebpf_extension_program_info}; + +ebpf_program_section_info_t _sample_ext_section_info[] = { + {L"sample_ext", &EBPF_PROGRAM_TYPE_SAMPLE, &EBPF_ATTACH_TYPE_SAMPLE, BPF_PROG_TYPE_SAMPLE, BPF_ATTACH_TYPE_SAMPLE}}; + +static std::vector _section_information = { + {&_sample_ext_section_info[0], _countof(_sample_ext_section_info)}, +}; + +uint32_t +export_program_information() +{ + uint32_t status = ERROR_SUCCESS; + size_t array_size = _countof(_program_information_array); + for (uint32_t i = 0; i < array_size; i++) { + status = ebpf_store_update_program_information(_program_information_array[i], 1); + if (status != ERROR_SUCCESS) { + break; + } + } + + return status; +} + +uint32_t +export_section_information() +{ + uint32_t status = ERROR_SUCCESS; + for (const auto& section : _section_information) { + status = ebpf_store_update_section_information(section.section_info, (uint32_t)section.section_info_count); + if (status != ERROR_SUCCESS) { + break; + } + } + + return status; +} + +uint32_t +clear_ebpf_store() +{ + ebpf_result_t result = EBPF_SUCCESS; + ebpf_result_t return_result = EBPF_SUCCESS; + + std::cout << "Clearing eBPF store (undocked)" << std::endl; + for (const auto& section : _sample_ext_section_info) { + result = ebpf_store_delete_section_information(§ion); + if (result != EBPF_SUCCESS && result != EBPF_FILE_NOT_FOUND) { + std::cout << "Failed to delete section information" << std::endl; + return_result = result; + } + } + for (const auto& program : _program_information_array) { + result = ebpf_store_delete_program_information(program); + if (result != EBPF_SUCCESS && result != EBPF_FILE_NOT_FOUND) { + std::cout << "Failed to delete program information" << std::endl; + return_result = result; + } + } + + return return_result; +} + +void +print_help(_In_z_ const char* file_name) +{ + std::cerr << "Usage: " << file_name << " [--clear]" << std::endl; +} \ No newline at end of file diff --git a/undocked/tools/export_program_info_sample/export_program_info_sample.h b/undocked/tools/export_program_info_sample/export_program_info_sample.h new file mode 100644 index 0000000000..860e80f8f1 --- /dev/null +++ b/undocked/tools/export_program_info_sample/export_program_info_sample.h @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation +// SPDX-License-Identifier: MIT + +#pragma once + +#include "ebpf_program_types.h" + +extern "C" +{ + extern ebpf_helper_function_prototype_t* ebpf_core_helper_function_prototype; + extern uint32_t ebpf_core_helper_functions_count; +} + +void +print_help(_In_z_ const char* file_name); + +uint32_t +export_program_information(); + +uint32_t +export_section_information(); + +uint32_t +clear_ebpf_store(); + +void +print_help(_In_z_ const char* file_name); \ No newline at end of file diff --git a/undocked/tools/export_program_info_sample/export_program_info_sample.vcxproj b/undocked/tools/export_program_info_sample/export_program_info_sample.vcxproj new file mode 100644 index 0000000000..5ccd3a71f7 --- /dev/null +++ b/undocked/tools/export_program_info_sample/export_program_info_sample.vcxproj @@ -0,0 +1,246 @@ + + + + + + Debug + x64 + + + FuzzerDebug + x64 + + + NativeOnlyDebug + x64 + + + NativeOnlyRelease + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {21C137EC-9AE3-4C8C-8E74-8BFCC999D856} + encodeprograminfo + 10.0 + export_program_info_sample + + + + Application + true + v143 + Unicode + + + Application + true + v143 + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + Unicode + + + Application + false + v143 + Unicode + + + + + + + + + + + + + + + + + + + + + + + + false + Link + $(VC_IncludePath);$(WindowsSDK_IncludePath) + + + false + Link + $(VC_IncludePath);$(WindowsSDK_IncludePath) + + + false + Link + $(VC_IncludePath);$(WindowsSDK_IncludePath) + + + false + Link + $(VC_IncludePath);$(WindowsSDK_IncludePath) + + + false + Link + $(VC_IncludePath);$(WindowsSDK_IncludePath) + + + + _DEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE + true + $(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;%(AdditionalIncludeDirectories) + + + Console + true + mincore.lib;%(AdditionalDependencies) + + + cd /d $(OutputPath) +$(OutputPath)export_program_info_sample.exe --clear +$(OutputPath)export_program_info_sample.exe + + + Exporting Program Information + + + $(OutputPath)ebpf_bind_program_data.h;$(OutputPath)ebpf_xdp_program_data.h;%(Outputs) + + + + + _DEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE + true + $(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;%(AdditionalIncludeDirectories) + + + Console + true + mincore.lib;%(AdditionalDependencies) + + + cd /d $(OutputPath) +$(OutputPath)export_program_info_sample.exe --clear +$(OutputPath)export_program_info_sample.exe + + + Exporting Program Information + + + $(OutputPath)ebpf_bind_program_data.h;$(OutputPath)ebpf_xdp_program_data.h;%(Outputs) + + + + + _DEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE + true + $(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;%(AdditionalIncludeDirectories) + + + Console + true + mincore.lib;%(AdditionalDependencies) + + + cd /d $(OutputPath) +$(OutputPath)export_program_info_sample.exe --clear +$(OutputPath)export_program_info_sample.exe + + + Exporting Program Information + + + $(OutputPath)ebpf_bind_program_data.h;$(OutputPath)ebpf_xdp_program_data.h;%(Outputs) + + + + + NDEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE + true + $(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;%(AdditionalIncludeDirectories) + + + Console + true + true + true + mincore.lib;%(AdditionalDependencies) + + + cd /d $(OutputPath) +$(OutputPath)export_program_info_sample.exe --clear +$(OutputPath)export_program_info_sample.exe + + + Exporting Program Information + + + $(OutputPath)ebpf_bind_program_data.h;$(OutputPath)ebpf_xdp_program_data.h;%(Outputs) + + + + + NDEBUG;_CONSOLE;%(PreprocessorDefinitions);USER_MODE + true + $(SolutionDir)undocked\tests\sample\ext\inc;$(OutDir)undocked\ebpf-for-windows\build\native\include;%(AdditionalIncludeDirectories) + + + Console + true + true + true + mincore.lib;%(AdditionalDependencies) + + + cd /d $(OutputPath) +$(OutputPath)export_program_info_sample.exe --clear +$(OutputPath)export_program_info_sample.exe + + + Exporting Program Information + + + $(OutputPath)ebpf_bind_program_data.h;$(OutputPath)ebpf_xdp_program_data.h;%(Outputs) + + + + + + + + + + + + {75fe223a-3e45-4b0e-a2e8-04285e52e440} + + + + \ No newline at end of file diff --git a/undocked/tools/export_program_info_sample/export_program_info_sample.vcxproj.filters b/undocked/tools/export_program_info_sample/export_program_info_sample.vcxproj.filters new file mode 100644 index 0000000000..05b3a357d2 --- /dev/null +++ b/undocked/tools/export_program_info_sample/export_program_info_sample.vcxproj.filters @@ -0,0 +1,34 @@ + + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + Source Files + + + + + Header Files + + + \ No newline at end of file diff --git a/undocked/tools/export_program_info_sample/main.cpp b/undocked/tools/export_program_info_sample/main.cpp new file mode 100644 index 0000000000..9f8b325a4a --- /dev/null +++ b/undocked/tools/export_program_info_sample/main.cpp @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation +// SPDX-License-Identifier: MIT + +#include "export_program_info_sample.h" + +#include +#include +#include + +int +main(int argc, char** argv) +{ + uint32_t status; + bool clear = false; + + if (argc > 2) { + print_help(argv[0]); + return 1; + } + if (argc == 2) { + std::string option(argv[1]); + if (option == "--clear") { + clear = true; + } else { + print_help(argv[0]); + return 1; + } + } + + if (!clear) { + std::cout << "Exporting program information for sample extension." << std::endl; + status = export_program_information(); + if (status != ERROR_SUCCESS) { + std::cout << "Failed export_program_information() - ERROR #" << status << std::endl; + } + + std::cout << "Exporting section information for sample extension." << std::endl; + status = export_section_information(); + if (status != ERROR_SUCCESS) { + std::cout << "Failed export_section_information() - ERROR #" << status << std::endl; + } + } else { + std::cout << "Clearing eBPF store for sample extension." << std::endl; + status = clear_ebpf_store(); + if (status != EBPF_SUCCESS) { + std::cout << "Failed clear_ebpf_store() - ERROR #" << status << std::endl; + } + } + + return 0; +}