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)
  • OV_THROW_OUT_OF_RANGE(CLASS_NAME, FUNC_NAME, VAR_NAME, VAR, SIZE)
  • OV_THROW_LENGTH_ERROR(CLASS_NAME, 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 6 times, most recently from 33998f4 to 8ca1b86 Compare January 18, 2026 03:06
@Spartan322 Spartan322 force-pushed the add/memory-hardening-macros branch from 8ca1b86 to 4473211 Compare January 18, 2026 19:38
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 4473211 to 323b9f6 Compare January 18, 2026 19:46
@Spartan322 Spartan322 merged commit 20796b6 into master Jan 18, 2026
16 checks passed
@Spartan322 Spartan322 deleted the add/memory-hardening-macros branch January 18, 2026 21:53
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