Fix infinite recursion of memory probes handling
Problem:
During the processing of the realloc_handler () call,
there is a recursive loop in the free_handler() call:
-> plt@realloc() -> realloc_handler() -> lsan_get_sym() -> dlsym() ->
plt@free() -> free_handler() -> lsan_get_sym() -> dlsym() ->
plt@free() -> free_handler() -> lsan_get_sym() -> dlsym() ->
plt@free() -> free_handler() -> lsan_get_sym() -> dlsym() ->
...
Solution:
Find all LSan symbols during library initialization instead of lazy
symbol search.
Change-Id: Idce7de857a468645be51c21386726ac2a37c1ade
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>