diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-05-05 19:41:29 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-05-05 19:41:29 (GMT) |
commit | 7340856bf8e35b7a9c43b3e3267125b0821e359f (patch) | |
tree | d3c5f5fcf116e9359fc6d1564544dc02c99f0c92 | |
parent | 9570c5d3939bc18de6aed1365785e1d88afb04ab (diff) |
Updated code for the new Dex pool object.
-rw-r--r-- | python/dexdump.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/dexdump.py b/python/dexdump.py index 0abd676..d382957 100644 --- a/python/dexdump.py +++ b/python/dexdump.py @@ -184,7 +184,7 @@ def dump_dex_pool(fmt): counter = 0 - for s in fmt.pool_strings: + for s in fmt.pool.strings: print(_build_format_string(1, '{1}').format('#%u' % counter, s)) counter += 1 @@ -194,7 +194,7 @@ def dump_dex_pool(fmt): counter = 0 - for t in fmt.pool_types: + for t in fmt.pool.types: print(_build_format_string(1, '{1}').format('#%u' % counter, t)) counter += 1 @@ -204,7 +204,7 @@ def dump_dex_pool(fmt): counter = 0 - for p in fmt.pool_prototypes: + for p in fmt.pool.prototypes: print(_build_format_string(1, '{1}').format('#%u' % counter, p)) counter += 1 @@ -214,7 +214,7 @@ def dump_dex_pool(fmt): counter = 0 - for f in fmt.pool_fields: + for f in fmt.pool.fields: print(_build_format_string(1, '{1}').format('#%u' % counter, f)) counter += 1 @@ -224,7 +224,7 @@ def dump_dex_pool(fmt): counter = 0 - for m in fmt.pool_methods: + for m in fmt.pool.methods: print(_build_format_string(1, '{1}').format('#%u' % counter, m.routine)) counter += 1 @@ -234,7 +234,7 @@ def dump_dex_pool(fmt): counter = 0 - for c in fmt.classes: + for c in fmt.pool.classes: print(_build_format_string(1, '{1}').format('#%u' % counter, c.type)) counter += 1 |