Skip to content

Simple SIGSEGV handler (segmentation fault handler).

License

Notifications You must be signed in to change notification settings

pavponn/os-signal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIGSEGV Handler

SIGSEGV handler is a simple segmentation fault handler. This is an educational project, aimed at understanding how to handle with segmentation fault.

What does it do?

  • Dumps values of general purpose registers, corresponding to the fall moment;
  • Dumps memory near the address where the memory protection violation occurred.

Build

$ mkdir build
$ cd build
$ cmake ..
$ make

Requires C++14 compiler

Test

Tested manually on Linux 4.12.

Copyright

Pavel Ponomarev, 2019 (pavponn@gmail.com)

MIT License.

About

Simple SIGSEGV handler (segmentation fault handler).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.4%
  • CMake 2.6%