From c7925635408a54f2613c3b85d2f900bc19a7963b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 16 Oct 2024 03:37:20 +0200 Subject: [PATCH] debug --- _info-bin.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_info-bin.sh b/_info-bin.sh index 10cd4a2e9..3124d8e42 100755 --- a/_info-bin.sh +++ b/_info-bin.sh @@ -73,7 +73,11 @@ while [ -n "${1:-}" ]; do if [ "${is_curl}" = '1' ] && [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols "${NM}" --extern-only --defined-only "${f}" # -g -U "${NM}" --extern-only --defined-only "${f}" | grep -a -F ' _curl_' | sort || false # -g -U + echo '---------------------------------------' + echo '---------------------------------------' "${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_' && false # should not export anything else except the libcurl API + echo '---------------------------------------' + echo '---------------------------------------' fi elif [ "${_OS}" = 'linux' ]; then # NOTE: objdump -syms (-t) to show symbol visibility flags @@ -111,7 +115,11 @@ while [ -n "${1:-}" ]; do if [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols "${NM}" --dynamic --defined-only "${f}" # -D -U "${NM}" --dynamic --defined-only "${f}" | grep -a -F ' curl_' | sort || false # -D -U + echo '---------------------------------------' + echo '---------------------------------------' "${NM}" --dynamic --defined-only "${f}" | grep -a -F -v ' T curl_' && false # should not export anything else except the libcurl API + echo '---------------------------------------' + echo '---------------------------------------' fi # nm -D -g = --dynamic --extern-only fi