All Projects → avakar → vcrtl

avakar / vcrtl

Licence: MIT license
C++ Exceptions in Windows Drivers

Programming Languages

C++
36643 projects - #6 most used programming language
assembly
5116 projects
CMake
9771 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to vcrtl

Ben.demystifier
High performance understanding for stack traces (Make error logs more productive)
Stars: ✭ 2,142 (+1419.15%)
Mutual labels:  exceptions
Bugsnag Ruby
Bugsnag error monitoring & reporting software for rails, sinatra, rack and ruby
Stars: ✭ 211 (+49.65%)
Mutual labels:  exceptions
rollbar-java
Rollbar for Java and Android
Stars: ✭ 71 (-49.65%)
Mutual labels:  exceptions
Bugsnag Go
Automatic panic monitoring for Go and Go web frameworks, like negroni, gin, and revel
Stars: ✭ 155 (+9.93%)
Mutual labels:  exceptions
Easybuggy
Too buggy web application
Stars: ✭ 189 (+34.04%)
Mutual labels:  exceptions
Coderr.Client
Core client library for Coderr
Stars: ✭ 23 (-83.69%)
Mutual labels:  exceptions
Applicationinsights Dotnet Server
Microsoft Application Insights for .NET Web Applications
Stars: ✭ 130 (-7.8%)
Mutual labels:  exceptions
exceptions-java
Curso Tratamento de Exceções em Java
Stars: ✭ 489 (+246.81%)
Mutual labels:  exceptions
Exceptions4c
🐑 An exception handling framework for C
Stars: ✭ 189 (+34.04%)
Mutual labels:  exceptions
django-http-exceptions
HTTP exceptions for django
Stars: ✭ 29 (-79.43%)
Mutual labels:  exceptions
Bugsnag Cocoa
Bugsnag crash reporting for iOS, macOS and tvOS apps
Stars: ✭ 167 (+18.44%)
Mutual labels:  exceptions
Object Oriented Programming Using Python
Python is a multi-paradigm programming language. Meaning, it supports different programming approach. One of the popular approach to solve a programming problem is by creating objects. This is known as Object-Oriented Programming (OOP).
Stars: ✭ 183 (+29.79%)
Mutual labels:  exceptions
raise if
one liner `raise Exception if condition` for Python
Stars: ✭ 15 (-89.36%)
Mutual labels:  exceptions
Safely
Safely is a Clojure's circuit-breaker library for handling retries in an elegant declarative way.
Stars: ✭ 152 (+7.8%)
Mutual labels:  exceptions
stack-trace-art
Turning programming exceptions into art
Stars: ✭ 39 (-72.34%)
Mutual labels:  exceptions
Safe
All PHP functions, rewritten to throw exceptions instead of returning false
Stars: ✭ 1,890 (+1240.43%)
Mutual labels:  exceptions
bugsnag-java
Bugsnag error reporting for Java.
Stars: ✭ 51 (-63.83%)
Mutual labels:  exceptions
ExceptionCatcher
Catch Objective-C exceptions in Swift
Stars: ✭ 97 (-31.21%)
Mutual labels:  exceptions
easybuggy4django
EasyBuggy clone built on Django
Stars: ✭ 44 (-68.79%)
Mutual labels:  exceptions
FPChecker
A dynamic analysis tool to detect floating-point errors in HPC applications.
Stars: ✭ 26 (-81.56%)
Mutual labels:  exceptions

C++ Exceptions in Windows Drivers

This project implements parts of the Visual Studio runtime library that are needed for C++ exception handling. Currently, x86 and x64 platforms are supported.

Getting started

To use exceptions in your kernel-mode driver, first

C++ exceptions will magically work.

Features

The exception handling code was optimized to significantly reduce the required stack space. On x86, the stack usage is negligible, on x64, approximately 300 bytes are used during handler search, these are, however, reclaimed before the catch handler is called.

No dynamic allocations or thread-local storage is used, everything happens on the stack.

On x64, both FH3 and FH4 C++ exception ABI is supported. FH4 is much better than FH3, prefer it.

No string comparisons are done during exception dispatch.

Limitations

An exception must not leave the module in which it was thrown, otherwise the dispatcher will bug-check.

No SEH exception may pass through frames in which you do C++ exception handling (this includes functions with try/catch blocks or functions marked as noexcept, or functions with automatic variables with non-trivial destructors). This will be detected and you'll get a bug-check.

TODO

Although /GS is supported, the frame cookies aren't checked yet.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].