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.
- Host: GitHub
- URL: https://github.com/danbugs/msvc-alloca
- Owner: danbugs
- License: agpl-3.0
- Created: 2024-01-10T20:36:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-08T23:01:45.000Z (over 2 years ago)
- Last Synced: 2025-02-28T16:02:25.022Z (over 1 year 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/`.