mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-08 16:21:32 +00:00
for hexcoder
This commit is contained in:
parent
7856f09799
commit
4e87c6af02
@ -21,6 +21,7 @@ Version ++2.54d (dev):
|
|||||||
FIFO or disk partition
|
FIFO or disk partition
|
||||||
- reducing duplicate code in afl-fuzz
|
- reducing duplicate code in afl-fuzz
|
||||||
- persistent mode for QEMU
|
- persistent mode for QEMU
|
||||||
|
- removed compile warnings from python internal stuff
|
||||||
- updated documentation
|
- updated documentation
|
||||||
|
|
||||||
|
|
||||||
|
@ -454,8 +454,31 @@ extern s32
|
|||||||
/* Python stuff */
|
/* Python stuff */
|
||||||
#ifdef USE_PYTHON
|
#ifdef USE_PYTHON
|
||||||
|
|
||||||
|
// because Python sets stuff it should not ...
|
||||||
|
#ifdef _POSIX_C_SOURCE
|
||||||
|
#define _SAVE_POSIX_C_SOURCE _POSIX_C_SOURCE
|
||||||
|
#undef _POSIX_C_SOURCE
|
||||||
|
#endif
|
||||||
|
#ifdef _XOPEN_SOURCE
|
||||||
|
#define _SAVE_XOPEN_SOURCE _XOPEN_SOURCE
|
||||||
|
#undef _XOPEN_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
|
#ifdef _SAVE_POSIX_C_SOURCE
|
||||||
|
#ifdef _POSIX_C_SOURCE
|
||||||
|
#undef _POSIX_C_SOURCE
|
||||||
|
#endif
|
||||||
|
#define _POSIX_C_SOURCE _SAVE_POSIX_C_SOURCE
|
||||||
|
#endif
|
||||||
|
#ifdef _SAVE_XOPEN_SOURCE
|
||||||
|
#ifdef _XOPEN_SOURCE
|
||||||
|
#undef _XOPEN_SOURCE
|
||||||
|
#endif
|
||||||
|
#define _XOPEN_SOURCE _SAVE_XOPEN_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
extern PyObject* py_module;
|
extern PyObject* py_module;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user