From 11cd62fa061e0df20c82081d96457b7e7ce2a0a2 Mon Sep 17 00:00:00 2001 From: Yann Rouillard Date: Fri, 10 May 2013 14:42:39 +0200 Subject: [PATCH] reorder syminfo flags display to match elfdump display --- elftools/elf/descriptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elftools/elf/descriptions.py b/elftools/elf/descriptions.py index f6ee40c..baf4205 100644 --- a/elftools/elf/descriptions.py +++ b/elftools/elf/descriptions.py @@ -89,12 +89,12 @@ def describe_syminfo_flags(x): for flag in ( SYMINFO_FLAGS.SYMINFO_FLG_CAP, SYMINFO_FLAGS.SYMINFO_FLG_DIRECT, + SYMINFO_FLAGS.SYMINFO_FLG_FILTER, + SYMINFO_FLAGS.SYMINFO_FLG_AUXILIARY, SYMINFO_FLAGS.SYMINFO_FLG_DIRECTBIND, SYMINFO_FLAGS.SYMINFO_FLG_COPY, SYMINFO_FLAGS.SYMINFO_FLG_LAZYLOAD, SYMINFO_FLAGS.SYMINFO_FLG_NOEXTDIRECT, - SYMINFO_FLAGS.SYMINFO_FLG_AUXILIARY, - SYMINFO_FLAGS.SYMINFO_FLG_FILTER, SYMINFO_FLAGS.SYMINFO_FLG_INTERPOSE, SYMINFO_FLAGS.SYMINFO_FLG_DEFERRED): s += _DESCR_SYMINFO_FLAGS[flag] if (x & flag) else '' -- 2.30.2