Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

pgoodman/Python-Binary-Instrumenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prototype of Python Binary Instrumenter

This is a user space prototype for doing simple binary instrumentation with Python. This prototype works by compiling some code to assembly with clang. clang annotates the generated assembly with basic block information. A python script then separates the basic blocks, and exposes them as lists of strings (assembly instructions or assembly directives). The python script then modifies these instruction lists, and spits out modified (instrumented) lists of instructions, for compiling by clang.

About

An example of how to do static assembly instrumentation with Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published