projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
566e1ac
)
elfdump now correctly displays syminfo entries with filter attribute
author
Yann Rouillard
<yann@pleiades.fr.eu.org>
Fri, 10 May 2013 02:19:06 +0000
(
04:19
+0200)
committer
Yann Rouillard
<yann@pleiades.fr.eu.org>
Fri, 10 May 2013 02:19:06 +0000
(
04:19
+0200)
scripts/elfdump.py
patch
|
blob
|
history
diff --git
a/scripts/elfdump.py
b/scripts/elfdump.py
index a7a14dadf1ff665fc5f6b5bbcf8dace61d839219..b96f17c33135798cd7649a6015e322d7d77aab37 100755
(executable)
--- a/
scripts/elfdump.py
+++ b/
scripts/elfdump.py
@@
-103,7
+103,10
@@
class Elfdump(object):
boundto = ''
else:
dyn_tag = dyntable.get_tag(syminfo['si_boundto'])
- boundto = bytes2str(dyn_tag.needed)
+ if syminfo['si_flags'] & SYMINFO_FLAGS.SYMINFO_FLG_FILTER:
+ boundto = bytes2str(dyn_tag.sunw_filter)
+ else:
+ boundto = bytes2str(dyn_tag.needed)
index = '[%d]' % syminfo['si_boundto']
# syminfo names are truncated to 24 chars, similarly to elfdump