From 4549ddc5701bad9584a70a415e85097168279d0a Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Wed, 19 Jul 2023 20:24:34 +0200 Subject: [PATCH] Add constructor comment --- src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 82adabf..f53b8f2 100644 --- a/src/main.c +++ b/src/main.c @@ -1,6 +1,10 @@ #include -/* #include */ +/* + * We need: + * __attribute__((constructor)) + * To indicate that this function will be the entry point once injected. + */ __attribute__((constructor)) void load(void) { printf("hl-cheat loaded!\n"); }