Azwraith

Results 6 comments of Azwraith

The library installed through the **PyPi package** was found to be invalid because the definition of **CS_OPT_ON** in python and dll was different。 ```python # bindings/python/capstone/__init__.py CS_OPT_ON = 1

@Rot127 I see that the latest **version 5.0.2** has fixed this bug [v5] python: Fix definition of capstone syntax value option constants by @nmeum in https://github.com/capstone-engine/capstone/pull/2240

@nikias There are also some problems with set_valid_configuration under Windows. libusb_kernel_driver_active and libusb_detach_kernel_driver are not supported, so it can only be handled by using libusb-win32's usb_set_configuration. Under Windows, the USB...

@nikias It doesn't work. It always returns LIBUSB_ERROR_BUSY. This is probably because libusb_kernel_driver_active and libusb_detach_kernel_driver are not supported on Windows. Here's a workaround I used. I hope it helps with...

@NumberOneGit It works, but it's not the optimal solution.