use of headers to get "machine" Documentation would be useful.
Opened this issue · 0 comments
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..