Skip to content

Enable Hardware Enforced Stack Protection in Windows #835

@yukawa

Description

@yukawa

Description

So far there is no known broker that prevents us from enabling Hardware Enforced Stack Protection for Mozc by building executables with /CETCOMPAT.

Qt6's configure also has -intelcet option to enable CET.

References

Steps to reproduce

  1. Build Mozc.
  2. dumpbin /HEADERS .\third_party\qt\bin\Qt6Core.dll
  3. dumpbin /HEADERS .\out_win\Release_x64\mozc_tip64.dll
  4. dumpbin /HEADERS .\out_win\ReleaseDynamic_x64\mozc_server.exe

Expected behavior

At the step 2, 3, and 4, you can find the following section.

        00000001 extended DLL characteristics
                   CET compatible

Version or commit-id

51e0d20

Environment

  • OS: Windows 11 22H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions