Skip to content

AutoSync fails on Windows #2755

@moste00

Description

@moste00

Work environment

Questions Answers
System Capstone runs on OS/arch/bits Windows 11 x86
Capstone module affected None, in suite/autosync
Source of Capstone cloning the latest master
Version/git commit 67e3886

Expected behavior

ASUpdater script should run and generate INC files or at least give reasonable generation-related errors

Actual behavior

ASUpdater crashes with a stacktrace ending in the regex module, with an error about an invalid escape. (The paths printed at the beginning are the output of a print statement I added)

Image

This could be related to Windows file paths differences or Windows-specific behavior from the regex module. But this is just my hypothesis.

Steps to reproduce the behavior

Follow the Auto Sync README and run the ASUpdater script on any architecture as follows: ASUpdater -s IncGen -a ARCH

Additional Logs, screenshots, source code, configuration dump, ...

Drag and drop zip archives containing the Additional info here, don't use external services or link.
Screenshots can be directly dropped here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions