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

make not working #5

Open
nitinkp470 opened this issue Jan 28, 2018 · 2 comments
Open

make not working #5

nitinkp470 opened this issue Jan 28, 2018 · 2 comments

Comments

@nitinkp470
Copy link

after setting AFL_NO_X86=1 on 64bit linux and running make. I am getting this error.

/root/TriforceAFL/qemu_mode/qemu/rules.mak:57: recipe for target 'user-exec.o' failed
make[2]: *** [user-exec.o] Error 1
Makefile:173: recipe for target 'subdir-x86_64-linux-user' failed
make[1]: *** [subdir-x86_64-linux-user] Error 2
make[1]: Leaving directory '/root/TriforceAFL/qemu_mode/qemu'
cp: cannot stat 'x86_64-linux-user/qemu-x86_64': No such file or directory
cp: cannot stat 'x86_64-softmmu/qemu-system-x86_64': No such file or directory
cp: cannot stat 'x86_64-softmmu/qemu-system-x86_64': No such file or directory
cp: cannot stat 'arm-softmmu/qemu-system-arm': No such file or directory
cp: cannot stat 'aarch64-softmmu/qemu-system-aarch64': No such file or directory
Makefile:111: recipe for target 'afl-qemu-system-trace' failed
make: *** [afl-qemu-system-trace] Error 1

@jhertz
Copy link

jhertz commented Jul 19, 2018

try building exactly as is outlined in the readmes, including using ubuntu 14.04 Trusty

you can look at the dockerfile which builds it and try and replicate that on your host OS, or just use docker to build and then copy out of the container

@kmes9940502
Copy link

Replace all "ucontext" to "ucontext_t" in qemu_mode/qemu/user-exec.o fix the problem in Ubuntu 18.04

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