4 ms·
I would love to do something like that to HotSpot but with W^X being a thing I don't think it'd be easy with these Unsafe tricks. I'd probably have to do some J
by half-kh-hacker 7y ago
I would love to do something like that to HotSpot but with W^X being a thing I don't think it'd be easy with these Unsafe tricks. I'd probably have to do some JNI hackery...
- saagarjha 7y agoOr you could try to find data structures that influence execution flow, or get the JIT compiler to write the bytes for you.