Skip to content

CMake Windows Build Crashes (32bit) #2416

@eyalgolan1337

Description

@eyalgolan1337

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsbugSomething is not working as it should

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions