You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to how Python handles unicode, vm.unpackString can fail with decoding errors when invalid codepoints are received from Dalvik. For forensic use, this is terrible behavior.
To support this, a wrapper class should be written that preserves this data as a bytestring and presents Python unicode strings with omitted invalid codepoints as a str to prevent dependent functions from throwing exceptions when operating on derived data.
Due to how Python handles unicode, vm.unpackString can fail with decoding errors when invalid codepoints are received from Dalvik. For forensic use, this is terrible behavior.
To support this, a wrapper class should be written that preserves this data as a bytestring and presents Python unicode strings with omitted invalid codepoints as a str to prevent dependent functions from throwing exceptions when operating on derived data.
See also how vm unpacks chr's:
9ae4bd2#commitcomment-1426109
The text was updated successfully, but these errors were encountered: