Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

EdDev/demalloc

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 

Repository files navigation

demalloc

What is it?

A minimalist memory hook library, aimed to allow specialized memory management control.

Why?

Applications with high dynamic memory allocation rate are hard to debug and controlled in the memory space. Existing tools are usually too "heavy" for running such applications. Therefore, a light lib version, with extendability options has been created: demalloc.

How?

Calls to memory allocators and deallocator are hijaked to replacers in the demalloc lib. Per initial setup, hooks may be placed before and after original system allocator (or deallocator).

Common Use Cases

  • Detect memory overflows.
  • Add debug metadata to allocated memory.
  • Embed specialized logic to memory allocation.
  • Replace system alloctors with private ones (like memory pools).

About

Debug allocator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.