From e41e97989fb9442f600761f057c55fefd9009dce Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 2 Dec 2016 07:52:39 +0330 Subject: updated --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index eeddbf5..c638a01 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # mutator A C code mutator,Misra-C 2004 checker and when possible, a Misra-C implementer.
-**mutator-lvl0.cpp** contains the Misra-C rules to check.
-**mutator.cpp** contains the mutators which are not copiled for the time being since im working on Misra-C only for the time being, along with some Misra-C implementers.
-**mutator-lvl2.cpp** contains some other Misra-C implementers. Rewriting the code in multiple stages allows for more simplistic rewrites and is also a check to see whether the output is actually buildable.
+* **mutator-lvl0.cpp** contains the Misra-C rules to check. The Executable named after it, will run the Misra-C rule checks.
+* **mutator.cpp** contains the mutators which are not copiled for the time being since im working on Misra-C only for the time being, along with some Misra-C implementers.
+* **mutator-lvl2.cpp** contains some other Misra-C implementers. Rewriting the code in multiple stages allows for more simplistic rewrites and is also a check to see whether the output is actually buildable.
**mutator.sh** is the UI, which is supposed to work like just any other nix UI(option-wise).
The **utility** folder holds the C source and headers that are necessary to run the instrumented code(currently unused).
**mutator-aux.cpp.h** hold the auxillary functions that most modules will need.
Well there is the **makefile**.
The **test** folder holds the **TDD** tests.
-#### **The Misra-C rule checking portion has not been extensively tested since it is still WIP but is buildable and usable.**
+#### **The Misra-C rule checking portion has not been extensively tested since it is still WIP but is very much buildable and usable.**
###Building mutator To build the project, you need to have the LLVM libraries 4.0 to avoid any unforseen results. The project can not be built with LLVM 3.8 or lower, but I havent tested LLVM 3.9. Just run **make** and you're good to go. Running make will build three executables which can be used independently or with **mutator.sh**(use -h to see a list of options.)
@@ -22,6 +22,7 @@ If your code needs a compilation database for clang to understand it and you don ### Notes #### **The project will be updated everytime there is a major LLVM release and will use those libraries instead of the old ones.** +#### **As soon as I manage to find a copy of the Misra-C:2012 document, I'll implement that**. Misra-C rule checker outputs a simple text or xml report. JSON support will be implemented in the future.
I'm using **TDD**. The files under the **test** folder are for that purpose. They are not unit tests or are not meant to test that the build process was successful.Those tests will be added later.
The project has been tested to biuld on Fedora23(other major linux distros should be fine). Windows remains untested. I might give it a try when I feel masochistic enough.
@@ -30,4 +31,7 @@ Misra 2008 and 2012 support will be added in the future.
Also a note regarding building the LLVM libraries. It is safer to build the libraries with clang++ if youre going to later use those libraries with clang++(you can get the distro version of clang from your distro's repo). The same applies to g++.
The master branch is the dev version. Release versions will be forked.
Doxygen comments will be added later on.
-The XML Misra-C report will be using [TinyXML-2](https://github.com/leethomason/tinyxml2). It is lighweight and fast and the license suits the mutator project.
+The XML Misra-C report uses [TinyXML-2](https://github.com/leethomason/tinyxml2). It is lighweight and fast and the license suits the mutator project.
+ +###Support +Well, I don't have the Misra-C:2012 Document. If you or your organization/company are willing to donate one to mutator, hit me up.
-- cgit v1.2.3