An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

## libnew

Count allocations at runtime, print them at exit.

[![Build Status](https://travis-ci.org/springmeyer/libnew.svg?branch=master)](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
```