projects
/
pyelftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11c1c76
)
fix syminfo flags description: S flag (capability) is always first
author
Yann Rouillard
<yann@pleiades.fr.eu.org>
Fri, 10 May 2013 02:21:03 +0000
(
04:21
+0200)
committer
Yann Rouillard
<yann@pleiades.fr.eu.org>
Fri, 10 May 2013 02:21:03 +0000
(
04:21
+0200)
elftools/elf/descriptions.py
patch
|
blob
|
history
diff --git
a/elftools/elf/descriptions.py
b/elftools/elf/descriptions.py
index 2c32b1f71ab919a0c7b1355fad57635fbf7076d8..f6ee40cfb310092c51ad22362ef8a727cf27ffef 100644
(file)
--- a/
elftools/elf/descriptions.py
+++ b/
elftools/elf/descriptions.py
@@
-87,6
+87,7
@@
def describe_dyn_tag(x):
def describe_syminfo_flags(x):
s = ''
for flag in (
+ SYMINFO_FLAGS.SYMINFO_FLG_CAP,
SYMINFO_FLAGS.SYMINFO_FLG_DIRECT,
SYMINFO_FLAGS.SYMINFO_FLG_DIRECTBIND,
SYMINFO_FLAGS.SYMINFO_FLG_COPY,
@@
-95,7
+96,6
@@
def describe_syminfo_flags(x):
SYMINFO_FLAGS.SYMINFO_FLG_AUXILIARY,
SYMINFO_FLAGS.SYMINFO_FLG_FILTER,
SYMINFO_FLAGS.SYMINFO_FLG_INTERPOSE,
- SYMINFO_FLAGS.SYMINFO_FLG_CAP,
SYMINFO_FLAGS.SYMINFO_FLG_DEFERRED):
s += _DESCR_SYMINFO_FLAGS[flag] if (x & flag) else ''
return s