index
:
anonymous/android_bootable_recovery
android-11
android-14.0
android-4.3
android-4.4
android-5.0
android-5.1
android-6.0
android-7.0
android-7.1
android-8.0
android-8.1
android-9.0
Team Win Recovery Project (TWRP)
mirror
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
applypatch
(
unfollow
)
Commit message (
Expand
)
Author
Files
Lines
2018-02-28
Add a singleton CacheLocation to replace the hard coded locations
Tianjie Xu
3
-13
/
+7
2018-02-23
Remove the assumption of target chunk size in imgdiff
Tianjie Xu
2
-20
/
+30
2018-02-18
Disable building libapplypatch on mac
Tianjie Xu
1
-0
/
+6
2018-02-13
Skip the cache size check on host
Tianjie Xu
3
-3
/
+10
2017-12-07
applypatch: Remove the 'st' field from FileContents.
Tao Bao
2
-17
/
+3
2017-11-16
Switch imgdiff to libbase logging
Tianjie Xu
2
-97
/
+109
2017-11-10
applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch.
Tao Bao
4
-45
/
+47
2017-11-08
Include bspatch.h from bsdiff/
Alex Deymo
1
-1
/
+1
2017-11-03
Add libbrotli as a dependency when building applypatch binary
Tianjie Xu
1
-0
/
+1
2017-11-03
Switch to bionic gtest in bootable/recovery
Tianjie Xu
3
-19
/
+17
2017-11-01
Add libbrotli as a dependency for libbsdiff
Tianjie Xu
1
-0
/
+1
2017-10-24
applypatch: Fix a memory leak in ApplyImagePatch().
Tao Bao
1
-17
/
+22
2017-10-24
Use SuffixArrayIndexInterface opaque type instead of the underlying data pointer.
Alex Deymo
2
-7
/
+10
2017-10-16
otautil: Move RangeSet implementation into rangeset.cpp.
Tao Bao
2
-0
/
+3
2017-10-12
applypatch: Move to Soong.
Tao Bao
2
-196
/
+195
2017-10-12
applypatch: Remove the Makefile for building imgdiff in Chrome OS.
Tao Bao
2
-39
/
+0
2017-10-11
applypatch: Use shared lib for libbz.
Tao Bao
1
-2
/
+2
2017-10-11
Move rangeset.h and print_sha1.h into otautil.
Tao Bao
5
-21
/
+21
2017-10-11
applypatch: Use shared libs for libbase/libcrypto/liblog/libziparchive.
Tao Bao
1
-6
/
+3
2017-10-09
edify: Export the header and move to Soong.
Tao Bao
1
-0
/
+1
2017-10-09
Revert "Revert "Move error_code.h into otautil.""
Tao Bao
1
-0
/
+1
2017-10-09
applypatch: Forward declare struct Value.
Tao Bao
4
-2
/
+8
2017-10-05
Revert "Move error_code.h into otautil."
Tao Bao
1
-5
/
+0
2017-10-04
Move error_code.h into otautil.
Tao Bao
1
-0
/
+5
2017-09-29
otafault: Move headers under otafault/.
Tao Bao
1
-1
/
+1
2017-09-29
otafault: Remove the use of LOCAL_WHOLE_STATIC_LIBRARIES.
Tao Bao
1
-2
/
+4
2017-09-21
Output split information for imgdiff when handling large apks
Tianjie Xu
2
-61
/
+134
2017-09-06
Improve imgdiff for large zip files
Tianjie Xu
2
-19
/
+480
2017-08-29
Turn on -Wall for recovery modules
Tianjie Xu
1
-3
/
+7
2017-08-19
Move Image/ImageChunk/PatchChunk declaration into header files
Tianjie Xu
3
-272
/
+319
2017-08-13
Add a new PatchChunk class in imgdiff
Tianjie Xu
1
-236
/
+292
2017-08-02
Refactor the imgdiff
Tianjie Xu
2
-393
/
+569
2017-07-07
Fix a rare failure for imgdiff when random data equals gzip header
Tianjie Xu
1
-11
/
+14
2017-05-26
Implement a custom deflate sink function for bspatch
Tianjie Xu
1
-58
/
+86
2017-05-16
Print SHA1 of the patch if bsdiff fails with data error
Tianjie Xu
3
-22
/
+32
2017-04-26
applypatch: Remove the obsolete support for "applypatch -s".
Tao Bao
1
-17
/
+1
2017-04-26
applypatch: Add determine the return value of ApplyDiffPatch and
Jinguang Dong
1
-1
/
+4
2017-04-02
applypatch: Remove duplicate test files.
Tao Bao
5
-468
/
+0
2017-03-28
applypatch: Let Apply{BSDiff,Image}Patch accept std::function.
Tao Bao
5
-30
/
+28
2017-03-28
applypatch: Change the ssize_t length parameters to size_t.
Tao Bao
5
-47
/
+40
2017-03-16
More cleanup to imgdiff & imgpatch
Tianjie Xu
5
-193
/
+128
2017-03-16
applypatch: Drop the support for patching non-EMMC targets.
Tao Bao
1
-277
/
+109
2017-03-07
Refractor the code for imgdiff
Tianjie Xu
2
-618
/
+596
2017-02-02
Use bspatch from external/bsdiff.
Sen Jiang
3
-183
/
+28
2017-01-20
imgpatch: Compile with ZLIB_CONST defined.
Tao Bao
2
-4
/
+10
2017-01-19
imgdiff: cache bsdiff suffix array in zip mode.
Sen Jiang
2
-16
/
+20
2016-12-28
imgdiff: Fix an edge case that leads to infinite loop.
Tao Bao
2
-15
/
+11
2016-12-28
applypatch: Don't expose FindMatchingPatch().
Tao Bao
2
-3
/
+2
2016-12-20
Add tests for imgdiff.
Tao Bao
6
-266
/
+335
2016-12-19
Bugfix:updater always retry apply patch failed,when memcpy failed.
katao
1
-0
/
+11
2016-12-07
bootable/recovery: cleanup compiler warnings (potential leak of memory)
Rahul Chaudhry
1
-0
/
+1
2016-11-30
bootable/recovery: cleanup compiler warnings (unused value)
Rahul Chaudhry
1
-0
/
+16
2016-11-28
Remove ota_close(int) and ota_fclose(FILE*).
Tao Bao
1
-2
/
+2
2016-11-23
Add ota_close(unique_fd&) and ota_fclose(std::unique_ptr<FILE>&).
Tao Bao
1
-7
/
+7
2016-11-21
applypatch: Release FD when explicitly calling close.
Tao Bao
1
-5
/
+5
2016-11-17
applypatch: Use unique_fd to avoid leaking FDs.
Tao Bao
1
-282
/
+270
2016-11-17
applypatch: Clean up LoadPartitionContents().
Tao Bao
1
-283
/
+257
2016-11-16
Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap.
Rahul Chaudhry
1
-16
/
+16
2016-11-16
bootable/recovery: cleanup compiler warnings (potential leak of memory)
Rahul Chaudhry
1
-0
/
+4
2016-11-09
Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap.
Rahul Chaudhry
1
-16
/
+16
2016-11-01
applypatch: Add testcases for applypatch executable.
Tao Bao
4
-30
/
+102
2016-10-29
applypatch: Switch the parameter of Value** to std::vector.
Tao Bao
3
-23
/
+23
2016-10-25
applypatch: Fix the bug when constructing VAL_BLOB.
Tao Bao
1
-2
/
+3
2016-10-18
Fix applypatch_check failure when applying update on angler
Tianjie Xu
1
-1
/
+1
2016-10-18
Replace minzip with libziparchive
Tianjie Xu
1
-1
/
+0
2016-10-15
Change StringValue to use std::string
Tianjie Xu
7
-79
/
+75
2016-09-30
Turn on -Werror for recovery
Tianjie Xu
1
-0
/
+5
2016-09-30
Turn on -Werror for recovery
Tianjie Xu
1
-0
/
+5
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-1
/
+1
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-1
/
+1
2016-09-01
Switch recovery to libbase logging
Tianjie Xu
1
-1
/
+1
2016-09-01
Check an edge case when read(2) returns 0
Tianjie Xu
1
-0
/
+3
2016-08-06
Fix references to libcrypto_utils_static.
Josh Gao
1
-4
/
+4
2016-06-14
applypatch: Don't call inflate() when it expects zero-length output.
Tao Bao
1
-57
/
+66
2016-06-10
Remove obsolete MTD support.
Elliott Hughes
3
-213
/
+105
2016-06-01
Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector."
Tao Bao
1
-38
/
+40
2016-06-01
Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector."
Tao Bao
1
-38
/
+40
2016-06-01
Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector.
Adam Buchbinder
1
-40
/
+38
2016-06-01
Revert "imgdiff: Generate statically linked imgdiff."
Tao Bao
1
-2
/
+1
2016-05-31
imgdiff: Generate statically linked imgdiff.
Tao Bao
1
-1
/
+2
2016-05-26
Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector.
Adam Buchbinder
1
-40
/
+38
2016-05-04
applypatch: Use bsdiff from external/bsdiff.
Sen Jiang
3
-425
/
+10
2016-04-18
Fix google-runtime-int warnings.
Chih-Hung Hsieh
4
-15
/
+16
2016-03-19
Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-03-17
Revert "DO NOT MERGE Control fault injection with config files instead of build flags"
Tao Bao
1
-1
/
+1
2016-03-16
DO NOT MERGE Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-03-14
Add include/ to the Makefile include path.
Alex Deymo
1
-1
/
+1
2016-03-11
applypatch: use vector to store data in FileContents.
Yabin Cui
3
-117
/
+67
2016-03-09
applypatch: add -fPIC for libimgpatch in Chrome OS.
Sen Jiang
1
-0
/
+1
2016-03-03
Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES.
Tao Bao
7
-25
/
+49
2016-02-23
Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-02-20
Control fault injection with config files instead of build flags
Jed Estep
1
-1
/
+1
2016-02-16
applypatch: Add libimgpatch.pc
Sen Jiang
1
-0
/
+6
2016-02-12
imgdiff: don't fail if gzip is corrupted.
Sen Jiang
1
-12
/
+10
2016-02-12
applypatch: use vector to store data in FileContents.
Yabin Cui
3
-116
/
+66
2016-02-10
IO fault injection for OTA packages
Jed Estep
2
-28
/
+29
2016-02-10
applypatch: Add a Makefile to build imgdiff in Chrome OS.
Sen Jiang
6
-4
/
+39
2016-02-05
applypatch: fix memory leaks reported by static analysis.
Yabin Cui
7
-303
/
+202
2016-02-04
Switch from mincrypt to BoringSSL in applypatch and updater.
Sen Jiang
6
-38
/
+37
2016-01-29
Fix build.
Tao Bao
1
-0
/
+2
2016-01-28
applypatch: Compile libimgpatch for target and host.
Sen Jiang
4
-2
/
+69
2016-01-06
IO fault injection for OTA packages
Jed Estep
2
-26
/
+27
2015-12-23
imgdiff: skip spurious gzip headers in image files
David Riley
1
-6
/
+13
2015-12-05
Track rename from base/ to android-base/.
Elliott Hughes
1
-1
/
+1
2015-12-02
Remove the building rules for applypatch_static.
Tao Bao
1
-13
/
+0
2015-11-16
applypatch: Fix the checking in WriteToPartition().
Tao Bao
1
-3
/
+4
2015-11-16
applypatch: Support flash mode.
Tao Bao
3
-16
/
+97
2015-11-16
applypatch: Refactor strtok().
Tao Bao
2
-86
/
+56
2015-11-16
DO NOT MERGE recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
9
-186
/
+183
2015-11-16
Stop using libstdc++.
Dan Albert
1
-2
/
+2
2015-11-16
recovery: Switch to clang
Tao Bao
1
-0
/
+5
2015-09-08
imgdiff: fix file descriptor leak
Jeremy Compostella
1
-1
/
+9
2015-08-06
updater: Clean up char* with std::string.
Tao Bao
1
-11
/
+1
2015-07-25
applypatch: Fix the checking in WriteToPartition().
Tao Bao
1
-3
/
+4
2015-07-24
applypatch: Support flash mode.
Tao Bao
3
-16
/
+97
2015-07-24
applypatch: Refactor strtok().
Tao Bao
2
-86
/
+56
2015-07-22
applypatch: Support flash mode.
Tao Bao
3
-16
/
+97
2015-07-17
applypatch: Refactor strtok().
Tao Bao
2
-86
/
+56
2015-07-14
recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
9
-186
/
+183
2015-07-14
recovery: Switch applypatch/ and updater/ to cpp.
Tao Bao
9
-186
/
+183
2015-06-26
Use f_bavail to calculate free space
caozhiyuan
1
-1
/
+1
2015-06-03
recovery: Switch to clang
Tao Bao
1
-0
/
+5
2015-05-29
Use f_bavail to calculate free space
caozhiyuan
1
-1
/
+1
2015-05-19
Stop using libstdc++.
Dan Albert
1
-2
/
+2
2015-04-30
Check all lseek calls succeed.
Elliott Hughes
1
-24
/
+27
2015-04-30
Check all lseek calls succeed.
Elliott Hughes
1
-24
/
+27
2015-04-15
imgdiff: Avoid infinite loop if inflate fails
Johan Redestig
1
-0
/
+9
2015-01-30
Add missing includes.
Elliott Hughes
1
-0
/
+1
2015-01-28
Add missing includes.
Elliott Hughes
1
-0
/
+1
2014-10-29
Use more aggressive sync writing to applypatch.
Michael Runge
1
-8
/
+36
2014-08-20
installer for new block OTA system
Doug Zongker
4
-9
/
+7
2014-08-19
installer for new block OTA system
Doug Zongker
4
-9
/
+7
2014-05-13
fix vulnerability in bspatch
Doug Zongker
1
-0
/
+5
2014-03-14
Recovery 64-bit compile issues
Mark Salyzyn
2
-9
/
+10
2014-02-14
remove remaining libminelf references
Doug Zongker
1
-2
/
+2
2014-02-14
remove 'retouch' ASLR support
Doug Zongker
3
-32
/
+11
2013-12-20
fix unnecessarily slow writing of EMMC partitions
Doug Zongker
1
-15
/
+3
2013-09-25
verifier: update to support certificates using SHA-256
Doug Zongker
1
-1
/
+1
2013-07-11
recovery: remove O_DIRECT, use O_SYNC only
Doug Zongker
1
-2
/
+2
2013-07-11
recovery: more cargo-cult programming
Doug Zongker
1
-2
/
+2
2013-07-11
recovery: sleep after writing partition and closing it
Doug Zongker
1
-2
/
+7
2013-07-10
recovery: sleep after writing partition and closing it
Doug Zongker
1
-2
/
+7
2013-07-10
recovery: write partitions more conservatively
Doug Zongker
1
-24
/
+46
2013-07-10
recovery: try to write EMMC partitions more reliably
Doug Zongker
2
-7
/
+73
2013-07-09
recovery: write partitions more conservatively
Doug Zongker
1
-24
/
+46
2013-07-08
recovery: try to write EMMC partitions more reliably
Doug Zongker
2
-7
/
+73
2013-04-10
verifier: update to support certificates using SHA-256
Doug Zongker
1
-1
/
+1
2012-10-19
reduce some recovery logging
Doug Zongker
1
-6
/
+21
2012-08-21
add bonus data feature to imgdiff/imgpatch/applypatch
Doug Zongker
5
-21
/
+99
2012-08-14
host modules don't need LOCAL_MODULE_TAGS
Joe Onorato
1
-1
/
+0
2012-07-22
host modules don't need LOCAL_MODULE_TAGS
Joe Onorato
1
-1
/
+0
2012-06-27
Add mode when open(O_CREAT) is used.
Nick Kralevich
1
-2
/
+2
2012-04-06
Add NOTICE file
Wei Zhong
1
-0
/
+41
2012-02-28
fix build
Doug Zongker
2
-2
/
+2
2012-02-28
fix failure to free memory
Doug Zongker
2
-19
/
+45
2011-07-12
Remove the simulator target from all makefiles.
Jeff Brown
1
-4
/
+0
2011-02-09
Fix x86 build.
Ying Wang
1
-2
/
+0
2010-09-15
(cherry-pick) EMMC support in applypatch
Doug Zongker
1
-102
/
+175
2010-08-13
fix bug in applying patches
Doug Zongker
1
-1
/
+1
2010-08-13
remove shadowed variable declaration
Doug Zongker
1
-1
/
+2
2010-08-13
remove shadowed variable declaration
Doug Zongker
1
-1
/
+2
2010-08-13
fix bug in applying patches
Doug Zongker
1
-1
/
+1
2010-08-02
Working ASLR implementation
Hristo Bojinov
4
-16
/
+41
2010-07-08
EMMC support in applypatch
Doug Zongker
1
-102
/
+175
2010-05-04
generic_x86 support
Bruce Beare
1
-0
/
+2
2010-02-23
refactor applypatch and friends
Doug Zongker
9
-1256
/
+1185
2010-02-18
relocate applypatch; add type system and new functions to edify
Doug Zongker
17
-0
/
+3882