feat(v2): improve aslr, adjust max memory size#1263
Merged
jounathaen merged 2 commits intohermit-os:mainfrom Mar 9, 2026
Merged
feat(v2): improve aslr, adjust max memory size#1263jounathaen merged 2 commits intohermit-os:mainfrom
jounathaen merged 2 commits intohermit-os:mainfrom
Conversation
626b749 to
d2830e8
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1263 +/- ##
==========================================
+ Coverage 75.29% 75.91% +0.61%
==========================================
Files 27 27
Lines 3955 4040 +85
==========================================
+ Hits 2978 3067 +89
+ Misses 977 973 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0c9ffcc to
7e42d07
Compare
fogti
reviewed
Feb 17, 2026
fogti
reviewed
Feb 17, 2026
Member
Author
|
wait, this is still in development and there's a few nasty bugs i just caught |
Contributor
|
ik. |
beb89e2 to
a67f146
Compare
n0toose
commented
Feb 17, 2026
n0toose
commented
Feb 17, 2026
a67f146 to
43428ce
Compare
fogti
reviewed
Feb 17, 2026
jounathaen
reviewed
Feb 17, 2026
43428ce to
53a2d3b
Compare
jounathaen
reviewed
Feb 18, 2026
jounathaen
reviewed
Feb 18, 2026
jounathaen
reviewed
Feb 18, 2026
7f36afb to
d25cd6c
Compare
fogti
reviewed
Feb 18, 2026
Contributor
|
btw. please rebase on |
fee3965 to
fd102da
Compare
fd102da to
7e168b2
Compare
jounathaen
reviewed
Feb 19, 2026
4e8b27d to
876b2f7
Compare
fogti
reviewed
Mar 6, 2026
Refactor of ASLR to support `v2` and `v1` images, which achieves the following: - Move start address derivation into `generate_guest_start_address` (f.k.a. `generate_address`) - Reduce code duplication - Remove a useless parameter - Introduce different handling between v1 and v2 images that correspondingly allows users to use v2 with higher memory amounts - Introduce relevant warnings/errors if user-provided parameters can cause Uhyve to error - Add assertions that prevent memory allocations within x86_64 gap Fixes hermit-os#1257
876b2f7 to
8ea7742
Compare
fogti
approved these changes
Mar 6, 2026
Member
Author
|
@jounathaen ready for review :) |
Currently written with v1 in mind.
2dfa251 to
45e752a
Compare
fogti
approved these changes
Mar 9, 2026
Member
|
Nice! Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactor of ASLR to support
v2andv1images, which achieves the following:generate_addressFixes #1257