libmem_driver_handle_t *libmem_get_driver(const uint8_t *p);

libmem_get_driver is a helper function that returns the handle of a LIBMEM driver that is responsible for a specific memory location.

p — A pointer to the memory location to get the driver for.

libmem_get_driver returns — The LIBMEM driver handle or NULL if no driver could be found.