Add constructor comment

This commit is contained in:
8dcc 2023-07-19 20:24:34 +02:00
parent 90ac0bbb99
commit 4549ddc570
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
#include <stdio.h>
/* #include <dlfcn.h> */
/*
* 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");
}