History log of /bionic/tests/libs/bionic_tests_zipalign.cpp
Revision Date Author Comments
2d3122c90b58655cc44c9e7b9461b9de3daccb2e 01-May-2017 Yi Kong <yikong@google.com> Fix test compile errors after LLVM rebase

After the new rebase of Clang, we now support the alloc_size attribute,
so we can remove the warning about switching to alloc_size once Clang
has support.

Also fix an issue where 'false' is returned in a main method.

Test: make cts
Bug: 37752547
Change-Id: I32ee814aaa0338567cb8174a68d7ee1bfece2f75
f0cccdbe1927a1b20192af413eef06db594967a6 15-Sep-2016 Kenny Root <kroot@google.com> Fix memory leak in test util

This shows up when you're doing make HOST_SANITIZE=address

Test: mmma bionic && out/host/linux-x86/bin/bionic_tests_zipalign (compare before and after)
Change-Id: Ia94790496327f3818d5fdb7b5ad07e14e60bcae1
b3ee859bbd6ce5ff9ed252bb00ff0b6c452d0373 22-Mar-2016 Yabin Cui <yabinc@google.com> CloseArchive() to free memory when OpenArchive fails.

Bug: 26962895
Change-Id: I42418eee320ddae857b42572690316c53f638e85
(cherry picked from commit 722072d65abb1b9fa709f5c7ae8afd98ef5ab7af)
722072d65abb1b9fa709f5c7ae8afd98ef5ab7af 22-Mar-2016 Yabin Cui <yabinc@google.com> CloseArchive() to free memory when OpenArchive fails.

Bug: 26962895
Change-Id: I42418eee320ddae857b42572690316c53f638e85
c0ffceccf93e1752a555086a04d1484c1df1b165 20-Jan-2016 Christopher Ferris <cferris@google.com> Remove dependency on zipalign.

Roll our own version of zipalign so that we can break the dependency
on the build tools zipalign. This breaks the transitive dependency
on androidfw so that building bionic unit tests in brillo works again.

Also modify the DlExtTest.ExtInfoUseFdWithOffset test so it dynamically
gets the offset of the shared library inside of the zip instead of
hard-coding the value.

Bug: 25446938
Change-Id: Idfb5d3089960a94eefa2c76e03da1ad2f4d7fb2f