Skip to content

Commit 3ee96e6

Browse files
committed
debug
1 parent 7f3a4c3 commit 3ee96e6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_info-bin.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ while [ -n "${1:-}" ]; do
7373
if [ "${is_curl}" = '1' ] && [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols
7474
"${NM}" --extern-only --defined-only "${f}" # -g -U
7575
"${NM}" --extern-only --defined-only "${f}" | grep -a -F ' _curl_' | sort || false # -g -U
76+
echo '---------------------------------------'
77+
echo '---------------------------------------'
7678
"${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_' && false # should not export anything else except the libcurl API
79+
echo '---------------------------------------'
80+
echo '---------------------------------------'
7781
fi
7882
elif [ "${_OS}" = 'linux' ]; then
7983
# NOTE: objdump -syms (-t) to show symbol visibility flags
@@ -111,7 +115,11 @@ while [ -n "${1:-}" ]; do
111115
if [ "${filetype}" != 'exe' ]; then # Verify exported curl symbols
112116
"${NM}" --dynamic --defined-only "${f}" # -D -U
113117
"${NM}" --dynamic --defined-only "${f}" | grep -a -F ' curl_' | sort || false # -D -U
118+
echo '---------------------------------------'
119+
echo '---------------------------------------'
114120
"${NM}" --dynamic --defined-only "${f}" | grep -a -F -v ' T curl_' && false # should not export anything else except the libcurl API
121+
echo '---------------------------------------'
122+
echo '---------------------------------------'
115123
fi
116124
# nm -D -g = --dynamic --extern-only
117125
fi

0 commit comments

Comments
 (0)