Expand description
Binary file format definitions using simple TLV (Type-Length-Value) structure
Modules§
- endian
- Endian conversion utilities
- feature_
flags - Feature flags for enhanced binary format (bit field)
Structs§
- Advanced
Metrics Header - Task 6: Advanced metrics segment header
- Allocation
Record - Allocation record structure for binary serialization with improve.md extensions
- File
Header - Enhanced file header structure (32 bytes fixed size) Extended to include safety analysis and passport tracking information
Enums§
- Binary
Export Mode - Binary export mode for header identification
- Metrics
Bitmap Flags - Task 6: Metrics bitmap flags for identifying which advanced metrics are present
Constants§
- ADVANCED_
METRICS_ MAGIC - ADVANCED_
METRICS_ SEGMENT_ TYPE - ALLOCATION_
RECORD_ TYPE - CALL_
STACK_ MAGIC - CALL_
STACK_ SEGMENT_ TYPE - FFI_
FUNCTION_ MAGIC - FFI_
FUNCTION_ SEGMENT_ TYPE - FORMAT_
VERSION - HEADER_
SIZE - MAGIC_
BYTES - File magic bytes for format identification
- MEMORY_
PASSPORT_ MAGIC - MEMORY_
PASSPORT_ SEGMENT_ TYPE - UNSAFE_
REPORT_ MAGIC - UNSAFE_
REPORT_ SEGMENT_ TYPE