Code Monkey home page Code Monkey logo

assembly-analyzer's Introduction

Assembly-Analyzer

To use:

  1. put the get_assembly.bat file inside the project directory of specific VTune project.
  2. inside the script edit"input_directory" to the name of directory containing results of the analsisis you want to get the assembly code for.
  3. make sure the vtune command is available in your system's PATH
  4. provide the names.csv file conatining names of all the functions found during the analysis. You can do it in number of ways, such as from Intel VTune GUI select top-down view, hide all the columns except for the "function name", then hit ctrl+a to select all rows, right click and export to the csv file. You need to make sure that there are no additional characters in the file, you can achieve that using "Find and replace functionality" of Notepad++.

The script will perform vtune command generating assembly code for a single file at a time and will put the csv file with results in the output directory. After going through all functions in the names.csv file it will merge all the files into a single one containing all assembly code from that analysis.

After creating the csv file with assembly code you can run the python script that will do the analysis of occurance of each assembly instruction present in the code, as well as their execution time based on the types of arguments used. To do that put the input file into input directory of the project, change filename variable to the name of that file in the main.py file and run the file. The results will be put into results directory.

assembly-analyzer's People

Contributors

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