JonathanSalwan / Triton

Triton is a dynamic binary analysis library. Build your own program analysis tools, automate your reverse engineering, perform software verification or just emulate code.
https://triton-library.github.io
Apache License 2.0
3.39k stars 524 forks source link

Incompatible with Python-3.11 #1334

Open yurivict opened 3 weeks ago

yurivict commented 3 weeks ago
In file included from /wrkdirs/usr/ports/sysutils/triton/work/Triton-0.9/src/libtriton/bindings/python/init.cpp:8:
/wrkdirs/usr/ports/sysutils/triton/work/Triton-0.9/src/libtriton/includes/triton/pythonBindings.hpp:12:10: fatal error: 'longintrepr.h' file not found
#include <longintrepr.h>
         ^~~~~~~~~~~~~~~
1 error generated.

Version: 0.9 FreeBSD 14.0

JonathanSalwan commented 3 weeks ago

Can you give me the output of your cmake .. as well as where longintrepr.h is located on your system.

yurivict commented 3 weeks ago

Here is the log. longintrepr.h is located here: /usr/local/include/python3.11/cpython/longintrepr.h

yurivict commented 3 weeks ago

The latest master branch revision has it fixed though. This is a matter of making a release.