Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fabio3rs/segvcatch

 
 

Repository files navigation

segvcatch

This is a crossplatform C++ library designed to convert a hardware exceptions, such as segmentation fault, or floating point errors, into a software language exceptions, which can be handled later with a try/catch construction.

Other words, it's a crossplatform structured exception handling (SEH).

For example, this code is working fine:

try
{
    *(int*) 0 = 0;
}
catch (std::exception& e)
{
    std::cerr << "Exception catched : " << e.what() << std::endl;
}

About

Automatically exported from code.google.com/p/segvcatch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C 55.0%
  • C++ 41.0%
  • CMake 2.4%
  • Batchfile 1.2%
  • Shell 0.4%