Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

println does not work in utility classes #2

Open
edmcman opened this issue Apr 1, 2019 · 1 comment
Open

println does not work in utility classes #2

edmcman opened this issue Apr 1, 2019 · 1 comment

Comments

@edmcman
Copy link
Owner

edmcman commented Apr 1, 2019

GhidraScript defines println, which is inherited by script classes. If an auxiliary class is defined in a scala GhidraScript (and does not inherit from GhidraScript), println won't send its output to the console.
This can be worked around by passing println from the script class to the auxiliary class, but a better solution is in order.

@edmcman
Copy link
Owner Author

edmcman commented Apr 1, 2019

Or just define the auxiliary class as a nested class in the ghidrascript class. Duh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant