Run process_features() at library loading 83/167283/1
authorAlexander Aksenov <a.aksenov@samsung.com>
Tue, 16 Jan 2018 15:32:27 +0000 (18:32 +0300)
committerAlexander Aksenov <a.aksenov@samsung.com>
Tue, 16 Jan 2018 15:59:16 +0000 (18:59 +0300)
Related with:
Ie0fdabe552d2046226d54231b065c7e825fd48d9 swap-manager
I28160b1e8c2e127755fb2cd3ce4719a5c02376e2 swap-modules

Change-Id: I57b08fb5ab67957492085d7f7b7cb1a8fbb81034
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
helper/got_patching.c
helper/libdaprobe.c

index 9963153..d5b1eb2 100644 (file)
@@ -642,7 +642,6 @@ void restore_got_patching(char *data, size_t size)
        _process_features(GP_PATCHING, NULL);
 }
 
-/* Used for initial total patching */
 void process_features(void)
 {
        _process_features(GP_PATCHING, NULL);
index 605b8a7..03bb073 100755 (executable)
@@ -562,6 +562,7 @@ void _init_(void)
        }
 
        lsan_open_liblsan();
+       process_features();
 
        PRINTMSG("dynamic analyzer probe helper so loading... pid[%d]\n",
                 getpid());