I've found some universities that are porting DynamoRIO (or something very similar) to Linux kernel space, but the code doesn't seem to be available. Is there a resource I am unaware of?
Here's an example.
I've found some universities that are porting DynamoRIO (or something very similar) to Linux kernel space, but the code doesn't seem to be available. Is there a resource I am unaware of?
Here's an example.
Yes, there is DynamoRIO Kernel (DRK), which is a DynamoRIO (DR) port created by Peter Feiner at the University of Toronto (U of T). The current DR source tree; however, does not contain DRK, despite the existence of a branch. DRK has yet to be open sourced, and U of T is actively doing kernel DBT research using DRK and a new DBT framework.
If you are thinking of porting it yourself, the two main challenges are:
There is a branch in the DynamoRIO Google Code project called "DRK", and commit 1323 has the log message "DRK: DynamoRIO as a Linux kernel module". That should contain the code you're looking for, though since I haven't used DynamoRIO before I can't guarantee it.
Recently, two new kernel instrumentation systems have been released, of which I am the creator of one: