Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Checking address in WMEM

From: Dario Lombardo <dario.lombardo.ml@xxxxxxxxx>
Date: Wed, 25 Jan 2017 14:17:24 +0100
I want to check if an address belongs to a wmem scope. Basically I want to do

func(allocator, address)
{
  ...
  wmem_realloc(allocator, address)
  ...
}

that fails if address doesn't belong to allocator scope. Any idea on how can I check if address belongs to it?
Thanks.
Dario.