-
Notifications
You must be signed in to change notification settings - Fork 44
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 fails with latest version of Pin #1
Comments
Hello, thanks for the bug. It has been a long time since I worked on this because QEMU mode for AFL is shockingly faster (https://github.com/mirrorer/afl/tree/master/qemu_mode). I can pull down the most recent codebase and take a peak if QEMU mode does not work for you. |
I have some Pin Instrumentation I need to run as part of AFL. If aflpin works that is gold for me, else I need to modify qemu to handle my instrumentation :( |
Fair, |
What version of GCC are you using? Its warning that your version is less than 3.4 which is ancient. You will need some features of C++11, so at least get 4.7 to work effectively. Also, I still strongly recommend using the qemu mode for AFL instead of this tool, its faster and more supported. |
Hi Everyone I am also getting same error. I am trying to compile Sniper simulator and gettring exactly same error as you indicated previous post. : fatal error: xed-iclass-enum.h: No such file or directory Do you have any idea about it ? Thank you so much for your help in advance. Best |
i have build it with old version of pin not the new one , rather i suggest
use afl-qemu mode instead of pin which is more fast.
…On Tue, Jun 6, 2017 at 3:41 AM, Muhammed Emin Öztürk < ***@***.***> wrote:
Hi Everyone
I am also getting same error. I am trying to compile Sniper simulator and
gettring exactly same error as you indicated previous post.
: fatal error: xed-iclass-enum.h: No such file or directory
compilation terminated.
Do you have any idea about it ?
Thank you so much for your help in advance.
Best
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL2vFkwZdYSNhZpfHOa6DT6J3HOE1rvFks5sBH0PgaJpZM4HMTcl>
.
|
I found that you need PIN 2.13 to make aflpin work, higher version cannot compile or run. This is pinplay 1.2, which includes full pin files. And here is my Dockerfile, hopefully useful for further reproducing and researching.
This includes pin-2.13, gcc-4.8, removing unsupported |
Can you provide the link of that version? |
PIN_ROOT=/home/machiry/tools/fuzzorama/pintool make TARGET=ia32 obj-ia32/aflpin.so
g++ -DBIGARRAY_MULTIPLIER=1 -Wall -Werror -Wno-unknown-pragmas -std=c++11 -fno-stack-protector -DTARGET_IA32 -DHOST_IA32 -DTARGET_LINUX -I/home/machiry/tools/fuzzorama/pintool/source/include/pin -I/home/machiry/tools/fuzzorama/pintool/source/include/pin/gen -I/home/machiry/tools/fuzzorama/pintool/extras/components/include -I/home/machiry/tools/fuzzorama/pintool/extras/xed2-ia32/include -I/home/machiry/tools/fuzzorama/pintool/source/tools/InstLib -O3 -fomit-frame-pointer -fno-strict-aliasing -m32 -c -o obj-ia32/aflpin.o aflpin.cpp
In file included from /home/machiry/tools/fuzzorama/pintool/source/include/pin/pin.H:43:0,
from aflpin.cpp:1:
/home/machiry/tools/fuzzorama/pintool/source/include/pin/level_base.PLH:83:29: fatal error: xed-iclass-enum.h: No such file or directory
#include "xed-iclass-enum.h"
^
compilation terminated.
make: *** [obj-ia32/aflpin.o] Error 1
The text was updated successfully, but these errors were encountered: