We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9d1ec commit 35208f7Copy full SHA for 35208f7
tests/playTests.sh
@@ -304,6 +304,15 @@ zstd -d -f tmp_corrupt.zst --no-check
304
zstd -d -f tmp_corrupt.zst --check --no-check # final flag overrides
305
zstd -d -f tmp.zst --no-check
306
307
+if [ "$isWindows" = false ]; then
308
+ if [ -n "$(which readelf)" ]; then
309
+ println "test: check if binary has executable stack"
310
+ file "$ZSTD_BIN"
311
+ readelf -lW "$ZSTD_BIN"
312
+ readelf -lW "$ZSTD_BIN" | grep 'GNU_STACK .* RW ' || die "zstd binary has executable stack!"
313
+ fi
314
+fi
315
+
316
println "\n===> zstdgrep tests"
317
ln -sf "$ZSTD_BIN" zstdcat
318
rm -f tmp_grep
0 commit comments