Commit graph

28 commits

Author SHA1 Message Date
f8540d8cde Update Changelog.md 2024-11-12 14:48:38 +09:00
e063957eb6 Initialize ptr in constructor of handler 2024-11-12 14:46:36 +09:00
5a7db8fd09 Update Changelog.md, version 2.6 2024-11-12 14:45:24 +09:00
394bfc8963 Use std::recursive_mutex instead of pthread_mutex 2024-11-12 14:43:57 +09:00
d4c47f871b Version 2.5 2024-06-27 14:46:06 +09:00
563d6ad570 Add support for realloc 2024-06-27 14:45:40 +09:00
23b851d8f3 Version 2.4, fixes
Fix free not actually calling real_free.

Fix free dereferencing null ptr.

TODO fix bug where tracked data is not correctly removed during free.
2024-06-27 14:00:39 +09:00
3169bc0458 Update Changelog, version 2.3 2024-06-26 14:02:55 +09:00
882732a3ad Add ids to allocated memory to be printed later 2024-06-26 14:01:51 +09:00
8f1bf7a5a8 Update README.md 2024-06-06 15:44:47 +09:00
c851ec6a07 Check for ANOTHER_MEMCHECK_QUIET env var, refactor
Now, if ANOTHER_MEMCHECK_QUIET environment variable is defined, do not
print output when malloc/calloc/free is called.

Minor refactoring: remove unused constexpr declarations in header.

Bump version to 2.2 .

Update Changelog.md .
2024-06-06 15:16:42 +09:00
dcc9ae38c5 Bump to version 2.1, update Changelog.md 2024-06-04 15:55:52 +09:00
0e2545ecea Fix incorrect storing of size when using calloc 2024-06-04 15:54:45 +09:00
67d20b4673 Update README.md 2024-06-04 15:50:00 +09:00
3d03ec1e9b Bump version to 2.0, update Changelog.md 2024-06-04 15:43:30 +09:00
4d000a87e0 Use pthreads to mutex-lock malloc/calloc/free 2024-06-04 15:40:57 +09:00
eb716bf65a Impl. checking calloc as well 2024-06-04 15:15:05 +09:00
0e447dc3be Refactorings
Internally use doubly-linked list instead of singly-linked list. Also
minor fixes related to changing use to doubly-linked list.

Removed unnecessary comments.

Move list add/remove code to designated functions.
2024-06-04 15:08:33 +09:00
e33b13a80b Add .gitignore 2024-06-04 14:54:11 +09:00
81ffe0d26d Remove unused type definition
The type definition was a remnant of attempting to use
std::unordered_map, but that used whatever the "malloc" symbol pointed
to.
2024-06-04 14:53:11 +09:00
fd0da26f83 Update README.md 2024-06-04 12:24:29 +09:00
b072c3bbbd Update README.md 2024-06-04 12:21:59 +09:00
67a8e2452f Minor refactoring and note in source code 2024-06-04 12:17:55 +09:00
2249bed677 Add Changelog.md, update README.md 2024-06-04 12:15:46 +09:00
cff3628798 ADD README.md and LICENSE 2024-06-04 12:13:12 +09:00
7b0af73a06 Remove unnecessary comments
Kept in git history just in case.
2024-06-04 12:06:48 +09:00
421610e053 Add CMakeLists.txt 2024-06-04 12:05:10 +09:00
5154281078 Init commit working "another_memcheck" 2024-06-04 11:59:36 +09:00