COSME - Cosme decides matchting and substituability for services

Cosme [c]hecks [o]perating guidelines for [s]imulation, [m]atching, and [e]quivalence. Operating guidelines must be given in bit representation.

Download Cosme

Version history

Cosme has been developed for quite some time now. See the ChangeLog for details or try out the older versions.


Cosme is open source software, licensed under the AGPL3+.

Install Cosme


Installing and running Cosme requires a bunch of other tools:

Compiling requires:

  • GCC - The GCC compiler

Testing requires:

  • Autotools test suite - Part of the GNU Auto-Tools for automated Tests
  • LCOV - LCOV is a graphical front-end for GCC's coverage testing tool gcov. It collects gcov data for multiple source files and creates HTML pages containing the source code annotated with coverage information.
  • Valgrind - Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail.

Contributing requires:

  • Bison - Gnu parser generator - Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables.
  • GNU Gengetopt - Gengetopt generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct .
  • flex: The Fast Lexical Analyzer - Flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns in text. The flex program reads user-specified input files, or its standard input if no file names are given, for a description of a scanner to generate.

Quick install

Extract the tar ball into a folder of your choice, and follow the steps below.

  1. Configure
  2. Compile
  3. Test (optional, but recommended)
    make check
  4. Install
    sudo make install


Cosme's manual explains usage, features, and a brief scientifical background.


Cosme's documentation aims at the developer in you. If you are interested in implementation details this is the right place for you to look.


The current maintainer of Cosme is Andreas Lehmann.


Andreas Lehmann implemented the core functionality of Cosme.


Several people have committed time, code, and advice to the development of Wendy.

  • Andreas Lehmann (34 commits)
  • Niels Lohmann (22 commits)
  • Richard Müller (3 commits)
  • Jan Sürmeli (1 commit)
  • Marvin Triebel (1 commit)