gimli icon indicating copy to clipboard operation
gimli copied to clipboard

Are there any plans to add c binding ?

Open xuxbuptisc opened this issue 4 years ago • 3 comments

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

xuxbuptisc avatar Aug 26 '21 13:08 xuxbuptisc

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.

philipc avatar Aug 26 '21 21:08 philipc

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

alehander92 avatar Oct 31 '22 12:10 alehander92

LLVM is Apache 2.0, perhaps it is suitable.

philipc avatar Oct 31 '22 12:10 philipc