upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorfarhat <farhat@local>2026-11-22 14:56:45 +0700
committerfarhat <farhat@local>2026-11-22 14:56:50 +0700
commitcc7651422956d1f362bdf32f900e543b357056eb (patch)
tree1df84709391aead6930c97f100cae5e34276074c /runtime/src/main.cpp
parentd3841c0c0ee41ec014699a985846c6dc76026440 (diff)
fix(runtime): detach initialised PE modules before unmapping them
Deliver TLS and DllMain process-detach notifications in reverse dependency order while every mapped image and TLS block is still live. This lets mapped DLLs unregister FLS callbacks before their code is freed. Cover failed attach, map-only loads, partial initialisation, teardown ordering and malformed TLS tables with synthetic PE tests.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions