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

use of headers to get "machine" Documentation would be useful. #11

Open
necrose99 opened this issue Jan 30, 2020 · 0 comments
Open

use of headers to get "machine" Documentation would be useful. #11

necrose99 opened this issue Jan 30, 2020 · 0 comments

Comments

@necrose99
Copy link

probe file arch /chroot-somecpu... /bin/bash
https://github.com/TheCodeArtist/elf-parser/blob/master/elf-parser.h

anyhow using parts of the elf-parser in other c Programs has little documentation
get machine/cpu id in binary
match cpu if/esle do : x, y,z.... etc.

adding a cfg file to set cpu type/s also more dynamically is also a wish listed item.
was trying to make a a smarter qemu wrapper . vs making a few
my c/c++ is got quite a thick layer of rust.
if /bin/bash = arm7hf then call that qemu else .. qemu-arch64 etc..

app-emulation/qemu-charm/files/charm make a few tweaks ,

i'm rusty , so i figgured for a bit of parctive with c/C++ python a bit of a weekender project

documentation for a few simple tasks like thus would be handy on a wiki..

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

No branches or pull requests

1 participant