-
-
Notifications
You must be signed in to change notification settings - Fork 728
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
UnicornEmulateCommand: "python" should be "python3" #677
Comments
This is a local configuration option to each Linux, not a gef issue. |
Exactly my point! So why is there an inconsistency in EDIT: |
Another option would be to use the recommendation from
|
That's a valid point, we may prefer turn into that approach actually. |
Unfortunately I just noticed that The result is that Therefore the I see two possible solutions to this issue:
|
Actually we already defined |
ok. I did so and also changed |
dev
branch?gdb -nx
the closed ones) - and the PR?
Step 1: Describe your environment
version
in GEF:Step 2: Describe your problem
in
UnicornEmulateCommand()
gef tries to find the python executable like thiswhich("python")
whereas it would be better to search withwhich("python3")
like done in theif __name__ == "__main__"
section.Distros like Ubuntu 20.04 e.g. don't have a
python
executable if onlypython3
is installed and other Distros that do usually just symlinkpython
topython3
. So usingpython3
should work on every Distro.Steps to reproduce
python3
is available (like ubuntu 20.04 without python2 installed))emu 10
Observed Results
Expected results
Something like:
The text was updated successfully, but these errors were encountered: