diff options
author | Shravan Narayan <shravanrn@gmail.com> | 2024-03-17 15:35:54 -0500 |
---|---|---|
committer | Shravan Narayan <shravanrn@gmail.com> | 2024-03-18 16:09:10 -0500 |
commit | 373724bce78902fc5a4b748d274f04f6d07e212a (patch) | |
tree | 0709c6411884b0497f1e3c2835e9d6591636bacf /.github | |
parent | bfcd0a10864e7e70b7aaad59141dffb9d29f05fe (diff) | |
download | wabt-373724bce78902fc5a4b748d274f04f6d07e212a.tar.gz wabt-373724bce78902fc5a4b748d274f04f6d07e212a.tar.bz2 wabt-373724bce78902fc5a4b748d274f04f6d07e212a.zip |
wasm2c: Fix periodic ASLR related crashes in sanitizer builds
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d337630f..331f0108 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,6 +116,8 @@ jobs: with: submodules: true - run: sudo apt-get install ninja-build + - name: workaround for ASLR+ASAN compatibility # See https://github.com/actions/runner/issues/3207 + run: sudo sysctl -w vm.mmap_rnd_bits=28 - run: make clang-${{ matrix.type }}-${{ matrix.sanitizer }} - if: ${{ matrix.sanitizer }} != fuzz run: make test-clang-${{ matrix.type }}-${{ matrix.sanitizer }} @@ -134,6 +136,8 @@ jobs: with: submodules: true - run: sudo apt-get install ninja-build + - name: workaround for ASLR+ASAN compatibility # See https://github.com/actions/runner/issues/3207 + run: sudo sysctl -w vm.mmap_rnd_bits=28 - run: make clang-debug-asan - run: make test-clang-debug-asan |