summaryrefslogtreecommitdiffstats
path: root/applypatch (unfollow)
Commit message (Expand)AuthorFilesLines
2018-04-24Dump debug information for apply_patch unit testsTianjie Xu2-0/+10
2018-04-20applypatch: Drop the SHA_CTX parameter in Apply{BSDiff,Image}Patch.Tao Bao4-34/+22
2018-04-19applypatch: Dump patch info on mismatching patching result.Tao Bao1-1/+16
2018-04-13Remove the old log files if cache space is insufficient for OTATianjie Xu3-59/+129
2018-02-28Add a singleton CacheLocation to replace the hard coded locationsTianjie Xu3-13/+7
2018-02-23Remove the assumption of target chunk size in imgdiffTianjie Xu2-20/+30
2018-02-18Disable building libapplypatch on macTianjie Xu1-0/+6
2018-02-13Skip the cache size check on hostTianjie Xu3-3/+10
2017-12-07applypatch: Remove the 'st' field from FileContents.Tao Bao2-17/+3
2017-11-16Switch imgdiff to libbase loggingTianjie Xu2-97/+109
2017-11-10applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.Tao Bao4-45/+47
2017-11-08Include bspatch.h from bsdiff/Alex Deymo1-1/+1
2017-11-03Add libbrotli as a dependency when building applypatch binaryTianjie Xu1-0/+1
2017-11-03Switch to bionic gtest in bootable/recoveryTianjie Xu3-19/+17
2017-11-01Add libbrotli as a dependency for libbsdiffTianjie Xu1-0/+1
2017-10-24applypatch: Fix a memory leak in ApplyImagePatch().Tao Bao1-17/+22
2017-10-24Use SuffixArrayIndexInterface opaque type instead of the underlying data pointer.Alex Deymo2-7/+10
2017-10-16otautil: Move RangeSet implementation into rangeset.cpp.Tao Bao2-0/+3
2017-10-12applypatch: Move to Soong.Tao Bao2-196/+195
2017-10-12applypatch: Remove the Makefile for building imgdiff in Chrome OS.Tao Bao2-39/+0
2017-10-11applypatch: Use shared lib for libbz.Tao Bao1-2/+2
2017-10-11Move rangeset.h and print_sha1.h into otautil.Tao Bao5-21/+21
2017-10-11applypatch: Use shared libs for libbase/libcrypto/liblog/libziparchive.Tao Bao1-6/+3
2017-10-09edify: Export the header and move to Soong.Tao Bao1-0/+1
2017-10-09Revert "Revert "Move error_code.h into otautil.""Tao Bao1-0/+1
2017-10-09applypatch: Forward declare struct Value.Tao Bao4-2/+8
2017-10-05Revert "Move error_code.h into otautil."Tao Bao1-5/+0
2017-10-04Move error_code.h into otautil.Tao Bao1-0/+5
2017-09-29otafault: Move headers under otafault/.Tao Bao1-1/+1
2017-09-29otafault: Remove the use of LOCAL_WHOLE_STATIC_LIBRARIES.Tao Bao1-2/+4
2017-09-21Output split information for imgdiff when handling large apksTianjie Xu2-61/+134
2017-09-06Improve imgdiff for large zip filesTianjie Xu2-19/+480
2017-08-29Turn on -Wall for recovery modulesTianjie Xu1-3/+7
2017-08-19Move Image/ImageChunk/PatchChunk declaration into header filesTianjie Xu3-272/+319
2017-08-13Add a new PatchChunk class in imgdiffTianjie Xu1-236/+292
2017-08-02Refactor the imgdiffTianjie Xu2-393/+569
2017-07-07Fix a rare failure for imgdiff when random data equals gzip headerTianjie Xu1-11/+14
2017-05-26Implement a custom deflate sink function for bspatchTianjie Xu1-58/+86
2017-05-16Print SHA1 of the patch if bsdiff fails with data errorTianjie Xu3-22/+32
2017-04-26applypatch: Remove the obsolete support for "applypatch -s".Tao Bao1-17/+1
2017-04-26applypatch: Add determine the return value of ApplyDiffPatch andJinguang Dong1-1/+4
2017-04-02applypatch: Remove duplicate test files.Tao Bao5-468/+0
2017-03-28applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao5-30/+28
2017-03-28applypatch: Change the ssize_t length parameters to size_t.Tao Bao5-47/+40
2017-03-16More cleanup to imgdiff & imgpatchTianjie Xu5-193/+128
2017-03-16applypatch: Drop the support for patching non-EMMC targets.Tao Bao1-277/+109
2017-03-07Refractor the code for imgdiffTianjie Xu2-618/+596
2017-02-02Use bspatch from external/bsdiff.Sen Jiang3-183/+28
2017-01-20imgpatch: Compile with ZLIB_CONST defined.Tao Bao2-4/+10
2017-01-19imgdiff: cache bsdiff suffix array in zip mode.Sen Jiang2-16/+20
2016-12-28imgdiff: Fix an edge case that leads to infinite loop.Tao Bao2-15/+11
2016-12-28applypatch: Don't expose FindMatchingPatch().Tao Bao2-3/+2
2016-12-20Add tests for imgdiff.Tao Bao6-266/+335
2016-12-19Bugfix:updater always retry apply patch failed,when memcpy failed.katao1-0/+11
2016-12-07bootable/recovery: cleanup compiler warnings (potential leak of memory)Rahul Chaudhry1-0/+1
2016-11-30bootable/recovery: cleanup compiler warnings (unused value)Rahul Chaudhry1-0/+16
2016-11-28Remove ota_close(int) and ota_fclose(FILE*).Tao Bao1-2/+2
2016-11-23Add ota_close(unique_fd&) and ota_fclose(std::unique_ptr<FILE>&).Tao Bao1-7/+7
2016-11-21applypatch: Release FD when explicitly calling close.Tao Bao1-5/+5
2016-11-17applypatch: Use unique_fd to avoid leaking FDs.Tao Bao1-282/+270
2016-11-17applypatch: Clean up LoadPartitionContents().Tao Bao1-283/+257
2016-11-16Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap.Rahul Chaudhry1-16/+16
2016-11-16bootable/recovery: cleanup compiler warnings (potential leak of memory)Rahul Chaudhry1-0/+4
2016-11-09Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap.Rahul Chaudhry1-16/+16
2016-11-01applypatch: Add testcases for applypatch executable.Tao Bao4-30/+102
2016-10-29applypatch: Switch the parameter of Value** to std::vector.Tao Bao3-23/+23
2016-10-25applypatch: Fix the bug when constructing VAL_BLOB.Tao Bao1-2/+3
2016-10-18Fix applypatch_check failure when applying update on anglerTianjie Xu1-1/+1
2016-10-18Replace minzip with libziparchiveTianjie Xu1-1/+0
2016-10-15Change StringValue to use std::stringTianjie Xu7-79/+75
2016-09-30Turn on -Werror for recoveryTianjie Xu1-0/+5
2016-09-30Turn on -Werror for recoveryTianjie Xu1-0/+5
2016-09-01Switch recovery to libbase loggingTianjie Xu1-1/+1
2016-09-01Switch recovery to libbase loggingTianjie Xu1-1/+1
2016-09-01Switch recovery to libbase loggingTianjie Xu1-1/+1
2016-09-01Check an edge case when read(2) returns 0Tianjie Xu1-0/+3
2016-08-06Fix references to libcrypto_utils_static.Josh Gao1-4/+4
2016-06-14applypatch: Don't call inflate() when it expects zero-length output.Tao Bao1-57/+66
2016-06-10Remove obsolete MTD support.Elliott Hughes3-213/+105
2016-06-01Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector."Tao Bao1-38/+40
2016-06-01Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector."Tao Bao1-38/+40
2016-06-01Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector.Adam Buchbinder1-40/+38
2016-06-01Revert "imgdiff: Generate statically linked imgdiff."Tao Bao1-2/+1
2016-05-31imgdiff: Generate statically linked imgdiff.Tao Bao1-1/+2
2016-05-26Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector.Adam Buchbinder1-40/+38
2016-05-04applypatch: Use bsdiff from external/bsdiff.Sen Jiang3-425/+10
2016-04-18Fix google-runtime-int warnings.Chih-Hung Hsieh4-15/+16
2016-03-19Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-03-17Revert "DO NOT MERGE Control fault injection with config files instead of build flags"Tao Bao1-1/+1
2016-03-16DO NOT MERGE Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-03-14Add include/ to the Makefile include path.Alex Deymo1-1/+1
2016-03-11applypatch: use vector to store data in FileContents.Yabin Cui3-117/+67
2016-03-09applypatch: add -fPIC for libimgpatch in Chrome OS.Sen Jiang1-0/+1
2016-03-03Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.Tao Bao7-25/+49
2016-02-23Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-02-20Control fault injection with config files instead of build flagsJed Estep1-1/+1
2016-02-16applypatch: Add libimgpatch.pcSen Jiang1-0/+6
2016-02-12imgdiff: don't fail if gzip is corrupted.Sen Jiang1-12/+10
2016-02-12applypatch: use vector to store data in FileContents.Yabin Cui3-116/+66
2016-02-10IO fault injection for OTA packagesJed Estep2-28/+29
2016-02-10applypatch: Add a Makefile to build imgdiff in Chrome OS.Sen Jiang6-4/+39
2016-02-05applypatch: fix memory leaks reported by static analysis.Yabin Cui7-303/+202
2016-02-04Switch from mincrypt to BoringSSL in applypatch and updater.Sen Jiang6-38/+37
2016-01-29Fix build.Tao Bao1-0/+2
2016-01-28applypatch: Compile libimgpatch for target and host.Sen Jiang4-2/+69
2016-01-06IO fault injection for OTA packagesJed Estep2-26/+27
2015-12-23imgdiff: skip spurious gzip headers in image filesDavid Riley1-6/+13
2015-12-05Track rename from base/ to android-base/.Elliott Hughes1-1/+1
2015-12-02Remove the building rules for applypatch_static.Tao Bao1-13/+0
2015-11-16applypatch: Fix the checking in WriteToPartition().Tao Bao1-3/+4
2015-11-16applypatch: Support flash mode.Tao Bao3-16/+97
2015-11-16applypatch: Refactor strtok().Tao Bao2-86/+56
2015-11-16DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.Tao Bao9-186/+183
2015-11-16Stop using libstdc++.Dan Albert1-2/+2
2015-11-16recovery: Switch to clangTao Bao1-0/+5
2015-09-08imgdiff: fix file descriptor leakJeremy Compostella1-1/+9
2015-08-06updater: Clean up char* with std::string.Tao Bao1-11/+1
2015-07-25applypatch: Fix the checking in WriteToPartition().Tao Bao1-3/+4
2015-07-24applypatch: Support flash mode.Tao Bao3-16/+97
2015-07-24applypatch: Refactor strtok().Tao Bao2-86/+56
2015-07-22applypatch: Support flash mode.Tao Bao3-16/+97
2015-07-17applypatch: Refactor strtok().Tao Bao2-86/+56
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao9-186/+183
2015-07-14recovery: Switch applypatch/ and updater/ to cpp.Tao Bao9-186/+183
2015-06-26Use f_bavail to calculate free spacecaozhiyuan1-1/+1
2015-06-03recovery: Switch to clangTao Bao1-0/+5
2015-05-29Use f_bavail to calculate free spacecaozhiyuan1-1/+1
2015-05-19Stop using libstdc++.Dan Albert1-2/+2
2015-04-30Check all lseek calls succeed.Elliott Hughes1-24/+27
2015-04-30Check all lseek calls succeed.Elliott Hughes1-24/+27
2015-04-15imgdiff: Avoid infinite loop if inflate failsJohan Redestig1-0/+9
2015-01-30Add missing includes.Elliott Hughes1-0/+1
2015-01-28Add missing includes.Elliott Hughes1-0/+1
2014-10-29Use more aggressive sync writing to applypatch.Michael Runge1-8/+36
2014-08-20installer for new block OTA systemDoug Zongker4-9/+7
2014-08-19installer for new block OTA systemDoug Zongker4-9/+7
2014-05-13fix vulnerability in bspatchDoug Zongker1-0/+5
2014-03-14Recovery 64-bit compile issuesMark Salyzyn2-9/+10
2014-02-14remove remaining libminelf referencesDoug Zongker1-2/+2
2014-02-14remove 'retouch' ASLR supportDoug Zongker3-32/+11
2013-12-20fix unnecessarily slow writing of EMMC partitionsDoug Zongker1-15/+3
2013-09-25verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2013-07-11recovery: remove O_DIRECT, use O_SYNC onlyDoug Zongker1-2/+2
2013-07-11recovery: more cargo-cult programmingDoug Zongker1-2/+2
2013-07-11recovery: sleep after writing partition and closing itDoug Zongker1-2/+7
2013-07-10recovery: sleep after writing partition and closing itDoug Zongker1-2/+7
2013-07-10recovery: write partitions more conservativelyDoug Zongker1-24/+46
2013-07-10recovery: try to write EMMC partitions more reliablyDoug Zongker2-7/+73
2013-07-09recovery: write partitions more conservativelyDoug Zongker1-24/+46
2013-07-08recovery: try to write EMMC partitions more reliablyDoug Zongker2-7/+73
2013-04-10verifier: update to support certificates using SHA-256Doug Zongker1-1/+1
2012-10-19reduce some recovery loggingDoug Zongker1-6/+21
2012-08-21add bonus data feature to imgdiff/imgpatch/applypatchDoug Zongker5-21/+99
2012-08-14host modules don't need LOCAL_MODULE_TAGSJoe Onorato1-1/+0
2012-07-22host modules don't need LOCAL_MODULE_TAGSJoe Onorato1-1/+0
2012-06-27Add mode when open(O_CREAT) is used.Nick Kralevich1-2/+2
2012-04-06Add NOTICE fileWei Zhong1-0/+41
2012-02-28fix buildDoug Zongker2-2/+2
2012-02-28fix failure to free memoryDoug Zongker2-19/+45
2011-07-12Remove the simulator target from all makefiles.Jeff Brown1-4/+0
2011-02-09Fix x86 build.Ying Wang1-2/+0
2010-09-15(cherry-pick) EMMC support in applypatchDoug Zongker1-102/+175
2010-08-13fix bug in applying patchesDoug Zongker1-1/+1
2010-08-13remove shadowed variable declarationDoug Zongker1-1/+2
2010-08-13remove shadowed variable declarationDoug Zongker1-1/+2
2010-08-13fix bug in applying patchesDoug Zongker1-1/+1
2010-08-02Working ASLR implementationHristo Bojinov4-16/+41
2010-07-08EMMC support in applypatchDoug Zongker1-102/+175
2010-05-04generic_x86 supportBruce Beare1-0/+2
2010-02-23refactor applypatch and friendsDoug Zongker9-1256/+1185
2010-02-18relocate applypatch; add type system and new functions to edifyDoug Zongker17-0/+3882