mode
nanofil
A module's mode is plain or filc: filc if it uses anything Fil-C-specific (a p, a call to an external function, ...), plain otherwise, read off its contents (ir:module_mode/2).
Plain mode is C without capabilities: an access outside every live allocation is ub, not a trap. The Rocq model covers filc mode only; plain mode is outside the core subset.
Linked from
- NFB guide (Argon): How canonical form is enforced
- NFB guide (Argon): The 4-word file header
- Pizlonate.v: inst_step
- Pizlonate.v: module_filc
- Pizlonate.v: pizlonated_blocks
- Pizlonate.v: pointer_item
- Promote.v: promote_blocks
- Promote.v: slots_ok
- Promote.v: split_inst
- Syntax.v: class
- TermCfg.v: pass_module
- Validate.v: mem
- Validate.v: op_result_ok
- Validate.v: valid_func
- Validate.v: valid_use