Commit ddb19e5e by Jörg Stucke

added android sparse image magic

parent 2676af3e
...@@ -461,3 +461,14 @@ ...@@ -461,3 +461,14 @@
# source: https://github.com/file/file/blob/master/magic/Magdir/filesystems # source: https://github.com/file/file/blob/master/magic/Magdir/filesystems
0x400 lelong 0xF2F52010 F2FS filesystem 0x400 lelong 0xF2F52010 F2FS filesystem
!:mime filesystem/f2fs !:mime filesystem/f2fs
# Android sparse img format
# From https://android.googlesource.com/\
# platform/system/core/+/master/libsparse/sparse_format.h
0 lelong 0xed26ff3a Android sparse image
!:mime filesystem/android-simg
>4 leshort x \b, version: %d
>6 leshort x \b.%d
>16 lelong x \b, Total of %d
>12 lelong x \b %d-byte output blocks in
>20 lelong x \b %d input chunks.
...@@ -44,7 +44,7 @@ with OperateInDirectory(str(MIME_DIR)): ...@@ -44,7 +44,7 @@ with OperateInDirectory(str(MIME_DIR)):
setup( setup(
name=MODULE_NAME, name=MODULE_NAME,
version='0.2.11', version='0.2.12',
description='Helper functions for file type generation', description='Helper functions for file type generation',
author='Johannes vom Dorp', author='Johannes vom Dorp',
url='https://github.com/fkie-cad/fact_helper_file', url='https://github.com/fkie-cad/fact_helper_file',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment