/
githubmirror
/
file
Обзор
Документация
Войти
/
githubmirror
/
file
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
magic/Magdir/cisco
16 строк
622 B
Christos Zoulas
PR/661: silver: Add Cisco MZIP format.
28 май 2025, 17:02
28 май 2025, 17:02
abf6249
Код
Авторство
О чём код?
#------------------------------------------------------------------------------ # $File: cisco,v 1.5 2025/05/28 14:02:37 christos Exp $ # cisco: file(1) magic for cisco Systems routers # # Most cisco file-formats are covered by the generic elf code # # Microcode files are non-ELF, 0x8501 conflicts with NetBSD/alpha. 0 belong&0xffffff00 0x85011400 cisco IOS microcode >7 string >\0 for '%s' 0 belong&0xffffff00 0x8501cb00 cisco IOS experimental microcode >7 string >\0 for '%s' 0 string/b MZIP Cisco IOS mzip compressed data >0x4 belong x \b, version %d >0x8 belong x \b, entry point %#x !:ext bin