Is your feature request related to a problem? Please describe.
It would be nice when visibility of symbols can be changed. This allows to fix e.g. libraries which export every symbol publicly (hello rust/cargo...).
Describe the solution you'd like
E.g. when
$ nm -D libbar.so
0000000000011920 T bar_func
00000000000119b0 T foo_func
A patchelf --hide-symbol foo_func libbar.so would change that to
$ nm -D libbar.so
0000000000011920 T bar_func
00000000000119b0 t foo_func
Is your feature request related to a problem? Please describe.
It would be nice when visibility of symbols can be changed. This allows to fix e.g. libraries which export every symbol publicly (hello rust/cargo...).
Describe the solution you'd like
E.g. when
A
patchelf --hide-symbol foo_func libbar.so
would change that to