An important method for the identification of le types uses what are commonly called magic patterns. Each such pattern typically species the occurrence of some characteristically identifying data at one or more locations within a file. A large and surprisingly complex database of magic patterns has organically evolved over several decades, and forms the basis of very widely used file-identification programs and modules within more complex programs. The language used for specifying these patterns has also evolved organically over this time. This paper studies this language, providing a systematic description and parser, in turn enabling further study of this database that has interesting theoretical and practical implications.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Analysis of a File Magic Pattern Language

  • Sudarshan S. Chawathe

摘要

An important method for the identification of le types uses what are commonly called magic patterns. Each such pattern typically species the occurrence of some characteristically identifying data at one or more locations within a file. A large and surprisingly complex database of magic patterns has organically evolved over several decades, and forms the basis of very widely used file-identification programs and modules within more complex programs. The language used for specifying these patterns has also evolved organically over this time. This paper studies this language, providing a systematic description and parser, in turn enabling further study of this database that has interesting theoretical and practical implications.