https://github.com/springmeyer/libnew
Count allocations at runtime, print them at exit.
https://github.com/springmeyer/libnew
Last synced: 7 months ago
JSON representation
Count allocations at runtime, print them at exit.
- Host: GitHub
- URL: https://github.com/springmeyer/libnew
- Owner: springmeyer
- Created: 2016-08-29T19:59:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-24T22:18:55.000Z (over 9 years ago)
- Last Synced: 2024-12-28T18:28:23.991Z (over 1 year ago)
- Language: C++
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## libnew
Count allocations at runtime, print them at exit.
[](https://travis-ci.org/springmeyer/libnew)
### Building
```
make
```
### Testing
```
make test
```
### Usage
On OS X:
```
DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=libnew.dylib ./your-command
```
On Linux:
```
LD_PRELOAD=libnew.so ./your-command
```