From 11c1c76e1391cbcf6c3ea901c6bc742459a3554e Mon Sep 17 00:00:00 2001 From: Yann Rouillard Date: Fri, 10 May 2013 04:19:06 +0200 Subject: [PATCH] elfdump now correctly displays syminfo entries with filter attribute --- scripts/elfdump.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/elfdump.py b/scripts/elfdump.py index a7a14da..b96f17c 100755 --- 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 -- 2.30.2