Code Monkey home page Code Monkey logo

ubsi_patch's Introduction

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Unit-based Selective Instrumentation (UBSI) for tc-in-a-box
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

The following steps are necessary to apply UBSI to a set of applications
on the trace vm on tc-in-a-box: 

1. Change the Vagrantfile for tc-in-a-box to ensure that the trace VM uses
the needed resources. 

# Allocate extra hardware resources for the trace VM.
trace.vm.provider "virtualbox" do |v|
   v.memory = 16384
   v.cpus = 2
end

2. Stop the tc-in-a-box VMs 

>> vagrant halt

3. Restart the tc-in-a-box VMs for these changes to take effect:

>> vagrant up

4. ssh into the trace VM:

>> vagrant ssh trace

5. Copy and unzip UBSI_patch.tar.gz on the trace VM in /home/vagrant. 

>> cd UBSI_patch
>> ./install.sh

This script will patch a set of applications in order to apply the TRACE 
unit-based selective instrumentation, which provides a finer causality 
granularity.

3. The directory /home/vagrant/TRACE/BIN will contain all the executables
with UBSI instrumentation. To leverage the instrumented applications when 
testing the TRACE framework, the path has to be set accordingly:

>> export PATH=/home/vagrant/TRACE/BIN:$PATH

ubsi_patch's People

Contributors

kyuhlee avatar

Watchers

James Cloos 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.