Skip to content

step63r/veh_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

veh_sample

Description

Sample program for testing VEH (Vectored Exception Handler) on Windows.

Requirement

  • Visual Studio Code
    • C/C++

Install

Fork and clone this repository.

$ git clone git@github.com:yourname/veh_sample.git

Usage

WARNING: THIS PROGRAM INTENTIONALLY CAUSES AN ACCESS VIOLATION EXCEPTION.

Compile with Developer Command Prompt for VS2022.

> cl main.c

Run.

> main.exe
main() START
VectoredHandler() START
Exception code: 0xC0000005
VectoredHandler() END [EXCEPTION_CONTINUE_EXECUTION]
main() END

This program is designed for x86 environment.

To enable IntelliSense in VSCode, set "C_Cpp > Default: IntelliSense Mode" to windows-msvc-x86.

Contribution

  1. Fork this repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create new Pull Request

License

MIT License

Author

minato

About

Sample program for testing VEH (Vectored Exception Handler) on Windows.

Topics

Resources

License

Stars

Watchers

Forks

Languages