Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to change visibility of symbols #556

Open
ensc opened this issue May 29, 2024 · 0 comments
Open

Add a way to change visibility of symbols #556

ensc opened this issue May 29, 2024 · 0 comments

Comments

@ensc
Copy link

ensc commented May 29, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant