Simplify pointer masking spec #1259
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.29) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 80 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.263
Real PR Conversation Timeline
4 items
WARNING: Because dynamically changing the number of masked bits changes the interpretation of a capability, software must take the same care when sharing capabilities between address spaces with differing pointer masking settings as it generally must when sharing capabilities between address spaces with different page mappings.
WARNING: A capability with its address in the illegal VA space while PMM=0 may have its address and bounds move into the valid VA space if PMM is subsequently set to a nonzero value.
It is recommended that software should not create such capabilities.
If PMLEN is less than the number upper address bits which represent the VA gap then enabling pointer masking can either cause bounds to move between invalid address ranges within the VA gap or from the VA gap into the valid space.
jrtc27
tariqkurd-repo
Fix #805
It seems to me that the pointer masking spec should be simple.
Apply the ignore transformation to representable range checking and bounds decoding as currently specified by the pointer masking extensions.