An open API service indexing awesome lists of open source software.

https://github.com/danbugs/msvc-alloca

Provides MSVC's _alloca for the most bare metal of bare metal projects.
https://github.com/danbugs/msvc-alloca

Last synced: 10 months ago
JSON representation

Provides MSVC's _alloca for the most bare metal of bare metal projects.

Awesome Lists containing this project

README

          

# msvc-alloca

This crate provides a safe-ish wrapper around the MSVC `_alloca` function.

This is similar to [alloca-rs](https://github.com/playXE/alloca-rs), but the main difference is that we compile our alloca wrapper with `/GS-`, which disables stack protection and enables it to link with a `/SUBSYSTEM:NATIVE`/`/KERNEL`/`/DRIVER` binary.

For example usage, check out `example/`.