Work environment
| Questions |
Answers |
| OS/arch/bits |
Windows x86 |
| Architecture |
x86 |
| Source of Capstone |
git clone, reproduces with vcpkg port which uses cmake for windows |
| Version/git commit |
v5.0.1 |
Expected behavior
When compiling the library for windows using the CMake buildsystem for x86 32 bit it should produce a working binary.
Actual behavior
The library lib file produced causes a null-dereference when using cs_disasm.
Steps to reproduce the behavior
Compile for windows x86 32 bit Release static using the CMake buildsystem and then run test_basic.exe - the test crashes almost immediately.
Preferably use the vcpkg port version which uses CMake both for Linux and Windows binaries.
Work environment
git clone, reproduces with vcpkg port which uses cmake for windowsExpected behavior
When compiling the library for windows using the CMake buildsystem for x86 32 bit it should produce a working binary.
Actual behavior
The library lib file produced causes a null-dereference when using cs_disasm.
Steps to reproduce the behavior
Compile for windows x86 32 bit Release static using the CMake buildsystem and then run test_basic.exe - the test crashes almost immediately.
Preferably use the vcpkg port version which uses CMake both for Linux and Windows binaries.