blob: 256c77de9c0c492d34d9af808d3f7a25cfa82d23 [file] [log] [blame]
Nicolas Geoffray28453cf2017-08-10 15:30:26 +01001Test for a dex file with an odd size followed by an aligned dex file.
2
3The code in classes.dex is:
4
5class Main {
6 public static void main(String[] args) {
7 System.out.println("HelloWorld");
8 }
9}
10
11The generated dex file was then manually edited to:
121) Add 1 to the size value in the dex header.
132) Add 1 byte to the file.
143) Change the checksum in the dex header.
15
16The code in classes2.dex is:
17
18class Foo {
19}