chromium 的 diff, patcher
1,编译出来:
autoninja -C out\Default courgette
2,使用
e:\\chromium\src\out\Default>courgette64.exe
First argument must be one of:
-supported, -asm, -dis, -disadj, -gen, -apply, -genbsdiff, -applybsdiff, or -gen1[au].
Main Usage:
courgette -gen <old_in> <new_in> <patch_out>
courgette -apply <old_in> <patch_in> <new_out>
courgette -genbsdiff <old_in> <new_in> <patch_out>
courgette -applybsdiff <old_in> <patch_in> <new_out>
Diagnosis Usage:
courgette -supported <exec_file_in>
courgette -dis <exec_file_in> <assembly_file_out>
courgette -asm <assembly_file_in> <exec_file_out>
courgette -disadj <old_in> <new_in> <new_assembly_file_out>
courgette -gen1[au] <old_in> <new_in> <patch_base_out>
示例:
courgette64.exe -apply base文件 pacher文件 a.out