Expose a method to unmangle pointers in test builds
authorMatt Corallo <git@bluematt.me>
Mon, 29 Nov 2021 01:28:30 +0000 (01:28 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 30 Nov 2021 16:05:44 +0000 (16:05 +0000)
This is used by Java bindings to compare all pointers against those
returned by its malloc wrap, possibly catching some simple
use-after-free or invalid pointer deref bugs.

It is exposed only when built as debug and defined in C headers
with `LDK_DEBUG_BUILD` defined.


No differences found