2024-06-04 03:15:46 +00:00
|
|
|
# Changelog
|
|
|
|
|
2024-11-13 06:47:52 +00:00
|
|
|
## Upcoming Changes
|
|
|
|
|
2024-11-14 03:27:31 +00:00
|
|
|
Add counts for bad `realloc`s and `free`s that are printed at program's end.
|
|
|
|
|
|
|
|
(A bad `realloc` or `free` is an attempted `realloc` or `free` of a memory
|
2024-11-14 03:28:25 +00:00
|
|
|
location that wasn't `malloc`d, `calloc`d, or `realloc`d.)
|
2024-11-14 03:27:31 +00:00
|
|
|
|
2024-11-14 04:44:28 +00:00
|
|
|
Internal refactorings.
|
|
|
|
|
2024-11-14 01:29:01 +00:00
|
|
|
## Version 2.10
|
|
|
|
|
2024-11-13 06:47:52 +00:00
|
|
|
Internal refactorings.
|
|
|
|
|
2024-11-14 03:19:40 +00:00
|
|
|
Remove dependency on `pthread` in CMakeLists.txt.
|
|
|
|
|
2024-11-12 11:11:02 +00:00
|
|
|
## Version 2.9
|
|
|
|
|
|
|
|
Add checking/stat-printing of when NULL pointers are free'd.
|
|
|
|
|
|
|
|
Add note in README.md to use this library with a debugger.
|
|
|
|
|
2024-11-12 07:33:16 +00:00
|
|
|
## Version 2.8
|
|
|
|
|
|
|
|
Internal refactorings.
|
|
|
|
|
|
|
|
Minor change to avoid segfault when program exits with `exit(...)` function.
|
|
|
|
|
2024-11-12 05:58:16 +00:00
|
|
|
## Version 2.7
|
|
|
|
|
|
|
|
Fix incorrect initialization.
|
|
|
|
|
2024-11-12 05:45:24 +00:00
|
|
|
## Version 2.6
|
|
|
|
|
|
|
|
Use a more robust mutex (by using `std::recursive_mutex` instead of
|
|
|
|
`pthread_mutex`).
|
|
|
|
|
2024-11-12 05:48:38 +00:00
|
|
|
Minor refactorings.
|
|
|
|
|
2024-06-27 05:46:06 +00:00
|
|
|
## Version 2.5
|
|
|
|
|
|
|
|
Added support for realloc().
|
|
|
|
|
2024-06-27 05:00:39 +00:00
|
|
|
## Version 2.4
|
|
|
|
|
|
|
|
Fixed free() not actually calling real_free().
|
|
|
|
|
|
|
|
Fixed nullptr dereference during free.
|
|
|
|
|
2024-06-26 05:02:55 +00:00
|
|
|
## Version 2.3
|
|
|
|
|
|
|
|
Added ids to each chunk of allocated memory to make it easier to keep track of
|
|
|
|
which allocated memory refers to which unfreed memory.
|
|
|
|
|
2024-06-06 06:16:42 +00:00
|
|
|
## Version 2.2
|
|
|
|
|
|
|
|
Minor refactoring: remove unused constexpr declarations in header.
|
|
|
|
|
|
|
|
Change implementation to not print when malloc/calloc/free is called if the
|
|
|
|
"ANOTHER_MEMCHECK_QUIET" environment variable is defined.
|
|
|
|
|
2024-06-04 06:55:52 +00:00
|
|
|
## Verison 2.1
|
|
|
|
|
|
|
|
Previous implementation did not fully account for total size of a call to
|
|
|
|
calloc. This version should fix this.
|
|
|
|
|
2024-06-04 06:43:30 +00:00
|
|
|
## Version 2.0
|
|
|
|
|
|
|
|
Minor refactorings.
|
|
|
|
|
|
|
|
Change internal implementation of linked list to be doubly-linked.
|
|
|
|
|
|
|
|
Add support for calloc.
|
|
|
|
|
|
|
|
Add pthreads to mutex-lock malloc/calloc/free.
|
|
|
|
|
2024-06-04 03:15:46 +00:00
|
|
|
## Version 1.0
|
|
|
|
|
|
|
|
Initial version with working `AnotherMemCheck`.
|