Fix Warden emulator heap leak and add analysis report

This commit is contained in:
Kelsi 2026-03-17 21:40:15 +01:00
parent 6260ac281e
commit 0554a01b39
3 changed files with 118 additions and 2 deletions

View file

@ -152,6 +152,7 @@ private:
// Memory allocation tracking
std::map<uint32_t, size_t> allocations_;
std::map<uint32_t, size_t> freeBlocks_; // Free-list blocks keyed by base address
uint32_t nextHeapAddr_;
// Hook handles for cleanup