codeql icon indicating copy to clipboard operation
codeql copied to clipboard

C#: Stub generator improvements.

Open michaelnebel opened this issue 3 years ago • 0 comments

In this PR we introduce the following improvements to the the stub generator.

  • Enums are now explicitly typed and enum values are assigned.
  • Support for function pointers types.

This brings the stub generator in state where we almost can generate stubs for the ASP.NET Core and .NET Core frameworks without making manual changes to the generated code. The only part that is now missing are some unsafe keywords (whether this is due to extraction errors or issues with the stub generator is unknown).

Furthermore, the subs for ASP.NET Core and .NET Core has been regenerated based on the newest version of the stub generator.

Closes https://github.com/github/codeql-csharp-team/issues/260

michaelnebel avatar Aug 10 '22 07:08 michaelnebel