failing java instrumentation poc minimally based on research from https://github.com/saqib-ahmed/javab-agent
Go to file
bfu ffffd9633c
test: switch to jupiter
2021-12-22 00:20:09 -05:00
scripts testing.. 2021-07-09 19:28:46 -04:00
src test: switch to jupiter 2021-12-22 00:20:09 -05:00
.gitignore testing.. 2021-07-09 19:28:46 -04:00
Makefile i dont know, tbh 2021-12-21 22:57:15 -05:00
README.md testing.. 2021-07-09 19:28:46 -04:00
checkstyle.xml initial 2021-07-08 01:39:12 -04:00
pom.xml test: switch to jupiter 2021-12-22 00:20:09 -05:00

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++