Git Product home page Git Product logo

minix_visualizer's Introduction

Minix Visualizer

This is a simple command line visualizer of log files generated with the Hacking the Minix Kernel project.

Usage

python minix_visualizer.py <filename> [-v|-vv]

Example:

python minix_visualizer.py log_e9.log -v

By default, it shows a summary of the keys pressed. If the -v option is used, it also shows every MAKEKBD event. If the -vv option is used, it shows every event.

Output

Example of non-verbose output:

--- Keys pressed: ---

###usuario
echo John Doe
exit
root
halt

Example of verbose (-v) output:

scan code: 24 ascii:  35 char: # [press]
scan code: 24 ascii:  35 char: # [press]
scan code: 1d ascii:   0 char: - [press]
scan code: 2e ascii:   3 char: - [press]
scan code: ae ascii:   3 char: - [release]
scan code: 9d ascii:   0 char: - [release]
scan code: 24 ascii:  35 char: # [press]
scan code: 16 ascii: 117 char: u [press]
scan code: 96 ascii: 117 char: u [release]
scan code: 1f ascii: 115 char: s [press]
scan code: 9f ascii: 115 char: s [release]
scan code: 16 ascii: 117 char: u [press]
scan code: 96 ascii: 117 char: u [release]
scan code: 1e ascii:  97 char: a [press]
 ...

 --- Keys pressed: ---

###usuario
echo John Doe
exit
root
halt

Example of very verbose (-vv) output:

 opSVC_02 RECEIVE

*****************************| tick 0 |*****************************

opIRQ_00 CLOCK_IRQ
opSVC_02 RECEIVE
opSVC_02 RECEIVE
opSVC_03 SENDREC
opSVC_02 RECEIVE
opSVC_03 SENDREC
opSVC_02 RECEIVE
...
opMAPKBD
 scan code: 24 ascii:  35 char: # [press]
opSVC_03 SENDREC
opSVC_02 RECEIVE
...

 --- Keys pressed: ---

###usuario
echo John Doe
exit
root
halt

minix_visualizer's People

Contributors

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