Package ghidra.python

Class PythonInterpreterTest

    • Constructor Detail

      • PythonInterpreterTest

        public PythonInterpreterTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPythonPush

        public void testPythonPush()
        Tests that the interpreter's "push" method is working by executing a simple line of python.
      • testPythonExecFile

        public void testPythonExecFile()
        Tests that the interpreter's "execFile" method is working by executing a simple file of python.
      • testPythonSiteCustomize

        public void testPythonSiteCustomize()
        Tests that our sitecustomize.py modules gets loaded by testing the custom help function that we install from there.
      • testPythonCleanupInvalidation

        public void testPythonCleanupInvalidation()
        Tests that cleaning the interpreter invalidates it.