mandiant / Ghidrathon

The FLARE team's open-source extension to add Python 3 scripting to Ghidra.
Apache License 2.0
702 stars 54 forks source link

Help to have completion #84

Open daytona675 opened 10 months ago

daytona675 commented 10 months ago

Hi, first of all, congrats for this ghidra improvement.

All is fine for me with the installation but I would like to know if is it possible to have the completion in Ghidra python console. When I use jep, the completion run well. You combine JEP and Ghidra so why not to have the completion. Thanks again and happy new year !

matthewturk commented 10 months ago

@daytona675 I was able to get this working via https://pypi.org/project/ghidra-stubs/ . The readme on PyPI goes over how to get them working.

daytona675 commented 10 months ago

Just Time to test and i come back to you for the résultat

Le mer. 10 janv. 2024 à 19:48, Matthew Turk @.***> a écrit :

@daytona675 https://github.com/daytona675 I was able to get this working via https://pypi.org/project/ghidra-stubs/ . The readme on PyPI goes over how to get them working.

— Reply to this email directly, view it on GitHub https://github.com/mandiant/Ghidrathon/issues/84#issuecomment-1885427722, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB565KEGRHSKGPWSPYDBHBTYN3O65AVCNFSM6AAAAABBVIO6TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGQZDONZSGI . You are receiving this because you were mentioned.Message ID: @.***>

daytona675 commented 10 months ago

Ho @matthewturk, i've try to install ghidra-stubs and test it in ghidrathon but it doesn't work. But if I try if on VSCODE it's running well. it could be possible to use it in many application but i can't find to add extra path in ghridrathon. Is it possible to help me ? KR

daytona675 commented 10 months ago

just to be sure: I would like autocompletion in ghidrathon for all my python module liket angr unicorn capstone gdb etc etc

williballenthin commented 10 months ago

you could also try the implementation in #77