MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / set_osx_hooks

Function set_osx_hooks

SourceSDK/tier0/memdbg.cpp:1887–1903  ·  view source on GitHub ↗

Restore the hooks to the osx versions. This is needed since, say, their realloc() might call malloc() or free() under the hood, etc, so it's safer to let them have complete control over the subsystem, which also makes our logging saner, too.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

override_malloc_hookFunction · 0.85
override_realloc_hookFunction · 0.85
override_free_hookFunction · 0.85
operator newFunction · 0.85
operator new[]Function · 0.85

Calls 2

unprotect_malloc_zoneFunction · 0.85
protect_malloc_zoneFunction · 0.85

Tested by

no test coverage detected