Show More
@@ -30,6 +30,7 b' extern "C" int LLVMFuzzerInitialize(int ' | |||||
30 | } |
|
30 | } | |
31 | strncpy(cpypath, pypath.c_str(), pypath.size()); |
|
31 | strncpy(cpypath, pypath.c_str(), pypath.size()); | |
32 | setenv("PYTHONPATH", cpypath, 1); |
|
32 | setenv("PYTHONPATH", cpypath, 1); | |
|
33 | setenv("PYTHONNOUSERSITE", "1", 1); | |||
33 | Py_SetPythonHome(cpypath); |
|
34 | Py_SetPythonHome(cpypath); | |
34 | Py_InitializeEx(0); |
|
35 | Py_InitializeEx(0); | |
35 | return 0; |
|
36 | return 0; |
General Comments 0
You need to be logged in to leave comments.
Login now