diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2021-11-01 19:27:26 -0700 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2021-11-02 02:38:22 +0000 |
commit | a90c04389f86ed4363674e20b0d5f171dea7ebeb (patch) | |
tree | 0a310ca653ef73c547d80da63c87fcb2c0636bcb /README.md | |
parent | f2da819cb37cb2376c917506fb1eb154ec61586a (diff) | |
parent | 8bb965d29e918d0559589a215ff7f4bd0874bc08 (diff) | |
download | zucchini-a90c04389f86ed4363674e20b0d5f171dea7ebeb.tar.gz |
Merge remote-tracking branch 'aosp/upstream-main' into dev
This performs a merge on upstream zucchini.
Change-Id: I8a4844407558d6f1e439939ee634fe17ed7a4e55
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -204,12 +204,14 @@ Position of elements in new file is ascending. Name | Format | Description --- | --- | --- magic | uint32 = kMagic | Magic value. +major_version | uint16 | Major version number indicating breaking changes. +minor_version | uint16 | Minor version number indicating possibly breaking changes. old_size | uint32 | Size of old file in bytes. old_crc | uint32 | CRC32 of old file. new_size | uint32 | Size of new file in bytes. new_crc | uint32 | CRC32 of new file. -**kMagic** == `'Z' | ('u' << 8) | ('c' << 16)` +**kMagic** == `'Z' | ('u' << 8) | ('c' << 16) | ('c' << 24)` **PatchElement** Contains all the information required to produce a single element in new file. @@ -235,6 +237,7 @@ old_length | uint32 | Length of the element in old file. new_offset | uint32 | Starting offset of the element in new file. new_length | uint32 | Length of the element in new file. exe_type | uint32 | Executable type for this unit, see `enum ExecutableType`. +version | uint16 | Version specific to the executable type for this unit. **EquivalenceList** Encodes a list of equivalences, where dst offsets (in new image) are ascending. @@ -278,3 +281,16 @@ Name | Format | Description --- | --- | --- size |uint32 | Size of content in bytes. content |T[] | List of integers. + +# Format Changelog +All breaking changes to zucchini patch format will be documented in this +section. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). + +## [Unreleased] + +## [1.0] - 2021-10-27 +### Added +Major/Minor version is encoded in PatchHeader +Disassembler version associated with an element version is encoded in PatchElementHeader. |