Commit 72f66455 authored by Jonathan Shahen's avatar Jonathan Shahen
Browse files

init - crashes on "testcases/mixed/test3.spec"

parents
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="lib" path="lib/antlr-3.2.jar"/>
<classpathentry kind="lib" path="lib/stringtemplate.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Mohawk 2.0</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
/********************************************************************
* PROGRAM NAME: Mohawk - A Model Checker for ARBAC Policies
*
* AUTHORS: Karthick Jayaraman
*
* BEGIN DATE: October, 2009
*
* LICENSE: Please view LICENSE file in the home dir of this Program
********************************************************************/
Primary Authors
---------------------------------
* Karthick Jayaraman
Syracuse University
* Vijay Ganesh
MIT
* Mahesh Tripunitara
University of Waterloo
Other Significant Author
------------------------
Authors who contributed some code
---------------------------------------
/********************************************************************
* PROGRAM NAME: Mohawk - A Model Checker for ARBAC Policies
*
* AUTHORS: Karthick Jayaraman
*
* BEGIN DATE: October, 2009
*
* LICENSE: Please view LICENSE file in the home dir of this Program
********************************************************************/
SVN command to checkout:
svn checkout http://mohawk.googlecode.com/svn/trunk/ mohawk-read-only
/********************************************************************
* PROGRAM NAME: Mohawk - A Tool for Finding Errors in ARBAC Policies
*
* AUTHORS: Karthick Jayaraman
*
* BEGIN DATE: October, 2009
*
* LICENSE: Please view LICENSE file in the home dir of this Program
********************************************************************/
Installation, configuration and use of Mohawk tool is very
straightforward. Mohawk has been primarily tested on Linux and Mac
OS. Therefore, our installation instructions assume you are using
Linux or Mac systems. We will test and release a windows version at a
later time.
Here are the steps to use Moahawk:
1. Install NuSMV. You can obtain the NuSMV source code / binary from
following site: http://nusmv.irst.itc.it/.
2. The Mohawk tool requires the latest version of JVM installed.
3. Mohawk is a Java-based tool and is available as a jar file. You may
either download the jar file from the website or build the jar file
using the sources.
Building jar file from sources:
3.1 Compile the Java sources and create the jar file using
the following ANT command : "ant dist". The build process
creates the jar file in the directory work/dist.
The Mohawk tool can be run from commandline as follows (after
completing step (1) and (2) ).
java -cp ./mohawk.jar mohawk.AbsRefine <ARBAC SPECFile>
If Mohawk finds an error, Mohawk displays the counter example from
NuSMV in the console. Mohawk writes the ARBAC spec used in each
refinement step to a file with the following naming convention:
rbacinstance<fileinstance>. Therefore, rbacinstance1 contains the
abstract model verified in step 1.
The MIT License
Copyright (c) 2010 Karthick Jayaraman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
/********************************************************************
* PROGRAM NAME: Mohawk - A Model Checker for ARBAC Policies
*
* AUTHORS: Karthick Jayaraman
*
* BEGIN DATE: October, 2009
*
* LICENSE: Please view LICENSE file in the home dir of this Programtt
********************************************************************/
INSTALL
-------
See INSTALL file in the home dir of this program
LICENSE
-------
See LICENSE file in the home dir of this program
WEBSITE
-------
http://code.google.com/p/mohawk/
Google Code REPOSITORY
----------------------
svn checkout http://mohawk.googlecode.com/svn/trunk/ mohawk-read-only
DOCUMENTATION
-------------
Not published yet
PAPERS
------
check paper directory
<project name="mohawk" default="compile" basedir=".">
<description>Mohawk Tool Implementation.</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="lib" location="lib"/>
<property name="bin" location="bin" />
<property name="build" location="${bin}/build"/>
<property name="dist" location="${bin}/dist"/>
<target name="init">
<!-- create the build directory structure used by compile -->
<mkdir dir="${build}"/>
<!-- create the distribution directory -->
<mkdir dir="${dist}"/>
</target>
<target name="parser" depends="init" description="generate parser files" >
<!-- Create the parser files -->
<antlr target="${lib}/rbac.g" outputdirectory="${src}/mohawk" >
<classpath>
<pathelement location="${lib}/antlr-3.2.jar" />
</classpath>
</antlr>
</target>
<target name="compile" depends="parser" description="compile the source " >
<!-- compile the java code from ${src} into ${build} -->
<javac srcdir="${src}" destdir="${build}" debug="on" deprecation="true">
<classpath>
<fileset dir="${lib}">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javac>
<copy file="${lib}/smvtemplate.st" todir="${build}/mohawk" />
<copy file="${lib}/transitions.st" todir="${build}/mohawk" />
<copy file="${lib}/rbac.st" todir="${build}/mohawk" />
</target>
<target name="dist" depends="compile" description="generate the distribution" >
<!-- put everything in ${build} into the jar file -->
<jar destfile="${dist}/${ant.project.name}.jar" basedir="${build}">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="mohawk.RBAC2SMV" />
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${build}" />
<zipfileset src="${lib}/stringtemplate.jar" />
<zipfileset src="${lib}/antlr-3.2.jar" />
</jar>
</target>
<target name="clean" description="clean up">
<!-- delete the ${build} and ${dist} directory trees -->
<delete dir="${bin}"/>
<delete>
<fileset dir="." defaultexcludes="no">
<include name="**/*.*~"/>
</fileset>
</delete>
</target>
</project>
This directory contains the ARBAC policies for a bank comprising 10,
20, 30, and 40 branches. Please refer the actual casestudy for the
detailed description, and the PDF file is available at:
http://code.google.com/p/mohawk/downloads/detail?name=casestudy.pdf&can=2&q=.
The policy files are available in the following two directories:
1) Shallow - This directory contains the four policies with the "First
Error".
2) Deep - This directory contains the four policies with the "Second
Error".
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment