Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 1 month 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/`.