File tree 3 files changed +6
-4
lines changed
tools/export_program_info
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -161,8 +161,8 @@ jobs:
161
161
if : matrix.configurations == 'Release' && inputs.generate_release_package == true
162
162
working-directory : ${{env.GITHUB_WORKSPACE}}
163
163
run : |
164
- cmake -S tools\setup -B package -DEBPFFORWINDOWS_PROGRAM_DATA="${{github.workspace}}\${{env.BUILD_PLATFORM}}\${{env.BUILD_CONFIGURATION}}\package_data" "-DEBPFFORWINDOWS_VERSION=0.2.0" -DCPACK_GENERATOR=WIX
165
- cmake --build package --target package
164
+ cmake -S tools\setup -B build\setup -DEBPFFORWINDOWS_PROGRAM_DATA="${{github.workspace}}\${{env.BUILD_PLATFORM}}\${{env.BUILD_CONFIGURATION}}\package_data" "-DEBPFFORWINDOWS_VERSION=0.2.0" -DCPACK_GENERATOR=WIX
165
+ cmake --build build\setup --target package
166
166
167
167
- name : Locate the packages
168
168
if : matrix.configurations == 'Release' && inputs.generate_release_package == true
Original file line number Diff line number Diff line change @@ -127,7 +127,9 @@ function Install-eBPFComponents
127
127
128
128
# Copy all binaries to system32.
129
129
Copy-Item * .sys - Destination " $Env: systemroot \system32\drivers" - Force - ErrorAction Stop 2>&1 | Write-Log
130
- Copy-Item drivers\* .sys - Destination " $Env: systemroot \system32\drivers" - Force - ErrorAction Stop 2>&1 | Write-Log
130
+ if (Test-Path - Path " drivers" ) {
131
+ Copy-Item drivers\* .sys - Destination " $Env: systemroot \system32\drivers" - Force - ErrorAction Stop 2>&1 | Write-Log
132
+ }
131
133
if (Test-Path - Path " testing\testing" ) {
132
134
Copy-Item testing\testing\* .sys - Destination " $Env: systemroot \system32\drivers" - Force - ErrorAction Stop 2>&1 | Write-Log
133
135
}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ ebpf_registry_key_t ebpf_root_registry_key = HKEY_CURRENT_USER;
21
21
22
22
typedef struct _ebpf_program_section_info_with_count
23
23
{
24
- ebpf_program_section_info_t * section_info;
24
+ _Field_size_ (section_info_count) ebpf_program_section_info_t * section_info;
25
25
size_t section_info_count;
26
26
} ebpf_program_section_info_with_count_t ;
27
27
You can’t perform that action at this time.
0 commit comments