Skip to content

Alternative libelf implementation #140

@DavidVentura

Description

@DavidVentura

Hi

I'm using libbpf-sys in a statically compiled binary, which is somewhat inconvenient to build due to elfutils and reliance on glibc.

Would you be open to integrating a separate libelf backend into this crate? It would complicate build.rs a bit (no zlib/elfutils needed)

I made this crate to provide the libelf C-API; it uses object to do the actual elf operations, and only has code to deal with the mistmached APIs. I don't think the implementation is great, and it's definitely not complete, but it does work for my specific use-case (loading programs with libbpf-sys)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions