Skip to content

Commit

Permalink
wasm2c: Fix periodic ASLR related crashes in sanitizer builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shravanrn committed Mar 18, 2024
1 parent bfcd0a1 commit 373724b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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

Expand Down

0 comments on commit 373724b

Please sign in to comment.