File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ compile_native_go_fuzzer ./fuzzer FuzzDNSTXT fuzz_dns_decode_txt
8383compile_native_go_fuzzer ./fuzzer FuzzEntryGroupLifecycle fuzz_entry_group
8484compile_native_go_fuzzer ./fuzzer FuzzServiceBrowserLifecycle fuzz_service_browser
8585
86- # RPATH fix: use patchelf to ensure $ORIGIN is set for all binaries
87- for fuzzer in fuzz_domain_normalize fuzz_domain_roundtrip fuzz_service_name fuzz_state_strings fuzz_string_array fuzz_client_lifecycle fuzz_dns_decode_a fuzz_dns_decode_aaaa fuzz_dns_decode_txt fuzz_entry_group fuzz_service_browser ; do
88- if [ -f " $OUT / $fuzzer " ]; then
89- patchelf --set-rpath ' $ORIGIN' " $OUT / $fuzzer "
86+ # RPATH fix: use patchelf to ensure $ORIGIN is set for all binaries AND libraries
87+ for f in " $OUT " / * ; do
88+ if [[ " $f " != * .zip && -f " $f " ] ]; then
89+ patchelf --set-rpath ' $ORIGIN:/out ' " $f " 2> /dev/null || true
9090 fi
9191done
You can’t perform that action at this time.
0 commit comments