Skip to content

Conversation

@Spartan322
Copy link
Member

@Spartan322 Spartan322 commented Jan 17, 2026

Adds macros

  • OV_HARDEN_ASSERT_VALID_RANGE_MESSAGE(BEGIN, END, MSG)
  • OV_HARDEN_ASSERT_NONEMPTY_RANGE(BEGIN, END, FUNC_NAME)
  • OV_HARDEN_ASSERT_ACCESS(INDEX, FUNC_NAME)
  • OV_HARDEN_ASSERT_NONEMPTY(, FUNC_NAME)
  • OV_HARDEN_ASSERT_VALID_ITERATOR(IT, FUNC_NAME)

Add hardening to CowVector
Add hardening to FixedVector
Add hardening to RingBuffer
Add hardening to StackString

Add abort to CowVector::at
Add abort to CowVector::reserve

@Spartan322 Spartan322 added enhancement New feature or request topic:core labels Jan 17, 2026
@Spartan322 Spartan322 marked this pull request as draft January 17, 2026 19:44
@Spartan322 Spartan322 force-pushed the add/memory-hardening-macros branch from 5bb9118 to c53637f Compare January 17, 2026 20:38
@Spartan322 Spartan322 marked this pull request as ready for review January 17, 2026 20:38
@Spartan322 Spartan322 force-pushed the add/memory-hardening-macros branch from c53637f to bf5417e Compare January 17, 2026 20:39
@Spartan322 Spartan322 force-pushed the add/memory-hardening-macros branch 5 times, most recently from aafb6cd to 33998f4 Compare January 18, 2026 03:05
Add hardening to CowVector
Add hardening to FixedVector
Add hardening to RingBuffer
Add hardening to StackString

Add abort to CowVector::at
Add abort to CowVector::reserve
@Spartan322 Spartan322 force-pushed the add/memory-hardening-macros branch from 33998f4 to 8ca1b86 Compare January 18, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request topic:core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants