Bug 52733

Summary: rizin: /usr/share/rizin/magic/archive warnings (Duplicate magic entry)
Product: Sisyphus Reporter: dfpl <lubyagin>
Component: rizinAssignee: sirius <sirius>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P5 CC: sirius
Version: unstable   
Hardware: x86_64   
OS: Linux   
Attachments:
Description Flags
иллюстративный исходный код (Yasm+GNU C) none

Description dfpl 2025-01-16 21:39:35 MSK
Created attachment 17544 [details]
иллюстративный исходный код (Yasm+GNU C)

rz-find выдаёт на бинарном файле (исходный код приложен) следующие сообщения.
Возможно, какая-то недоработка внутри компонентов rizin.

$ rz-find -i 4args
/usr/share/rizin/magic/archive, 139: Warning: New continuation level 2 is more than one larger than current level 0
Warning: Duplicate magic entry `xar archive'
*unknown*, 243: > 0 string,=xar!,"xar archive"]
*unknown*, 253: > 0 string,=xar!,"xar archive"]
Warning: Duplicate magic entry `Squashfs filesystem, little endian,'
*unknown*, 1236: > 0 string,=hsqt,"Squashfs filesystem, little endian,"]
*unknown*, 1250: > 0 string,=hsqt,"Squashfs filesystem, little endian,"]
Warning: Duplicate magic entry `SE Linux policy'
*unknown*, 160: > 0 lelong&,=-109248628,"SE Linux policy"]
*unknown*, 202: > 0 lelong&,=-109248628,"SE Linux policy"]
0x00000000 1 ELF 64-bit LSB shared object, x86-64, version 1
===
Comment 1 Repository Robot 2025-02-14 17:43:54 MSK
rizin-0.7.4-alt1 -> sisyphus:

 Fri Feb 14 2025 Dmitrii Fomchenkov <sirius@altlinux> 0.7.4-alt1
 - 0.7.4-alt1
 - fixed the package description (closes: 52734)
 - fixed sigmentation fault (closes: 52725)
 - fixed warnings when using "rizin" with "-nqcpm" parameters (closes: 52733)