Skip to content
/ lockpwn Public
forked from smackers/lockpwn

blazing fast symbolic analysis for concurrent C programs

License

Notifications You must be signed in to change notification settings

YHVHvx/lockpwn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lockpwn

A lightweight, blazing fast symbolic analyser for concurrent C programs.

Build instructions

  1. Clone this project.
  2. Compile using Visual Studio or Mono.

How to use

The input to lockpwn is a concurrent C program translated to the Boogie intermediate verification language using the SMACK LLVM-to-Boogie translator.

Given an input ${PROGRAM} in Boogie, do the following:

.\lockpwn.exe ${PROGRAM}.bpl

lockpwn can also easily integrate with Microsoft's Corral bounded bugfinder. This can be achieved as follows:

.\lockpwn.exe ${PROGRAM}.bpl /corral

The output, ${OUTPUT}.bpl, is an instrumented with context-switches (yields) Boogie program. This can be directly fed to Corral using the /cooperative option (so Corral does not automatically instrument yield statements).

Tool options

Use /v for verbose mode or /v2 for super verbose mode. Use /time for timing information.

Publications

About

blazing fast symbolic analysis for concurrent C programs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.0%
  • C 3.0%