about summary refs log tree commit diff
path: root/test-instr.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-03-19 23:54:36 +0100
committerGitHub <noreply@github.com>2021-03-19 23:54:36 +0100
commit090128b3f8b8bc80cf47ae1481b01c0509dc6357 (patch)
tree03c3314427f02533a8db3e06587ce3afe74a5f23 /test-instr.c
parentd7e121e2c99c02d4b6984f21ba837d44bce9c77c (diff)
parent749b03d812b76746b4a673f34a13fb0b067fd61d (diff)
downloadafl++-090128b3f8b8bc80cf47ae1481b01c0509dc6357.tar.gz
Merge branch 'dev' into dev
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..13d4eb93 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;