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

https://github.com/newworldcomingsoon/llvm-msvc-build

This project migrated to https://github.com/backengineering/llvm-msvc
https://github.com/newworldcomingsoon/llvm-msvc-build

build compatibility compiler infosec llvm msvc windows

Last synced: 5 months ago
JSON representation

This project migrated to https://github.com/backengineering/llvm-msvc

Awesome Lists containing this project

README

          

# `llvm-msvc-build`

[![GitHub license](https://img.shields.io/github/license/NewWorldComingSoon/llvm-msvc-build)](https://github.com/NewWorldComingSoon/llvm-msvc-build/blob/main/LICENSE)
[![Github All Releases](https://img.shields.io/github/downloads/NewWorldComingSoon/llvm-msvc-build/total.svg)](https://github.com/NewWorldComingSoon/llvm-msvc-build/releases)
[![GitHub release](https://img.shields.io/github/release/NewWorldComingSoon/llvm-msvc-build.svg)](https://github.com/NewWorldComingSoon/llvm-msvc-build/releases)

This project migrated to https://github.com/backengineering/llvm-msvc

## What's llvm-msvc?
A [project](https://github.com/NewWorldComingSoon/llvm-msvc) that forked LLVM focused on MSVC Compatibility.

Because there are more hacky operations, a lot of code can not be submitted directly to the official. So there is this branch.

## Features:
- SEH support.
- Compatible with MSVC syntax as much as possible.
- Windows Driver support.(Now only X64)
- Intrinsic support.
- Naked X64 inline asm support.

## How to use llvm-msvc?
- Install Visual Studio 2015~2022(I suggest 2022) with WDK11.
- Install llvm-msvc in this repository ([llvm-msvc_X86_64_installer.exe](https://github.com/NewWorldComingSoon/llvm-msvc-build/releases))
- Create your windows driver project and select "LLVM-MSVC_v143_KernelMode" as your platform toolset.
- Compile it.

## Project template
Here is a Visual Studio windows driver example: [[link]](https://github.com/gmh5225/LLVMWindowsDriverTest)

![image](https://github.com/NewWorldComingSoon/llvm-msvc-build/blob/main/LLVMDriverTest.png)

Here is a cmkr windows driver template: [[link]](https://github.com/NewWorldComingSoon/llvm-msvc-windows-driver-template)

![image](https://github.com/NewWorldComingSoon/llvm-msvc-build/assets/13917777/2da39155-1232-4cc4-9ce1-f35d08d2a685)

## Learning
If you don't know how to learn LLVM, you can check out this [repository](https://github.com/gmh5225/awesome-llvm-security) of mine.

## Issues
If you have any questions, please tell me or send [issues](https://github.com/NewWorldComingSoon/llvm-msvc-issues/issues)

## Credits
- LLVM
- Some anonymous people