From 0e63c73b593b5792fb4f96e8fb1255181b523bd2 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 23 Jan 2018 01:52:39 +0330 Subject: some tests for the ffi funcitonality on bruiuser --- README.md | 2 +- bfd/test/test.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23db6f7..2581244 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ git submodule update ``` -To build the project, you need to have the LLVM libraries 4.0 or higher. mutator can not be built with LLVM 3.9 or lower. The latest tested is LLVM trunk:312884.
+To build the project, you need to have the LLVM libraries 5.0 or higher. mutator can not be built with LLVM 3.9 or lower. The latest tested is LLVM trunk:312884.
Here Are the build options:
* Running `make` will build the default target which is `all`. This will build all three executables, without support for coverage instrumentation.
diff --git a/bfd/test/test.c b/bfd/test/test.c index fa9f74d..1a9461a 100644 --- a/bfd/test/test.c +++ b/bfd/test/test.c @@ -8,6 +8,9 @@ int myfunc5(void) {return 5;} int myfunc6(void) {return 6;} int add2(int a, int b) {return a + b;} int sub2(int a, int b) {return a - b;} +double adddouble(double a, double b) {return a+b;} +double subdouble(double a, double b) {return a-b;} +double triple(double a, double b, double c) {return a+b+c;} int myvar1 = 1; int myvar2 = 2; -- cgit v1.2.3