[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:36:55 UTC 2020


Hi,

This is the correct patch for adding support for printing the expected and actual string length in the test utility.

best regards
Håkan
________________________________
From: Kvist, Håkan
Sent: Friday, 20 November 2020 18:34
To: file at astron.com <file at astron.com>
Subject: [PATCH] Support for Android Vdex file format and improvement for the test utillity

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/830dda78/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-In-test.c-print-expected-and-actual-string-length.patch
Type: text/x-patch
Size: 964 bytes
Desc: 0001-In-test.c-print-expected-and-actual-string-length.patch
URL: <https://mailman.astron.com/pipermail/file/attachments/20201120/830dda78/attachment-0001.bin>


More information about the File mailing list