Skip to content

Disable ASLR when running tests/benchmarks#1587

Merged
d-e-s-o merged 1 commit into
libbpf:mainfrom
d-e-s-o:topic/aslr-no-more
Jun 10, 2026
Merged

Disable ASLR when running tests/benchmarks#1587
d-e-s-o merged 1 commit into
libbpf:mainfrom
d-e-s-o:topic/aslr-no-more

Conversation

@d-e-s-o

@d-e-s-o d-e-s-o commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

We try to minimize perturbance of benchmarks by "configuring" the system in a way to exhibit less noise during test runs. One thing we didn't cover is address space layout randomization. Disable it as well using setarch(8). The program is assumed to be present on virtually all systems by virtue of being part of util-linux.

We try to minimize perturbance of benchmarks by "configuring" the system
in a way to exhibit less noise during test runs. One thing we didn't
cover is address space layout randomization. Disable it as well using
setarch(8). The program is assumed to be present on virtually all
systems by virtue of being part of util-linux.

Signed-off-by: Daniel Müller <deso@posteo.net>
@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.28%. Comparing base (b33faaf) to head (b99192f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1587      +/-   ##
==========================================
- Coverage   96.30%   96.28%   -0.02%     
==========================================
  Files          56       56              
  Lines       11132    11132              
==========================================
- Hits        10721    10719       -2     
- Misses        411      413       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@d-e-s-o d-e-s-o merged commit 0a744ef into libbpf:main Jun 10, 2026
46 checks passed
@d-e-s-o d-e-s-o deleted the topic/aslr-no-more branch June 10, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant