Git Product home page Git Product logo

coverage's Introduction

coverage

Utilities to provide code execution coverage metrics for "C"-coded files. Currently formed of 2 parts:

  • annotator : Annotates "C" code such that coverage of the execution can be tracked
  • analyser : Analyses the result of annotated code which has been executed

NOTE: This is a very new project and is not yet in a usable state, as such there are no pre-built binaries, etc.

annotator

Annotator is build as a clang[1] tool. clang provides a pre-build parser for C, Objective C, C++ and Objective C++. annotator uses the LibTooling library in order to analyse and "re-write" the source code to include annotations necessary to track the flow of execution

Getting Going

I'm currently using Visual Studio 10 for development. I spent a not insignificant amount of time trying to build LLVM on Windows under MinGW and despite trying 3 or 4 different versions of GCC, ran into problems at various stages (including GCC crashing during link). Anyway, in order to build the annotator you'll need to build clang - see the instructions at [3].
Copy the "annotator" subdirectory to llvm/tools/clang/tools/extra and then add

add_subdirectory(coverage)

To the end of llvm/tools/clang/tools/extra/CMakeLists.txt . Re-run cmake.

References

coverage's People

Contributors

bright-tools avatar

Stargazers

 avatar  avatar

coverage's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.