Giter Club home page Giter Club logo

sword's Introduction

SWORD: A Fast Concurrency Bug Detection for The Whole Program

This project is no longer under maintainance, apologies for the terrible code quality. There are a lot of follow-ups going on, if you have any specific question regarding this project, email me.

Introduction

SWORD is an interactive Eclipse Plugin to detect data races and deadlocks in Java programs. The fundamental techniques (i.e., points-to analysis and static happens-before analysis) that SWORD adopts are in:

[FSE'16] "ECHO: Instantaneous In Situ Race Detection in the IDE"

[PLDI'18] "D4: Fast Concurrency Debugging with Parallel Differential Analysis"

Software Dependencies

  • Java 1.8
  • Eclipse PDE

Quick Start

  1. Clone the project
  2. Import all the projects in Eclipse and build.

How To Use

Start The Detection

  1. Select a main class in the Package Explorer
  2. Right click ASER -> SWORD to start the detection.

SWORD Views

Goto Windows -> Show View -> Others to open the ECHO views (i.e., ECHO Race List, ECHO Deadlock List, ECHO Concurrency Relation):

  • SWORD Race List: contains all the detected races with a pair of read/write accesses and their possible traces
  • SWORD Deadlock List: contains all the detected deadlocks with a pair of nested locks and their possible traces
  • SWORD Concurrency Relation: contains all read and write operations that may happen in parallel

Large Benchmarks

The github repo includes 6 large, real-world Java projects. To test the practicality of SWORD on these projects, you can import them into your target workspace.

Some large benchmarks are available here

License

MIT

sword's People

Contributors

funemy avatar parasol-aser avatar

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.