Coder Social home page Coder Social logo

umangm / mopedqleak Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 0.0 1.34 MB

MopedQLeak: Tool for Quantifying Information Flow in Probabilistic Recursive Programs

Makefile 5.79% C++ 5.07% Shell 8.40% M4 0.16% C 72.90% HTML 4.86% Roff 0.32% Lex 0.07% Yacc 2.43%
information-flow information-leakage symbolic model-checking binary-decision-diagrams

mopedqleak's Introduction

Moped-QLeak

Installation instructions :

Compiling CUDD

cd cudd-3.0.0
./configure --enable-dddmp --enable-obj --enable-shared --enable-static
make
make check #Optional. Just to see if CUDD compiled correctly
make install
cd .. #Return to the main directory

The above set of commands have been tested for MacOS (x86_64 architecture). Linux users should include installed library path in '/etc/ld.so.conf'. In my case, the path is '/usr/local/lib/' and I added 'include /usr/local/lib/' to 'ld.so.conf'.

Test if CUDD compiled correctly:

gcc test.c -o test -I cudd-3.0.0/cudd -I cudd-3.0.0/util -I cudd-3.0.0/  -L cudd-3.0.0/cudd/.libs/ -lcudd -lm ; ./test #Test if CUDD compiled correctly

The CUDD distribution that comes with this tool is slightly different from the CUDD distribution original provided by Fabio Somenzi which can be obtained here. In particular, the following files have been changed:

  • cudd-3.0.0/cudd/cudd.h - New declarations of functions : cudd_addMaxAbstract, cudd_addMinAbstract and cudd_addLogExistAbstract
  • cudd-3.0.0/cudd/cuddInt.h - New declarations of functions : cuddAddMaxAbstractRecur, cuddAddMinAbstractRecur and cuddAddLogExistAbstractRecur
  • cudd-3.0.0/cudd/cudd.h - Definition of the above six functions

Compiling and Running Moped-QLeak

Compile as follows :

make mql

The current Makefile has been tested for MacOS (x86_64 architecture).

Running MopedQLeak :

  • For min-entropy :
./mql -min <filename>
  • For shannon entropy:
./mql -shannon <filename>

mopedqleak's People

Contributors

ajayeeralla avatar umangm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.