failing java instrumentation poc minimally based on research from https://github.com/saqib-ahmed/javab-agent
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
bfu ffffd9633c
test: switch to jupiter
12 months ago
scripts testing.. 1 year ago
src test: switch to jupiter 12 months ago
.gitignore testing.. 1 year ago
Makefile i dont know, tbh 12 months ago
README.md testing.. 1 year ago
checkstyle.xml initial 1 year ago
pom.xml test: switch to jupiter 12 months ago

README.md

libminstr

m(ock)-instrumentation

Concept for creating a Java agent without attaching as an agent, or specifying in the manifest.

Originally (this is seen in the commit history), this was attempted to be linked with libinstrument. However, that was dumb, and worked on only one machine. Turns out, we can create instrumentation without that library, and quite easily, using JNI.

Caveats

I wrote this code and I think I gave it too much privileges, primarily for the hell of it.

Building

$ mvn clean install

Requirements

  • maven
  • make
  • clang++