Code Monkey home page Code Monkey logo

pinrollbacktool's Introduction

PinRollbackTool

This tool demonstrates the use of the PIN_ExecuteAt() API. This tools forces the program execution on the wrong branch paths and the rolls back the state to the correct branch path. Note that PIN can only rollback register state and NOT the memory state. This means that if a memory store occurs on the wrong path, then that store will persist even after the execution is redirected on the correct path.

Testing Environment

Pin verison: 3.28-98749-g6643ecee5-gcc-linux

CPU: Intel(R) Core(TM) i7-4770 CPU

How to build

  • Copy this directory to <pin installation>/source/tools
  • Go to the pintool directory
     $ cd <pin installation>/source/tools/PinRollbackTool 
    
  • Build the pintool
     $ make
    

How to clean

$ make clean

How to run

  • Go to the pin installation directory
     $ cd <pin installation>
    
  • Execute Pin with PinRollbackTool
     $ ./pin -t source/tools/PinRollbackTool/obj-intel64/PinRollbackTool.so -n <number of speculatively executed instructions after which rollback should be triggered> -- <path to the program>
    

pinrollbacktool's People

Contributors

setu-gupta avatar

Watchers

 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.