google / google/or-tools

Enable control flow guard building or-tools dotnet DLLs using Visual C++

Open
#4,638 2 comments 0 reactions 1 assignee Claimed by @Mizux View on GitHub
Build: CMake Feature Request Lang: .NET
Dominant language
C++
Stars
14.1k
Forks
2.5k
Avg merge
8h 39m
Merged PRs (30d)
72

Description

**What language and solver does this apply to?**
All, Python, Java, C#, C++ / CP-SAT, Routing, Linear Solver

C++

**Describe the problem you are trying to solve.**

For building native DLL used in dotnet, or-tool make/build/compiler/linker options used for Visual C++ should follow recommended rules defined in https://github.com/microsoft/binskim/blob/main/docs/BinSkimRules.md
Especially the [BA2008 one to enable control flow guide](https://github.com/microsoft/binskim/blob/main/docs/BinSkimRules.md#rule-ba2008enablecontrolflowguard).

**Describe the solution you'd like**

As described.

**Describe alternatives you've considered**

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.