You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not really sure what causes it, and if you have any tips that could help me debug the project and understand the issue further I'd love to take part.
The client code
addressFactory = currentProgram.getAddressFactory()
monitor = getMonitor()
addr = "802de918"
f = (getFunctionAt(addressFactory.getAddress(addr)))
# returns an empty list
called = f.getCalledFunctions(monitor)
print(f)
The client receives an empty list. However on the server side (in Ghidra) I see the following:
WARNING:jfx_bridge.bridge:Handling connection from ('127.0.0.1', 56181)
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.program.database.ProgramAddressFactory' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.program.model.address.GenericAddress' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.program.util.BytesFieldLocation' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.program.database.ProgramDB' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.program.database.function.FunctionDB' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'javapackage' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'javapackage' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.util.task.WrappingTaskMonitor' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.app.script.GhidraScriptProperties' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'generic.jar.ResourceFile' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.app.script.GhidraState' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'java.io.PrintWriter' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__iter__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__eq__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__ge__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__getstate__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__gt__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__le__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__lt__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__ne__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__self_class__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'instancemethod' object has no attribute '__thisclass__'
Traceback (most recent call last):
File "C:\Users\shaked.delarea\ghidra_scripts\jfx_bridge\bridge.py", line 1003, in local_get
result = getattr(target, name)
AttributeError: 'ghidra.program.database.function.FunctionDB' object has no attribute '__iter__'
Needless to say that running the same lines of code directly from Ghidra's Python console does yield some functions.
The text was updated successfully, but these errors were encountered:
I'm not really sure what causes it, and if you have any tips that could help me debug the project and understand the issue further I'd love to take part.
The client code
The client receives an empty list. However on the server side (in Ghidra) I see the following:
Needless to say that running the same lines of code directly from Ghidra's Python console does yield some functions.
The text was updated successfully, but these errors were encountered: