- 10
- 0
- 约3.85千字
- 约 4页
- 2019-10-13 发布于江西
- 举报
Winhex模板编写教程
附录A:模板定义1 模板头模板头的格式:template title [description description] [applies_to (file/disk/RAM)] [fixed_start offset] [sector-aligned] [requires offset hex values] [big-endian] [hexadecimal/octal] [read-only] [multiple [fixed overall size]] // Put any general comments to the template here. begin ??variable declarations end 在方括号里的标签表示为可选项。标签的顺序没有硬性的规定,用户可以随意的更改他们的顺序。表达式中如果有空格则必须用双引号括起来。模板文件中的注释以为双斜杠开头。关键字“applies_to”后必须跟着“file,disk,或RAM”中的一个。模板应用于不同的介质的时候,winhex将发出错误警告。默认的情况下,模板将从窗口中光标的位置处执行,使用“fixed_start”选项将让模板从磁盘或文件的偏移量的绝对开头处运行。应用于磁盘的模板,关键字“sector-aligned”将让模板
原创力文档

文档评论(0)