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

Christos Zoulas christos at zoulas.com
Sat Mar 11 18:52:12 UTC 2023


Committed, thanks!

christos

> On Mar 11, 2023, at 4:52 AM, Alexandre IOOSS <erdnaxe at crans.org> wrote:
> 
> Signed PGP part
> 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
> <cortex-m-variant.patch>
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20230311/949db489/attachment.asc>


More information about the File mailing list