summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2020-03-26 12:34:44 -0700
committerTianjie <xunchang@google.com>2020-03-31 12:01:12 -0700
commit0ec0eaa2140f3c7671442d610d6297316b314184 (patch)
tree103d8ed31f6cb5a83d989e7ea61fcefe1e875398 /trusty/coverage/coverage_test.cpp
parentd6211a2ddec23378bb3add1aa2e6bf6f12a85b86 (diff)
Support parsing of data descriptor
The size fields in the data descriptor can be either 4 bytes or 8 bytes. This depends on if the size are read from the zip64 extended field in the local file header. This cl adds support to parse these cases. Also fix a misconception in that the uncompressed and compressed size doesn't need to exist together in the zip64 fields of the central directory. But they still need to co-exist in the fields of the local file header. Bug: 150900468 Test: unit tests pass, python tests pass Change-Id: Ia54f9bf56c85ff456ead90a136f7fddc5be5220c
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions