From 8be7c0ea2c7401531f43d6d635ba879c4cea5aeb Mon Sep 17 00:00:00 2001 From: Rinnegatamante Date: Sun, 13 Oct 2024 19:21:12 +0200 Subject: [PATCH] Add srand symbol resolution. --- loader/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/main.c b/loader/main.c index 1c573fc..f9ccef7 100644 --- a/loader/main.c +++ b/loader/main.c @@ -1871,6 +1871,7 @@ static so_default_dynlib default_dynlib[] = { { "sprintf", (uintptr_t)&sprintf }, { "sqrt", (uintptr_t)&sqrt }, { "sqrtf", (uintptr_t)&sqrtf }, + { "srand", (uintptr_t)&srand }, { "srand48", (uintptr_t)&srand48 }, { "sscanf", (uintptr_t)&sscanf }, { "stat", (uintptr_t)&stat_hook },