Giter Site home page Giter Site logo

agroce / afl-compiler-fuzzer Goto Github PK

View Code? Open in Web Editor NEW
110.0 2.0 11.0 1.41 MB

Variation of american fuzzy lop for testing compilers

Home Page: http://lcamtuf.coredump.cx/afl/

License: Apache License 2.0

Makefile 2.79% C 87.75% Shell 7.70% C++ 1.05% HTML 0.70% JavaScript 0.01% Rich Text Format 0.01%
afl fuzzing-compilers afl-fuzz fuzzing compiler-testing

afl-compiler-fuzzer's People

Contributors

adrianherrera avatar agroce avatar ammaraskar avatar bayandin avatar ddcc avatar dor1s avatar joeyjiao avatar jonathanmetzman avatar neuracr avatar pietroferretti avatar pyhuang avatar rootup avatar rurban avatar rvantonder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

afl-compiler-fuzzer's Issues

Build environment

I'm trying to build this fork of AFL on Fedora 36, specifically the binary-only mode based on QEMU, but am running into the following errors:

$ PYTHON=python2.7 ./build_qemu_support.sh

...
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/syscall.c:261:16: error: static declaration of ‘gettid’ follows non-static declaration
  261 | _syscall0(int, gettid)
      |                ^~~~~~
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/syscall.c:191:13: note: in definition of macro ‘_syscall0’
  191 | static type name (void)                 \
      |             ^~~~
In file included from /usr/include/unistd.h:1218,
                 from /home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/include/qemu/osdep.h:75,
                 from /home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ with type ‘__pid_t(void)’ {aka ‘int(void)’}
   34 | extern __pid_t gettid (void) __THROW;
      |                ^~~~~~
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/ioctls.h:173:9: error: ‘SIOCGSTAMP’ undeclared here (not in a function); did you mean ‘SIOCSRARP’?
  173 |   IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
      |         ^~~~~~~~~~
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/syscall.c:5597:23: note: in definition of macro ‘IOCTL’
 5597 |     { TARGET_ ## cmd, cmd, #cmd, access, 0, {  __VA_ARGS__ } },
      |                       ^~~
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/ioctls.h:174:9: error: ‘SIOCGSTAMPNS’ undeclared here (not in a function); did you mean ‘SIOCGSTAMP_OLD’?
  174 |   IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
      |         ^~~~~~~~~~~~
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/syscall.c:5597:23: note: in definition of macro ‘IOCTL’
 5597 |     { TARGET_ ## cmd, cmd, #cmd, access, 0, {  __VA_ARGS__ } },
      |                       ^~~
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/syscall.c: In function ‘do_open_by_handle_at’:
/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/linux-user/syscall.c:7248:5: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
 7248 |     fh = g_memdup(target_fh, total_size);
      |     ^~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from /home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/include/glib-compat.h:19,
                 from /home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/include/qemu/osdep.h:107:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
make[1]: *** [/home/bastian/Documents/afl-compiler-fuzzer/qemu_mode/qemu-2.10.0/rules.mak:66: linux-user/syscall.o] Error 1
make: *** [Makefile:326: subdir-x86_64-linux-user] Error 2

Could you please provide more details on what distribution/version this project can be used? Thank you!

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.