Ecosyste.ms: Awesome
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: about 1 month ago
JSON representation
Provides MSVC's _alloca for the most bare metal of bare metal projects.
- Host: GitHub
- URL: https://github.com/danbugs/msvc-alloca
- Owner: danbugs
- License: agpl-3.0
- Created: 2024-01-10T20:36:06.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-08T23:01:45.000Z (11 months ago)
- Last Synced: 2024-10-20T00:13:37.702Z (2 months ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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/`.