From: Matt Corallo Date: Mon, 29 Nov 2021 01:28:30 +0000 (+0000) Subject: Expose a method to unmangle pointers in test builds X-Git-Tag: v0.0.103.1^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ce0ec2494f33662d8cfb14efc00cb49d22190e2c;hp=ce0ec2494f33662d8cfb14efc00cb49d22190e2c;p=ldk-c-bindings Expose a method to unmangle pointers in test builds 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. ---