Skip to content

Better malloc hooking#236

Merged
struct merged 2 commits intomasterfrom
better_malloc_hooking
Mar 14, 2026
Merged

Better malloc hooking#236
struct merged 2 commits intomasterfrom
better_malloc_hooking

Conversation

@struct
Copy link
Owner

@struct struct commented Mar 14, 2026

Improve malloc hooking for LD_PRELOAD and introduce a new build target that turns off strict abort checks when IsoAlloc doesn't think it owns a pointer.

Adds ABORT_ON_UNOWNED_PTR (enabled by default) which aborts when IsoAlloc detects a pointer passed to its free path that it does not own.

make library_less_strict will set ABORT_ON_UNOWNED_PTR=0

@struct struct merged commit ab0283a into master Mar 14, 2026
19 checks passed
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