Skip to content

Commit dc0add3

Browse files
gh-158868: Reduce ASLR in the MSan CI job (#158872)
1 parent 3f9118f commit dc0add3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/reusable-san.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ jobs:
7272
- name: MSan option setup
7373
if: inputs.sanitizer == 'MSan'
7474
run: |
75+
sudo sysctl -w vm.mmap_rnd_bits=28 # Reduce ASLR to avoid MSan re-executing
76+
7577
echo "MSAN_OPTIONS=${SAN_LOG_OPTION} allocator_may_return_null=1 handle_segv=0" >> "$GITHUB_ENV"
7678
# MSan reports false positives for memory initialized by libraries
7779
# that are not built with MSan, so disable modules that use them.

0 commit comments

Comments
 (0)