feat:Prevent segmentation fault in probe_read & probe_write #368
84.21% of diff hit (target 52.80%)
View this Pull Request on Codecov
84.21% of diff hit (target 52.80%)
Annotations
Check warning on line 108 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L108
Added line #L108 was not covered by tests
Check warning on line 112 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L110-L112
Added lines #L110 - L112 were not covered by tests
Check warning on line 135 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L135
Added line #L135 was not covered by tests
Check warning on line 141 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L140-L141
Added lines #L140 - L141 were not covered by tests
Check warning on line 144 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L144
Added line #L144 was not covered by tests
Check warning on line 157 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L156-L157
Added lines #L156 - L157 were not covered by tests
Check warning on line 163 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L162-L163
Added lines #L162 - L163 were not covered by tests
Check warning on line 191 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L191
Added line #L191 was not covered by tests
Check warning on line 195 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L193-L195
Added lines #L193 - L195 were not covered by tests
Check warning on line 218 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L218
Added line #L218 was not covered by tests
Check warning on line 224 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L223-L224
Added lines #L223 - L224 were not covered by tests
Check warning on line 228 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L228
Added line #L228 was not covered by tests
Check warning on line 241 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L240-L241
Added lines #L240 - L241 were not covered by tests
Check warning on line 248 in runtime/src/bpf_helper.cpp
codecov / codecov/patch
runtime/src/bpf_helper.cpp#L247-L248
Added lines #L247 - L248 were not covered by tests
Check warning on line 99 in runtime/unit-test/test_probe.cpp
codecov / codecov/patch
runtime/unit-test/test_probe.cpp#L99
Added line #L99 was not covered by tests