pyelftools icon indicating copy to clipboard operation
pyelftools copied to clipboard

STB_GNU_UNIQUE support. Patch included

Open krisk0 opened this issue 10 years ago • 1 comments

readelf.py shows STB_GNU_UNIQUE variables as unknown. What a shame

I offer a patch that fixes the problem

diff -urN a/descriptions.py b/descriptions.py
--- a/descriptions.py   2014-11-08 16:41:54.000000000 +0300
+++ b/descriptions.py   2015-12-04 17:01:23.000000000 +0300
@@ -323,6 +323,7 @@
     STB_LOCAL='LOCAL',
     STB_GLOBAL='GLOBAL',
     STB_WEAK='WEAK',
+    STB_LOOS='UNIQUE',
 )

 _DESCR_ST_VISIBILITY = dict(

krisk0 avatar Dec 04 '15 18:12 krisk0

Please submit a pull request

eliben avatar Dec 04 '15 20:12 eliben