summaryrefslogtreecommitdiffstats
path: root/applypatch (follow)
Commit message (Expand)AuthorAgeFilesLines
* Disable building libapplypatch on macTianjie Xu2018-02-181-0/+6
* Skip the cache size check on hostTianjie Xu2018-02-133-3/+10
* applypatch: Remove the 'st' field from FileContents.Tao Bao2017-12-072-17/+3
* Merge "Add libbrotli as a dependency when building applypatch binary"Tianjie Xu2017-11-171-0/+1
|\
| * Add libbrotli as a dependency when building applypatch binaryTianjie Xu2017-11-031-0/+1
* | Switch imgdiff to libbase loggingTianjie Xu2017-11-162-97/+109
* | Merge "applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch."Tao Bao2017-11-114-45/+47
|\ \
| * | applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.Tao Bao2017-11-104-45/+47
* | | Include bspatch.h from bsdiff/Alex Deymo2017-11-081-1/+1
|/ /
* / Switch to bionic gtest in bootable/recoveryTianjie Xu2017-11-033-19/+17
|/
* Add libbrotli as a dependency for libbsdiffTianjie Xu2017-11-011-0/+1
* Merge "applypatch: Fix a memory leak in ApplyImagePatch()."Treehugger Robot2017-10-241-17/+22
|\
| * applypatch: Fix a memory leak in ApplyImagePatch().Tao Bao2017-10-241-17/+22
* | Merge "Use SuffixArrayIndexInterface opaque type instead of the underlying data pointer."Treehugger Robot2017-10-242-7/+10
|\ \ | |/ |/|
| * Use SuffixArrayIndexInterface opaque type instead of the underlying data pointer.Alex Deymo2017-10-242-7/+10
* | otautil: Move RangeSet implementation into rangeset.cpp.Tao Bao2017-10-162-0/+3
* | Merge "applypatch: Move to Soong."Tao Bao2017-10-122-196/+195
|\ \
| * | applypatch: Move to Soong.Tao Bao2017-10-122-196/+195
* | | applypatch: Remove the Makefile for building imgdiff in Chrome OS.Tao Bao2017-10-122-39/+0
|/ /
* | applypatch: Use shared lib for libbz.Tao Bao2017-10-111-2/+2
* | Merge "applypatch: Use shared libs for libbase/libcrypto/liblog/libziparchive."Tao Bao2017-10-111-5/+3
|\ \
| * | applypatch: Use shared libs for libbase/libcrypto/liblog/libziparchive.Tao Bao2017-10-111-6/+3
* | | Move rangeset.h and print_sha1.h into otautil.Tao Bao2017-10-115-21/+21
|/ /
* | edify: Export the header and move to Soong.Tao Bao2017-10-091-0/+1
* | Revert "Revert "Move error_code.h into otautil.""Tao Bao2017-10-091-0/+1
|/
* applypatch: Forward declare struct Value.Tao Bao2017-10-094-2/+8
* Revert "Move error_code.h into otautil."Tao Bao2017-10-051-5/+0
* Move error_code.h into otautil.Tao Bao2017-10-041-0/+5
* otafault: Move headers under otafault/.Tao Bao2017-09-291-1/+1
* otafault: Remove the use of LOCAL_WHOLE_STATIC_LIBRARIES.Tao Bao2017-09-291-2/+4
* Output split information for imgdiff when handling large apksTianjie Xu2017-09-212-61/+134
* Improve imgdiff for large zip filesTianjie Xu2017-09-062-19/+480
* Turn on -Wall for recovery modulesTianjie Xu2017-08-291-3/+7
* Move Image/ImageChunk/PatchChunk declaration into header filesTianjie Xu2017-08-193-272/+319
* Add a new PatchChunk class in imgdiffTianjie Xu2017-08-131-236/+292
* Refactor the imgdiffTianjie Xu2017-08-022-393/+569
* Fix a rare failure for imgdiff when random data equals gzip headerTianjie Xu2017-07-071-11/+14
* Implement a custom deflate sink function for bspatchTianjie Xu2017-05-261-58/+86
* Print SHA1 of the patch if bsdiff fails with data errorTianjie Xu2017-05-163-22/+32
* Merge "applypatch: Remove the obsolete support for "applypatch -s"."Tao Bao2017-04-261-17/+1
|\
| * applypatch: Remove the obsolete support for "applypatch -s".Tao Bao2017-04-261-17/+1
* | applypatch: Add determine the return value of ApplyDiffPatch andJinguang Dong2017-04-261-1/+4
|/
* applypatch: Remove duplicate test files.Tao Bao2017-04-025-468/+0
* applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao2017-03-285-30/+28
* applypatch: Change the ssize_t length parameters to size_t.Tao Bao2017-03-285-47/+40
* Merge "applypatch: Drop the support for patching non-EMMC targets."Tao Bao2017-03-261-277/+109
|\
| * applypatch: Drop the support for patching non-EMMC targets.Tao Bao2017-03-161-277/+109
* | More cleanup to imgdiff & imgpatchTianjie Xu2017-03-165-193/+128
|/
* Refractor the code for imgdiffTianjie Xu2017-03-072-618/+596
* Use bspatch from external/bsdiff.Sen Jiang2017-02-023-183/+28
* Merge "bootable/recovery: cleanup compiler warnings (potential leak of memory)"Tao Bao2017-02-011-0/+1
|\
| * bootable/recovery: cleanup compiler warnings (potential leak of memory)Rahul Chaudhry2016-12-071-0/+1
* | Merge "imgpatch: Compile with ZLIB_CONST defined."Tao Bao2017-01-202-4/+10
|\ \
| * | imgpatch: Compile with ZLIB_CONST defined.Tao Bao2017-01-202-4/+10
* | | imgdiff: cache bsdiff suffix array in zip mode.Sen Jiang2017-01-192-16/+20
|/ /
* | Merge "imgdiff: Fix an edge case that leads to infinite loop."Tao Bao2017-01-042-15/+11
|\ \
| * | imgdiff: Fix an edge case that leads to infinite loop.Tao Bao2016-12-282-15/+11
* | | applypatch: Don't expose FindMatchingPatch().Tao Bao2016-12-282-3/+2
|/ /
* | Add tests for imgdiff.Tao Bao2016-12-206-266/+335
* | Bugfix:updater always retry apply patch failed,when memcpy failed.katao2016-12-191-0/+11
|/
* Merge "bootable/recovery: cleanup compiler warnings (unused value)"Tao Bao2016-12-011-0/+16
|\
| * bootable/recovery: cleanup compiler warnings (unused value)Rahul Chaudhry2016-11-301-0/+16
* | Merge "bootable/recovery: cleanup compiler warnings (potential leak of memory)"Tao Bao2016-11-301-0/+4
|\ \ | |/ |/|
| * bootable/recovery: cleanup compiler warnings (potential leak of memory)Rahul Chaudhry2016-11-161-0/+4
* | Remove ota_close(int) and ota_fclose(FILE*).Tao Bao2016-11-281-2/+2
* | Add ota_close(unique_fd&) and ota_fclose(std::unique_ptr<FILE>&).Tao Bao2016-11-231-7/+7
* | applypatch: Release FD when explicitly calling close.Tao Bao2016-11-211-5/+5
* | applypatch: Use unique_fd to avoid leaking FDs.Tao Bao2016-11-171-282/+270
* | applypatch: Clean up LoadPartitionContents().Tao Bao2016-11-171-283/+257
* | Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap.Rahul Chaudhry2016-11-161-16/+16
|/
* applypatch: Add testcases for applypatch executable.Tao Bao2016-11-014-30/+102
* applypatch: Switch the parameter of Value** to std::vector.Tao Bao2016-10-293-23/+23
* applypatch: Fix the bug when constructing VAL_BLOB.Tao Bao2016-10-251-2/+3
* Merge "Fix applypatch_check failure when applying update on angler"Tianjie Xu2016-10-191-1/+1
|\
| * Fix applypatch_check failure when applying update on anglerTianjie Xu2016-10-181-1/+1
* | Replace minzip with libziparchiveTianjie Xu2016-10-181-1/+0
|/
* Change StringValue to use std::stringTianjie Xu2016-10-157-79/+75
* Turn on -Werror for recoveryTianjie Xu2016-09-301-0/+5
* Merge "Switch recovery to libbase logging"Tianjie Xu2016-09-021-1/+1
|\
| * Switch recovery to libbase loggingTianjie Xu2016-09-011-1/+1
* | Check an edge case when read(2) returns 0Tianjie Xu2016-09-011-0/+3
|/
* Merge "Fix references to libcrypto_utils_static."Josh Gao2016-08-081-4/+4
|\
| * Fix references to libcrypto_utils_static.Josh Gao2016-08-061-4/+4
* | resolve merge conflicts of 179c0d8 to stage-aosp-masterElliott Hughes2016-06-163-213/+105
|\|
| * Remove obsolete MTD support.Elliott Hughes2016-06-103-213/+105
* | resolve merge conflicts of 490fad6 to nyc-dev-plus-aospTao Bao2016-06-141-57/+66
|\ \ | |/ |/|
| * applypatch: Don't call inflate() when it expects zero-length output.Tao Bao2016-06-141-57/+66
| * Control fault injection with config files instead of build flagsJed Estep2016-03-191-1/+1
| * Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao2016-03-171-1/+1
| * DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep2016-03-161-1/+1
| * applypatch: use vector to store data in FileContents.Yabin Cui2016-03-113-117/+67
| * resolve merge conflicts of 715d8a203a to master.Yabin Cui2016-02-067-303/+204
| |\
| * \ resolve merge conflicts of 7b6027dde4 to master.Tao Bao2016-02-046-38/+37
| |\ \
| * \ \ Merge "Fix build." am: 9d72d4175bTao Bao2016-01-291-0/+2
| |\ \ \
| * \ \ \ resolve merge conflicts of 725833e024 to master.Tao Bao2016-01-294-2/+69
| |\ \ \ \
| * | | | | IO fault injection for OTA packagesJed Estep2016-01-062-26/+27
* | | | | | Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector."Tao Bao2016-06-011-38/+40
* | | | | | Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector.Adam Buchbinder2016-06-011-40/+38
* | | | | | Revert "imgdiff: Generate statically linked imgdiff."Tao Bao2016-06-011-2/+1
* | | | | | imgdiff: Generate statically linked imgdiff.Tao Bao2016-05-311-1/+2
* | | | | | applypatch: Use bsdiff from external/bsdiff.Sen Jiang2016-05-043-425/+10
* | | | | | Fix google-runtime-int warnings.Chih-Hung Hsieh2016-04-184-15/+16
* | | | | | Add include/ to the Makefile include path.Alex Deymo2016-03-141-1/+1
* | | | | | Merge "applypatch: add -fPIC for libimgpatch in Chrome OS."Sen Jiang2016-03-091-0/+1
|\ \ \ \ \ \
| * | | | | | applypatch: add -fPIC for libimgpatch in Chrome OS.Sen Jiang2016-03-091-0/+1
* | | | | | | Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.Tao Bao2016-03-037-25/+49
|/ / / / / /
* | | | | | Control fault injection with config files instead of build flagsJed Estep2016-02-231-1/+1
* | | | | | applypatch: Add libimgpatch.pcSen Jiang2016-02-161-0/+6
* | | | | | imgdiff: don't fail if gzip is corrupted.Sen Jiang2016-02-121-12/+10
* | | | | | applypatch: use vector to store data in FileContents.Yabin Cui2016-02-123-116/+66
* | | | | | IO fault injection for OTA packagesJed Estep2016-02-102-28/+29
* | | | | | applypatch: Add a Makefile to build imgdiff in Chrome OS.Sen Jiang2016-02-106-4/+39
| |_|_|_|/ |/| | | |
* | | | | applypatch: fix memory leaks reported by static analysis.Yabin Cui2016-02-057-303/+202
| |_|_|/ |/| | |
* | | | Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang2016-02-046-38/+37
| |_|/ |/| |
* | | Fix build.Tao Bao2016-01-291-0/+2
| |/ |/|
* | applypatch: Compile libimgpatch for target and host.Sen Jiang2016-01-284-2/+69
|/
* imgdiff: skip spurious gzip headers in image filesDavid Riley2015-12-231-6/+13
* Track rename from base/ to android-base/.Elliott Hughes2015-12-051-1/+1
* Remove the building rules for applypatch_static.Tao Bao2015-12-021-13/+0
* imgdiff: fix file descriptor leakJeremy Compostella2015-09-081-1/+9
* updater: Clean up char* with std::string.Tao Bao2015-08-061-11/+1
* applypatch: Fix the checking in WriteToPartition().Tao Bao2015-07-251-3/+4
* applypatch: Support flash mode.Tao Bao2015-07-243-16/+97
* applypatch: Refactor strtok().Tao Bao2015-07-242-86/+56
* recovery: Switch applypatch/ and updater/ to cpp.Tao Bao2015-07-149-186/+183
* recovery: Switch to clangTao Bao2015-06-031-0/+5
* Use f_bavail to calculate free spacecaozhiyuan2015-05-291-1/+1
* Stop using libstdc++.Dan Albert2015-05-191-2/+2
* Check all lseek calls succeed.Elliott Hughes2015-04-301-24/+27
* imgdiff: Avoid infinite loop if inflate failsJohan Redestig2015-04-151-0/+9
* am aeecac54: Merge "Add missing includes."Elliott Hughes2015-01-301-0/+1
|\
| * Add missing includes.Elliott Hughes2015-01-301-0/+1
* | am dab56cac: Merge "Add missing includes."Elliott Hughes2015-01-281-0/+1
|\|
| * Add missing includes.Elliott Hughes2015-01-281-0/+1
* | Use more aggressive sync writing to applypatch.Michael Runge2014-10-291-8/+36
|/
* installer for new block OTA systemDoug Zongker2014-08-204-9/+7
* am c4804e9b: am d4592694: am 3ca99f6c: Merge "fix vulnerability in bspatch"Doug Zongker2014-05-161-0/+5
|\
| * am 3ca99f6c: Merge "fix vulnerability in bspatch"Doug Zongker2014-05-161-0/+5
| |\
| | * fix vulnerability in bspatchDoug Zongker2014-05-131-0/+5
| * | am 026ebe02: Merge "Recovery 64-bit compile issues"Mark Salyzyn2014-03-142-9/+10
| |\|
* | | am 4b6de1ba: am 026ebe02: Merge "Recovery 64-bit compile issues"Mark Salyzyn2014-03-142-9/+10
|\ \ \
| * \ \ am 026ebe02: Merge "Recovery 64-bit compile issues"Mark Salyzyn2014-03-142-9/+10
| |\ \ \ | | |/ / | |/| / | | |/
| | * Recovery 64-bit compile issuesMark Salyzyn2014-03-142-9/+10
* | | remove remaining libminelf referencesDoug Zongker2014-02-141-2/+2
* | | remove 'retouch' ASLR supportDoug Zongker2014-02-143-32/+11
|/ /
* / fix unnecessarily slow writing of EMMC partitionsDoug Zongker2013-12-201-15/+3
|/
* am a69b50c5: am 901b898d: recovery: remove O_DIRECT, use O_SYNC onlyDoug Zongker2013-07-111-2/+2
|\
| * recovery: remove O_DIRECT, use O_SYNC onlyDoug Zongker2013-07-111-2/+2
* | am 660637f3: am e8d953aa: recovery: more cargo-cult programmingDoug Zongker2013-07-111-2/+2
|\|
| * recovery: more cargo-cult programmingDoug Zongker2013-07-111-2/+2
* | am fbcfad33: am bf4a69ac: recovery: sleep after writing partition and closing itDoug Zongker2013-07-111-2/+7
|\|
| * recovery: sleep after writing partition and closing itDoug Zongker2013-07-101-2/+7
* | am 2148133d: am c870a99c: recovery: write partitions more conservativelyDoug Zongker2013-07-111-24/+46
|\|
| * recovery: write partitions more conservativelyDoug Zongker2013-07-091-24/+46
* | am 0ccaccf7: am 044a0b4d: recovery: try to write EMMC partitions more reliablyDoug Zongker2013-07-082-7/+73
|\|
| * recovery: try to write EMMC partitions more reliablyDoug Zongker2013-07-082-7/+73
* | verifier: update to support certificates using SHA-256Doug Zongker2013-04-101-1/+1
|/
* reduce some recovery loggingDoug Zongker2012-10-191-6/+21
* add bonus data feature to imgdiff/imgpatch/applypatchDoug Zongker2012-08-215-21/+99
* am 3733d218: Merge changes I664f8dc7,I4154db06,I5e1df90fJoe Onorato2012-08-171-1/+0
|\
| * host modules don't need LOCAL_MODULE_TAGSJoe Onorato2012-07-221-1/+0
* | Add mode when open(O_CREAT) is used.Nick Kralevich2012-06-271-2/+2
|/
* Add NOTICE fileWei Zhong2012-04-061-0/+41
* fix buildDoug Zongker2012-02-282-2/+2
* fix failure to free memoryDoug Zongker2012-02-282-19/+45
* Remove the simulator target from all makefiles.Jeff Brown2011-07-121-4/+0
* Fix x86 build.Ying Wang2011-02-091-2/+0
* am c080bc54: am fbd7ae7a: am 201cd466: remove shadowed variable declarationDoug Zongker2010-08-161-1/+2
|\
| * am 201cd466: remove shadowed variable declarationDoug Zongker2010-08-131-1/+2
| |\
| | * remove shadowed variable declarationDoug Zongker2010-08-131-1/+2
* | | am c4e32005: am 17986e6b: am 8cd9e4f3: fix bug in applying patchesDoug Zongker2010-08-131-1/+1
|\| |
| * | am 8cd9e4f3: fix bug in applying patchesDoug Zongker2010-08-131-1/+1
| |\|
| | * fix bug in applying patchesDoug Zongker2010-08-131-1/+1
* | | Working ASLR implementationHristo Bojinov2010-08-024-16/+41
* | | EMMC support in applypatchDoug Zongker2010-07-081-102/+175
|/ /
* / generic_x86 supportBruce Beare2010-05-041-0/+2
|/
* refactor applypatch and friendsDoug Zongker2010-02-239-1256/+1185
* relocate applypatch; add type system and new functions to edifyDoug Zongker2010-02-1817-0/+3882