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
.
This repository was archived by the owner on Dec 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
pgoodman/Python-Binary-Instrumenter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An example of how to do static assembly instrumentation with Python.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published