Skip to content

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

Description

@necrose99

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..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions