From 832749a02067ae8055787c0bb66cab8b997c59ee Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 12 Jun 2017 03:18:16 +0430 Subject: updated --- bruiser/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'bruiser') diff --git a/bruiser/README.md b/bruiser/README.md index 062ea3a..dacb22c 100644 --- a/bruiser/README.md +++ b/bruiser/README.md @@ -26,3 +26,17 @@ bruiser looks at your code, learns your code and then decides how to mutate your ### How? I'm going to wrire about it as soon as I get my thoughts organized. In the meantime you can look at the source code for some hints.
+ +### Example +First you should clone the mutator repo and run `git submodule init` and `git submodule update` to get the cool third-party repos that enable mutator to run.
+To build bruiser you can either run the makefile in bruiser's directory, then run `make` or just run the makefile at mutator's root directory and run `make bruiser`.
+After building bruiser, you can run it like any other mutator tool. So for example if you want to run bruiser on its test file run:
+ +```bash + +./bruiser ../test/bruisertest/test.cpp + +``` + +After that you can just run your commands.
+bruiser, like any other libtooling tool will need it's entire compile command or a compilation databse. If you don't have a compilation database, take a look at [Bear](https://github.com/rizsotto/Bear).
-- cgit v1.2.3