{"id":17241785,"url":"https://github.com/j256/dmalloc","last_synced_at":"2025-03-17T11:30:32.524Z","repository":{"id":40426642,"uuid":"128859715","full_name":"j256/dmalloc","owner":"j256","description":"Debug Malloc memory allocation debugging C library","archived":false,"fork":false,"pushed_at":"2022-11-11T17:48:25.000Z","size":2638,"stargazers_count":164,"open_issues_count":42,"forks_count":44,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-02-27T23:05:30.282Z","etag":null,"topics":["c","debug","memory","memory-leak","memory-leak-detection"],"latest_commit_sha":null,"homepage":"http://dmalloc.com/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/j256.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.txt","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"j256","patreon":"j256"}},"created_at":"2018-04-10T02:11:06.000Z","updated_at":"2025-02-14T01:09:47.000Z","dependencies_parsed_at":"2022-09-21T01:11:07.930Z","dependency_job_id":null,"html_url":"https://github.com/j256/dmalloc","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j256%2Fdmalloc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j256%2Fdmalloc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j256%2Fdmalloc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j256%2Fdmalloc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j256","download_url":"https://codeload.github.com/j256/dmalloc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858056,"owners_count":20359271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","debug","memory","memory-leak","memory-leak-detection"],"created_at":"2024-10-15T06:11:20.897Z","updated_at":"2025-03-17T11:30:31.614Z","avatar_url":"https://github.com/j256.png","language":"C","funding_links":["https://github.com/sponsors/j256","https://patreon.com/j256"],"categories":[],"sub_categories":[],"readme":"Debug Malloc Library\n====================\n\nVersion 5.6.5 -- 12/28/2020\n\n[![CircleCI](https://circleci.com/gh/j256/dmalloc.svg?style=svg)](https://circleci.com/gh/j256/dmalloc)\n\nThe debug memory allocation or \"dmalloc\" library has been designed as a drop in replacement for the system's\n`malloc`, `realloc`, `calloc`, `free` and other memory management routines while providing powerful debugging\nfacilities configurable at runtime.  These facilities include such things as memory-leak tracking, fence-post\nwrite detection, file/line number reporting, and general logging of statistics.\n\nThe library is reasonably portable having been run successfully on at least the following operating systems:\nAIX, DGUX, Free/Net/OpenBSD, GNU/Hurd, HPUX, Irix, Linux, OSX, NeXT, OSF/DUX, SCO, Solaris, Sunos, Ultrix,\nUnixware, MS Windows, and Unicos on a Cray T3E.  It also provides support for the debugging of threaded\nprograms.\n\nThe package includes the library, configuration scripts, debug utility application, test program, and\ndocumentation.  Online documentation as well as the full source is available at the [dmalloc home\npage](https://dmalloc.com/).\n\nEnjoy.  Gray Watson\n\n## Documentation\n\nSee the INSTALL.txt file for building, installation, and quick-start notes.\n\nExamine the [html\ndocumentation](https://htmlpreview.github.io/?https://raw.githubusercontent.com/j256/dmalloc/master/dmalloc.html) for\ndmalloc.  The source of all documation is the dmalloc.texi texinfo file which also can generate PDF hardcopy output with\nthe help of the texinfo.tex file.  You can download the full documentation package or read it [online from the\nrepository](https://dmalloc.com/).\n\n## Quick Getting Started\n\nThis section should give you an idea on how to get going.  See the more complete [getting started\ndocumentation](https://dmalloc.com/docs/getting-started) for more details.\n\n  1. Download the latest version of the library available from https://dmalloc.com/.\n\n  2. Run `./configure` to configure the library.\n\n  3. Run `make install` to install the library on your system.\n\n  4. Add an alias for the dmalloc utility.  The idea is to have the shell capture the dmalloc\n     program's output and adjust the environment.\n\n     Bash, ksh, and zsh users should add the following to their dot files:\n\n         function dmalloc { eval `command dmalloc -b $*`; }\n\n     Csh or tcsh users  should add the following to their dot files:\n\n         alias dmalloc 'eval `\\dmalloc -C \\!*`'\n\n  5. Link the dmalloc library into your program and the end of the library list.\n\n  8. Enable the debugging features by (for example) typing `dmalloc -l logfile -i 100 low`.\n     Use `dmalloc --usage` to see other arguments to the dmalloc program.\n\n  9. Run your program, examine the logfile, and use its information to help debug your program.\n\n## Thanks\n\nThe initial idea of this library came from Doug Balog.  He and many other net folk contributed to the design,\ndevelopment, and continued maintenence of the library.  My thanks goes out to them all.\n\n# ChangeLog Release Notes\n\nSee the [ChangeLog.txt file](ChangeLog.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj256%2Fdmalloc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj256%2Fdmalloc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj256%2Fdmalloc/lists"}