Skip to content

Commit 6eb47f0

Browse files
grooverdanRazvanLiviuVarzaru
authored andcommitted
MDBF-1125: MSAN instrument curl libraries
This enables MSAN s3 tests to function correctly.
1 parent 4ca21f7 commit 6eb47f0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ci_build_images/msan.instrumentedlibs.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,13 @@ rm -rf -- *
179179
# shellcheck disable=SC2094
180180
/usr/sbin/cracklib-packer /usr/share/dict/cracklib-small < /usr/share/dict/cracklib-small
181181

182+
# curl
183+
apt-get source curl
184+
mv curl*/* .
185+
./configure --with-openssl --enable-ipv6 --disable-static --enable-websockets
186+
make -j "$(nproc)"
187+
mv ./lib/.libs/*.so* "$MSAN_LIBDIR"
188+
rm -rf -- *
182189

183190
# Now that we are built, clear out all the temporary build dependencies
184191
apt-get clean

0 commit comments

Comments
 (0)