Androguard

Latest version: v4.1.3

Safety actively analyzes 714736 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

3.3.1

A small bugfix release, as 3.3.0 would not parse AXML files in python 2.7

3.3

in the module `androguard.core.bytecodes.axml`:

`StringBlock`: Made some functions private, as they are not used from
the outside.

Renamed functions:

decode8(offset) --> _decode8(offset)
decode16(offset) --> _decode16(offset)
decode_bytes(data, encoding, str_len) --> _decode_bytes(data, encoding, str_len) (and static)
decodeLength(offset, sizeof_char) --> _decode_length(offset, sizeof_char)

`AXMLParser`: renamed some functions, also removed many namespace
parsing functions.

Renamed functions:

reset() --> _reset()
doNext() --> _do_next()
getPrefix() --> namespace but was added again for legacy
getName() --> name but was added again for legacy
getText() --> text but was added again for legacy

Removed functions:

getNamespacePrefix(pos)
getNamespaceUri(pos)
getXMLNS()
getNamespaceCount(pos)
getAttributeOffset(index)
getAttributePrefix(index)
getPrefixByUri(uri)

For a reference implementation on using namespaces, please see `AXMLPrinter`!

`AXMLPrinter`: changed the parsing behaviour to use lxml.etree directly

Renamed functions:

getAttributeValue(index) --> _get_attribute_value(index)

Removed functions:

getPrefix(prefix)

3.3.0

This minor release adds a lot of new features to androguard:

* the `androguard` command unifies all androguard scripts
* Adding `androguard apkid` command to get the package name and version information fast
* Fixing disassembler
* fixing language and region in ARSC file parsing
* Adding v3 signing code
* Rewriting AXML parsing by using lxml.etree directly
* Adding method to resolve resource IDs to `androguard arsc`

v.3.2.1
Small bugfixes

3.2.0

This new minor version changes the certificate parser from a mixture of pyasn1 and cryptography to asn1crypto.
Asn1crypto is more stable with the variety of non-standard certifcates that are used for signing apps.

Note that this might change the behaviour, how you can access things from the certificate returned by `APK.get_certificate()` or `APK.get_certificates_v2()`.

Please consult the [API](https://github.com/wbond/asn1crypto/blob/master/asn1crypto/x509.py) of asn1crypto or [androsign.py](https://github.com/androguard/androguard/blob/master/androsign.py#L55) how to access certain information of the certificate!

Other changes:
* bugfixes
* change from OptionParser to ArgumentParser

3.1.2

Small bugfix release.

Reorganize the dependencies and remove old code.

3.1.1

Bugfixes for:
* androdd
* Configuration
* Session

Adding Tool for Call Graph creation

Page 3 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.