Skip to content

Conversation

@foreverallama
Copy link
Contributor

@foreverallama foreverallama commented Dec 7, 2025

A simple update to log a warning if someone encounters MCOS metadata that we don't know about. This will help us in our development efforts to support MCOS objects. Fixes #226

A basic summary of metadata regions of unknown purpose below:

  1. subsys._u6_metadata - this is usually empty
  2. subsys._u7_metadata - this is usually all zeros
  3. subsys._c3 - this contains data shared between all instances of a class. We don't know what the data is yet
  4. subsys.class_id_metadata - This is a block of 4 numbers (A, B, X, X). The X's purpose are unknown.
  5. subsys.object_id_metadata - This is a block of 6 numbers (A, X, X, B, C, D). The X's purpose are unknown.

Should be ready now

@matthijscox
Copy link
Member

Looks okay, I fixed a merge conflict. Shall we merge?

@foreverallama
Copy link
Contributor Author

Sure

@matthijscox matthijscox merged commit c34a862 into JuliaIO:master Dec 10, 2025
8 checks passed
@foreverallama foreverallama deleted the subsys-check branch December 10, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add checks for unknown metadata regions in MAT_subsys

2 participants