about summary refs log tree commit diff
path: root/test-instr.c
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2021-03-18 21:34:12 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2021-03-18 21:34:12 +0100
commit166c8f93b5166087255265f9a00fd8babbd432d7 (patch)
tree62ff5c970bac9c73982f75a96b0c52665ab3c349 /test-instr.c
parent9393452d1c390d9c8ba3fd045107e6bb7dc312b4 (diff)
downloadafl++-166c8f93b5166087255265f9a00fd8babbd432d7.tar.gz
test-dlopen llvm test
Diffstat (limited to 'test-instr.c')
-rw-r--r--test-instr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-instr.c b/test-instr.c
index 00799103..4129a5b4 100644
--- a/test-instr.c
+++ b/test-instr.c
@@ -18,6 +18,10 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#ifdef TEST_SHARED_OBJECT
+#define main main_exported
+#endif
+
 int main(int argc, char **argv) {
 
   int   fd = 0;