Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
huangshiyou committed Dec 1, 2017
2 parents dbdb9ce + ce49315 commit d579877
Show file tree
Hide file tree
Showing 4,451 changed files with 11 additions and 1,732,742 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions README.md
@@ -1,6 +1,6 @@
# Maximal-Causality-Reduction (MCR) Java version

MCR is a stateless model checker wrapped around an efficient reduction algorithm. It works on the trace of a program and constructs ordering constraints over the trace to generate other possible schedules. It takes the values of the writes and reads to prune redundant executions. By enforcing at least one read to return a different value, it generates a new schedule which drives the program to reach a new state.
MCR is a stateless model checker powered by an efficient reduction algorithm. It systematically explores the state-space of the program by collecting runtime traces of the program executions and constructing ordering constraints over the traces to generate other possible schedules. It captures the values of the writes and reads to prune redundant explorations. By enforcing at least one read to return a different value, it generates a new schedule which drives the program to reach a new state.

# Design of MCR

Expand Down Expand Up @@ -83,7 +83,7 @@ package edu.tamu.aser.rvtest;
import static org.junit.Assert.*;
import org.junit.Test;
import org.junit.runner.RunWith;
import edu.tamu.aser.exploration.JUnit4ReExRunner;
import edu.tamu.aser.exploration.JUnit4MCRRunner;
@RunWith(JUnit4MCRRunner.class)
public class Example {
Expand Down Expand Up @@ -156,7 +156,7 @@ The following trace triggered this error:


# Useful Documents
* [ECOOP'17] [Speeding Up Maximal Causality Reduction with Static Dependency Analysis](https://huangshiyou.github.io/files/Huang-ECOOP-2017-16.pdf)`
* [ECOOP'17] [Speeding Up Maximal Causality Reduction with Static Dependency Analysis](https://huangshiyou.github.io/files/Huang-ECOOP-2017-16.pdf)

* [OOPSLA'16] [Maximal Causality Reduction for TSO and PSO](https://huangshiyou.github.io/files/mcr_relax-huang.pdf)

Expand Down
13 changes: 5 additions & 8 deletions mcr-engine/build.xml
Expand Up @@ -10,8 +10,10 @@
<property name="mcr-controller.location" value="../mcr-controller"/>
<property name="mcr-test.location" value="../mcr-test"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.7"/>
<property name="source" value="1.7"/>

<property name="target" value="1.8"/>
<property name="source" value="1.8"/>

<path id="mcr-engine.classpath">
<pathelement location="bin"/>
<pathelement location="lib/ant.jar"/>
Expand Down Expand Up @@ -54,12 +56,7 @@
<javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}">
<src path="src"/>
<exclude name="main/java/"/>
<exclude name="edu/tamu/aser/db/"/>
<exclude name="edu/tamu/aser/engines/CPRaceDetect.java"/>
<exclude name="edu/tamu/aser/engines/CPEngine.java"/>
<exclude name="edu/tamu/aser/violation/"/>
<exclude name="edu/tamu/aser/mcr/Race.java"/>
<exclude name="edu/tamu/aser/property/EREProperty.java"/>

<classpath refid="mcr-engine.classpath"/>
</javac>
</target>
Expand Down
Expand Up @@ -24,7 +24,7 @@ public class ConstraintsSolving
{
protected static String SMT = ".smt";
protected static String OUT = ".smtout";
protected static String Z3_PATH = "/usr/local/bin/z3"; //the path of z3
protected static String Z3_PATH = "z3";//"/usr/local/bin/z3"; //the path of z3

File outFile,smtFile;
protected List<String> CMD;
Expand Down
575 changes: 0 additions & 575 deletions mcr-test/build.xml

Large diffs are not rendered by default.

Binary file added mcr-test/lib/derby2861.jar
Binary file not shown.
Binary file added mcr-test/lib/jigsaw.jar
Binary file not shown.
Binary file added mcr-test/lib/weblech.jar
Binary file not shown.
22 changes: 0 additions & 22 deletions real-world application/derby-10.3.2.1/.classpath

This file was deleted.

23 changes: 0 additions & 23 deletions real-world application/derby-10.3.2.1/.project

This file was deleted.

147 changes: 0 additions & 147 deletions real-world application/derby-10.3.2.1/build.xml

This file was deleted.

0 comments on commit d579877

Please sign in to comment.