Skip to content
Generation of mutant programs
OCaml Makefile M4 C
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Mutation plugin for Frama-C

Generation of mutant programs.

Mutant programs (mutants for short) are the result of a mutation : a syntactically modification on the source program (on its instructions or its specification). A given mutant may or may not be semantically equivalent to the source program.

Here are the corresponding versions of Frama-C for each version of Mutation:

Frama-C Mutation
v17 Chlorine v0.3.x
v16 Sulfur v0.2.x


make install

Using Mutation

frama-c FILE -mut [-mut-code] [-mut-spec] [-mut-summary-file SUMMARY]

where 'FILE' is the file the plugin is applied to, 'SUMMARY' is the file where the list of the produced mutants will be written. Use the options '-mut-code' and '-mut-spec' to apply code-only mutations or spec-only mutations.

Here are some of the mutations applied by the Mutation plugin:

  • Replacement of a binary operator
  • Condition reversal
  • Loop invariant deletion
  • Postcondition deletion
  • Conjunction pruning
  • Replacement of numerical values
You can’t perform that action at this time.