Created
April 10, 2014 08:32
-
-
Save unix-junkie/10356637 to your computer and use it in GitHub Desktop.
A Clojure one-liner which crashes the HostSpot JVM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(-> (doto (-> (->> (-> (Class/forName "sun.misc.Unsafe") .getDeclaredFields) (filter #(= (.getName %1) "theUnsafe"))) first) (.setAccessible true)) (.get nil) (.putAddress 0 0)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment