2 个稳定版本
| 1.0.1 | 2022年6月19日 |
|---|---|
| 1.0.0 | 2019年6月25日 |
#422 in 可视化
81KB
2K SLoC
carta-schema
Carta 二进制文件分析工具的后端
lib.rs:
- 编译器 - 将 .carta 模式文件编译成可用的内部表示形式,可以
- 应用于二进制文件。
- 编译阶段
- 分词 将输入文件分割成标记
-
| -
V - 解析 提取文件结构定义。返回一个包含
-
| a list of the structs, in the order they appeared in the input file. -
V - 类型检查 使用 StructDefns 和内置类型进行类型检查。返回
-
| a tschema object with type checked types. -
V - 正确性检查 对模式的最终检查。
-
| - Root element is correctly present -
| - Array lengths can be calculated -
V - 最终模式
依赖项
~2MB
~46K SLoC