Git Product home page Git Product logo

Comments (10)

mothran avatar mothran commented on June 15, 2024

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.

from aflpin.

Machiry avatar Machiry commented on June 15, 2024

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 :(

from aflpin.

mothran avatar mothran commented on June 15, 2024

Fair,
I will try and take a look soon. Check around on the release notes and try searching for that include, it might have just moved paths, or my -I flags could be wrong with the newer version of pin.

from aflpin.

abhishiktvv avatar abhishiktvv commented on June 15, 2024

i'm also facing the same situation. below is attached screenshot please resolve this & also can you mention to which version of pin is this aflpin stable i mean working?
image

from aflpin.

mothran avatar mothran commented on June 15, 2024

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.

from aflpin.

abhishiktvv avatar abhishiktvv commented on June 15, 2024

i'm new to this tool could you please help me out regarding building the tool . i installed gcc 4.9 on ubuntu 14.04.1 still getting the same , could you please say me whether i think i'm running it improperly.
image

from aflpin.

ozturkosu avatar ozturkosu commented on June 15, 2024

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

from aflpin.

abhishiktvv avatar abhishiktvv commented on June 15, 2024

from aflpin.

zjuchenyuan avatar zjuchenyuan commented on June 15, 2024

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.
https://software.intel.com/sites/default/files/managed/18/d9/pinplay-1.2-pin-2.13-62732-gcc.4.4.7-linux.tar.gz

And here is my Dockerfile, hopefully useful for further reproducing and researching.
https://hub.docker.com/r/zjuchenyuan/aflpin/dockerfile

FROM ubuntu:16.04

RUN apt update && apt-get install -y vim nano htop autoconf automake build-essential cmake git sudo software-properties-common gperf libselinux1-dev  bison texinfo flex zlib1g-dev libexpat1-dev libmpg123-dev wget curl

RUN apt update && apt install -y  libdwarf-dev libelf-dev gcc-4.8 g++-4.8 &&\
    update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 &&\
    update-alternatives --install /usr/bin/g++ g++ /usr/bin/gcc-4.8 10 &&\
    wget https://software.intel.com/sites/default/files/managed/18/d9/pinplay-1.2-pin-2.13-62732-gcc.4.4.7-linux.tar.gz &&\
    tar xf pinplay-1.2-pin-2.13-62732-gcc.4.4.7-linux.tar.gz

ENV PIN_ROOT=/pinplay-1.2-pin-2.13-62732-gcc.4.4.7-linux \
    LD_LIBRARY_PATH=/pinplay-1.2-pin-2.13-62732-gcc.4.4.7-linux/intel64/runtime

RUN git clone https://github.com/mothran/aflpin &&\
    cd aflpin && mkdir obj-intel64 &&\
    sed -i 's#-fdiagnostics-color=auto##' Config/makefile.unix.config &&\
    make obj-intel64/aflpin.so

RUN git clone https://github.com/mirrorer/afl &&\
    cd afl && git checkout df7c3f63d7 &&\
    sed -i 's/FATAL("No instrumentation detected");/SAYF("This is as expected for AFLPIN\\n");/' afl-fuzz.c &&\
    make && make install

This includes pin-2.13, gcc-4.8, removing unsupported -fdiagnostics-color=auto, afl version 1.15b

from aflpin.

satanu01 avatar satanu01 commented on June 15, 2024

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 .

Can you provide the link of that version?

from aflpin.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.