From 1e487eca2304936919e777f8ad06a99f28c7528d Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Mon, 4 Sep 2023 18:21:18 +0200 Subject: add example objects --- example/lib.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 example/lib.c (limited to 'example/lib.c') diff --git a/example/lib.c b/example/lib.c new file mode 100644 index 0000000..6622e56 --- /dev/null +++ b/example/lib.c @@ -0,0 +1,7 @@ +#include +#include + +void __attribute__((constructor)) lib_entry() +{ + printf("Injected into %li\n", getpid()); +} -- cgit v1.2.3