Make Memory API more friendly with alignment #59
lda
commented 2024-10-24 10:58:41 +00:00
Contributor
> Some architectures(DEC Alpha as a main outlier, but x86 may behave that
way by setting flags) raise traps on unaligned operations, which can be
either costly(having to talk to the kernel, which may have to emulate
the read) or could cause program termination.
> Also adds a basic memory interval for checking if a pointer has any
business living within the heap. Most systems separate those anyways so
it avoids doing potentially dangerous operations.
lda
added 1 commit 2024-10-24 10:58:42 +00:00
[FIX] Fix memory alignment issues
708c5daad9
All checks were successful
Compile Cytoplasm / Compile Cytoplasm (aarch64, alpine) (pull_request) Successful in 13s
Details
jordan
merged commit 8df5f0f1c1 into master 2024-10-24 11:57:51 +00:00
jordan
referenced this pull request from a commit 2024-10-24 11:57:52 +00:00
Merge pull request 'Make Memory API more friendly with alignment' (#59) from lda/Cytoplasm:alignment into master
Loading…
Reference in a new issue
No description provided.
Delete branch "lda/Cytoplasm:alignment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?