I have a small exploratory project that uses elfutils. I'm using
libdwfl and libasm.
libasm needs Ebl handle to do disassembly. So if my binary wants to use
libasm, I need to link in libebl.a. libebl opens the right backend via
dlopen, so in addition to that, I also need to set up the right RUNPATH
on my binary.
That's fine, but I noticed that libdwfl already obtains Ebl for certain
operations, and already has the right RUNPATH set up. So would it make
a sense to expose the Ebl handle via some libdwfl API function?