Skip to content
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

remove reliance on debug symbols for kconfig #2106

Open
chrf01 opened this issue Apr 2, 2024 · 1 comment
Open

remove reliance on debug symbols for kconfig #2106

chrf01 opened this issue Apr 2, 2024 · 1 comment
Labels
feature For new features kernel

Comments

@chrf01
Copy link
Contributor

chrf01 commented Apr 2, 2024

To locate the kernel configuration without debug symbols, we should search for IKCFG_ST and IKCFG_ED markers in the kernel memory. Focus the search on the kernel mappings where the kernel config is likely to be found; probably the first read-only mapping after the kernel base

https://elixir.bootlin.com/linux/latest/source/kernel/configs.c#L25

@chrf01 chrf01 added the feature For new features label Apr 2, 2024
@gsingh93 gsingh93 added the kernel label Apr 3, 2024
@chrf01
Copy link
Contributor Author

chrf01 commented Apr 18, 2024

I've already implemented this; I'll drop a PR as soon as #2097 is merged

@chrf01 chrf01 mentioned this issue Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature For new features kernel
Development

Successfully merging a pull request may close this issue.

2 participants