Skip to content

Commit 70b5c81

Browse files
e3krisztianqkaiser
authored andcommitted
Fix android/sparse handler: do not repeat chunk offsets in output
1 parent a28c508 commit 70b5c81

File tree

2 files changed

+1
-1
lines changed
  • tests/integration/filesystem/android/sparse/__output__/fruits.sparse_extract
  • unblob/handlers/filesystem/android

2 files changed

+1
-1
lines changed

unblob/handlers/filesystem/android/sparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class SparseHandler(StructHandler):
5757
"""
5858
HEADER_STRUCT = "sparse_header_t"
5959

60-
EXTRACTOR = Command("simg2img", "{inpath}", "{outdir}/{infile}")
60+
EXTRACTOR = Command("simg2img", "{inpath}", "{outdir}/raw.image")
6161

6262
def calculate_chunk(self, file: File, start_offset: int) -> Optional[ValidChunk]:
6363
header = self.parse_header(file, Endian.LITTLE)

0 commit comments

Comments
 (0)