[File] [PATCH] Magdir/firmware ARM Cortex-M variant

Alexandre IOOSS erdnaxe at crans.org
Sat Mar 11 09:52:30 UTC 2023


Hello,

In the past few days, I encountered some ARM Cortex-M firmware that were 
not correctly detected by file.
The current rule expects reserved sections to be at 0x00000000, which is 
not always the case as some toolchains use 0xFFFFFFFF as a placeholder.

Attached you will find a patch that modifies the rule to also match 
firmware files using 0xFFFFFFFF as a placeholder.

Thanks a lot,
Best regards,

-- 
Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cortex-m-variant.patch
Type: text/x-patch
Size: 794 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20230311/115645eb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/file/attachments/20230311/115645eb/attachment.asc>


More information about the File mailing list