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

Are there any plans to add c binding ? #580

Open
xuxbuptisc opened this issue Aug 26, 2021 · 3 comments
Open

Are there any plans to add c binding ? #580

xuxbuptisc opened this issue Aug 26, 2021 · 3 comments

Comments

@xuxbuptisc
Copy link

gimli is a great dwarf library, are there any plans to add c binding?

@philipc
Copy link
Collaborator

philipc commented Aug 26, 2021

No plans. Before doing such work, there would need to be significant reasons to use gimli over the existing C/C++ libraries that are more feature complete and more widely tested. Currently gimli's main feature is that it is written in Rust and provides an API that is suitable for Rust, and calling it from C means you lose some of the benefit of that.

@alehander92
Copy link

Another reason(the one I am using it for) is for commercial projects: indeed, libdwarf seems to be LGPL, but this requires still more than the licenses of your library

@philipc
Copy link
Collaborator

philipc commented Oct 31, 2022

LLVM is Apache 2.0, perhaps it is suitable.

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

3 participants