How I can find function in shared object files using objdump and bash functions in linux?
nm
is simpler than objdump
, for this task.nm -A *.so | grep func
should work. The -A
flag tells nm
to print the file name.
You can use also use,
find <path> -name "*.so" -exec nm {} \; | grep func1