Class ClojureGhidraClassLoader

java.lang.Object
java.lang.ClassLoader
rubydragon.clojure.ClojureGhidraClassLoader

public class ClojureGhidraClassLoader extends ClassLoader
Custom classloader for Clojure scripts so that they don't have to be in the classpath in order to be run.
  • Constructor Details

    • ClojureGhidraClassLoader

      public ClojureGhidraClassLoader()
  • Method Details

    • findResource

      public URL findResource(String path)
      If the provided resource ends with ".clj", then the loader attempts to find it as a raw file, without using the classpath. If the resource doesn't end with ".clj", then this classloader simply defers to its parent.
      Parameters:
      path - The path to the resource. If this is a clojure script, it is expected to be a findable path.