[File] [PATCH] Support for Android Vdex file format and improvement for the test utillity

Kvist, Håkan Hakan.Kvist at sony.com
Fri Nov 20 17:34:23 UTC 2020


Hi,

attached is a patch to recognize and print some information for the android vdex file format.
A vdex file contains information used by ART (Android Runtime).

Some more information for the interested:
https://source.android.com/devices/tech/dalvik/configure<https://source.android.com/devices/tech/dalvik/configure?authuser=1>
https://source.android.com/devices/tech/dalvik

I think this might be appreciated by Android platform hackers.

Also attached is a patch to print the actual and wanted string length in the test utility.
Printing the length helps to realize that trailing white space characters does indeed matter.

Please let me know if the code should be adjusted in some way, this is my first contribution to this project.

best regards
Håkan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20201120/b5efffcd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-support-for-Android-vdex-files.patch
Type: text/x-patch
Size: 2909 bytes
Desc: 0002-Add-support-for-Android-vdex-files.patch
URL: <https://mailman.astron.com/pipermail/file/attachments/20201120/b5efffcd/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-Android-vdex-files.patch
Type: text/x-patch
Size: 2905 bytes
Desc: 0001-Add-support-for-Android-vdex-files.patch
URL: <https://mailman.astron.com/pipermail/file/attachments/20201120/b5efffcd/attachment-0003.bin>


More information about the File mailing list