Skip to content
mochiOSPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Effect Architecture IPM

This directory contains the C implementation of the IPM components. The first component is the request and reply decoder for the Effect Architecture 1.0 public ABI (§23.2 and §25.1–25.4).

The decoder accepts SUBMIT, STATUS, ACK, CONTROL_STOP and CONTROL_STATUS. It checks the fixed frame and envelope and rejects noncanonical CBOR, including invalid UTF-8 and trailing data. The complete frame is bounded to 1 MiB and the encoded operation arguments to 65,536 bytes. The parser borrows from an already captured IPM-owned buffer. Its output carries the claimed references, the request key and the exact canonical envelope for later verification. Reply decoding checks the sequence, expected result kind and returned identity when one is known. Missing or inconsistent replies give NO_RESULT and leave the output untouched, keeping an unknown outcome distinct from NOT_ISSUED.

The library has no state mutation or I/O. The caller must authenticate the channel, resolve the operation's IDL schema and validate the claims before authorizing or executing any request. No boot path uses this library yet. DELEGATE handling, request history, authorization, the protected publication protocol and MBOOT isolation are separate implementation work.

Run make test from the repository root with a C11 compiler and Make. The test covers the transport portions of EA-T31 and EA-T36. Platform and resource profile conformance require separate tests of the running OS.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages