Closed axel7083 closed 1 month ago
Are you just using Ghidra's built-in Jython support (which only supports Python 2), or are you using a 3rd party extension like Pyhidra or Ghidrathon? Typing is not supported in Python 2.
Are you just using Ghidra's built-in Jython support (which only supports Python 2), or are you using a 3rd party extension like Pyhidra or Ghidrathon? Typing is not supported in Python 2.
You are right, when using it, I thought I was using some kind of python 3 version, but apparently Jython 2. Closing as cannot be solved
Is your feature request related to a problem? Please describe.
I am using the
analyzeHeadless
, and provide a python script through the-postScript
, however when trying to annotate my code with argument type, and return type for function it will raise an error.Here is an example of a function I created
But once running I am getting the following error
Describe the solution you'd like
Hopefully a support for running script containing python typing.
Describe alternatives you've considered
Remove the typing makes everything works.
Additional context Add any other context or screenshots about the feature request here.