Skip to content

seer-lab/ARC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARC: Automatic Repair of Concurrency Bugs

Information

This program will automatically repair concurrency Java bugs using a genetic algorithmic approach.

Pre-Requirements

This program was developed using Python 2.7. This version should be used for best results due to compatibility.

Two external tools are necessary as well:

  1. IBM's ConTest
  2. TXL

Execution

  1. Download the source code and place it into a directory of choice.
  2. Download IBM's ConTest, and place the ConTest.jar and the KingProperties files into the /lib/ConTest/ directory.
  3. Download and install TXL.
  4. Place the target project's source code in the /input/source/ directory.
  5. Place the target project's class files in the /input/class/ directory.
  6. Execute using the following command from the root directory, python arc.py [options] [-s sourceDir] [-t testDir] [-o outputDir] [-m mainClass].

Options

To see a list of the options run the following command python arc.py -h