riscv / riscv-cheri

This repository contains the CHERI extension specification, adding hardware capabilities to RISC-V ISA to enable fine-grained memory protection and scalable compartmentalization.
https://jira.riscv.org/browse/RVG-148
Creative Commons Attribution 4.0 International
56 stars 29 forks source link

Rename length violation to bounds violation #366

Closed jrtc27 closed 2 months ago

jrtc27 commented 2 months ago

The name is our fault, but it's not the best, as accesses before the base also fault, not just ones beyond base + length. Bounds violation makes it clear that it's for anything outside the bounds, and is the term we actually use in practice.

arichardson commented 2 months ago

I've looked at every use of length and I blieve #367 fixes all of them.