Skip to content

execve() Failed #686

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

Closed
cjcox17 opened this issue May 7, 2017 · 5 comments
Closed

execve() Failed #686

cjcox17 opened this issue May 7, 2017 · 5 comments

Comments

@cjcox17
Copy link

cjcox17 commented May 7, 2017

Anytime I try to assemble or edit current line, I get a dialog that says execve() Failed. Binary ninja will not save or edit any binaries that I open. There are no errors about it when I run --debug --stderr-log or in the binary ninja gui log. Happens on both the stable and development versions of the personal edition.

@psifertex
Copy link
Member

Hmm. what platform are you running on?

We shell out to yasm for x86 shellcode (if you try it on any other architecture I suspect it would work). Can you try manually running it on the command-line? (Check in the install path)

@cjcox17
Copy link
Author

cjcox17 commented May 7, 2017

Linux archdesktop 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64 GNU/Linux

Just as a note, it does work inside my windows virtual box. I will test this later on my desktop tonight when I get some time. Thanks! Awesome app by the way.

@cjcox17
Copy link
Author

cjcox17 commented May 8, 2017

Yasm wasn't installed on my system, after installing it however, it still happens.

✘ desktop@archdesktop  ~/binaryninja  yasm --version
yasm 1.3.0
Compiled on Aug 11 2014.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
desktop@archdesktop  ~/binaryninja  file binaryninja
binaryninja: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=51d67fc12fdc7ef977acf185172181a840c2e7c3, not stripped, with debug_info
desktop@archdesktop  ~/binaryninja  uname -a
Linux archdesktop 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64 GNU/Linux
desktop@archdesktop  ~/binaryninja 

@plafosse
Copy link
Member

Unfortunately Arch is not a supported platform and many other linux users use the assembler without issue. So I'm going to close this issue.

@psifertex
Copy link
Member

psifertex commented Jun 19, 2024

FWIW, you don't need yasm installed. We ship our own. So if it's not finding the one we ship there's something else wrong with permissions, the download was corrupted, or maybe something different with rpath in the executables? Not sure.

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

3 participants