Bug 52733 - rizin: /usr/share/rizin/magic/archive warnings (Duplicate magic entry)
Summary: rizin: /usr/share/rizin/magic/archive warnings (Duplicate magic entry)
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rizin (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 enhancement
Assignee: sirius@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-16 21:39 MSK by dfpl
Modified: 2025-02-14 17:43 MSK (History)
1 user (show)

See Also:


Attachments
иллюстративный исходный код (Yasm+GNU C) (1.75 KB, application/gzip)
2025-01-16 21:39 MSK, dfpl
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)