Add constructor comment
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
#include <stdio.h>
|
#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) {
|
__attribute__((constructor)) void load(void) {
|
||||||
printf("hl-cheat loaded!\n");
|
printf("hl-cheat loaded!\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user