Skip to content

Memory access validation#536

Draft
MiranDMC wants to merge 1 commit intomasterfrom
memory_access_validation
Draft

Memory access validation#536
MiranDMC wants to merge 1 commit intomasterfrom
memory_access_validation

Conversation

@MiranDMC
Copy link
Copy Markdown
Collaborator

@MiranDMC MiranDMC commented Mar 6, 2026

All blocks allocated with allocate_memory command now have added 4 byte marker to the front and back (pointer returned to user points after data between them). During release of the allocated block markers are tested. If modified memory corruption error is reported.

Write, read, copy, compare memory commands now are checking if accessed memory region crosses with any of known allocated block, if so check is performed to verify if the accessed range lies entirely withing the memory block.

Checks are not active if global strict mode is disabled or script is in legacy mode.

@MiranDMC MiranDMC force-pushed the memory_access_validation branch from f61fd3e to 59a26cd Compare March 8, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant