platform_system_core/libsparse
Bowgo Tsai dbf62d939a simg_dump.py: fix error for CHUNK_TYPE_FILL
In python3, division of two integers produces a float,
which cannot be used to multiply a bytes sequence.

Using // to produce an integer quotient.

Bug: 245257511
Test: ./system/core/libsparse/simg_dump.py -sv path/to/image
Change-Id: Ibe95056409ac3676a68f5e7693331ca4a66e9fb7
2022-10-03 16:27:49 +08:00
..
include/sparse Merge changes from topic "sparse-file-read-enum" 2022-01-28 05:28:04 +00:00
.clang-format libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
Android.bp Fix module-file name collisions 2022-09-20 12:33:47 -07:00
append2simg.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
backed_block.cpp libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09:00
backed_block.h libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09:00
defs.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
img2simg.cpp img2simg: Add support for converting holes to "don't care" chunks 2022-01-27 14:49:46 -05:00
output_file.cpp Add checking for sparse file format 2022-01-14 00:37:48 +00:00
output_file.h libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09:00
OWNERS
simg2img.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
simg2simg.cpp [libsparse] Modernize codebase by replacing NULL with nullptr 2018-07-23 23:32:01 +00:00
simg_dump.py simg_dump.py: fix error for CHUNK_TYPE_FILL 2022-10-03 16:27:49 +08:00
sparse.cpp libsparse: Fix overflow of merged sparse chunk length 2020-08-11 08:34:28 +09:00
sparse_crc32.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_crc32.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_defs.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_err.cpp libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_file.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_format.h libsparse: Add .clang-format and reformat to google3 style 2018-06-13 20:32:24 +00:00
sparse_fuzzer.cpp sparse_fuzzer: Bug fix 2022-04-04 14:03:55 +05:30
sparse_read.cpp libsparse: Don't spam errors in sparse_file_import_auto. 2022-06-01 18:36:04 -07:00