Skip to content

feat: add sys_image_start_address #999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

mkroening
Copy link
Member

@mkroening mkroening commented Dec 5, 2023

This is useful for anything that has to find addresses of symbols, mainly:

  • Debugging
  • Profiling through instrumentation

Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
@mkroening mkroening requested a review from stlankes December 5, 2023 14:50
@stlankes
Copy link
Contributor

stlankes commented Dec 5, 2023

Should we add feature to enable these functions. Normally, the memory layout should be randomized and these function shouldn't exists.

@mkroening
Copy link
Member Author

Maybe? In that case, we would want to add a function to get the randomized offset of individual symbols to still be able to debug, though, right? As far as I understand it, it's not a secret, it's just random.

@stlankes
Copy link
Contributor

stlankes commented Dec 7, 2023

Hm, you are right.

@mkroening mkroening added this pull request to the merge queue Dec 18, 2023
Merged via the queue into hermit-os:main with commit ccdfb6d Dec 18, 2023
@mkroening mkroening deleted the image-start-address branch December 19, 2023 09:07
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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy