Add inspect-library helper
Compare changes
- Ludovico de Nittis authored
+ 16
− 4
@@ -32,6 +32,8 @@
@@ -55,13 +57,13 @@ main (int argc,
@@ -69,7 +71,7 @@ main (int argc,
@@ -85,7 +87,17 @@ main (int argc,
This is the WIP for the "Executable to dlopen and inspect a library" of T15426.
This is an output example of the current version:
$ ./x86_64-linux-gnu-inspect-library libzvbi.so
{
"libzvbi.so": {
"path": "/usr/lib",
"dependencies": [
"/usr/lib/libzvbi.so",
"/usr/lib/libm.so.6",
"/usr/lib/libpng16.so.16",
"/usr/lib/libz.so.1"
]
}
}
The next thing to do that is still missing is to take a list of (version, symbol) pairs as input.