System Programming Blog
This blog is dedicated to low level programming in Assembler and C/C++ (although, C++ is unwelcome) in either *Nix or Windows based operating systems.
Showing 6 posts for tag 'exception handling'
Exception Driven 'Debugging': Getting Behind the Anti Debugging Tricks
However, the purpose of this article is not to discuss pros and cons of Themida or any other protector, nor do I have any intention to disgrace any of the software vendors. The purpose is to describe a relatively easy way of bypassing common anti debugging tricks (including Windows DRM protection) with DLL injection.
Passing Events to a Virtual Machine
Virtual machines and Software Frameworks are an initial part of our digital life. There are complex VM and simple Software Frameworks. I did my best to describe the way VM code may interact with native code and the Operating System, however, the backwards interaction is still left unexplained. This article is going to fix this omission.
Vectored Exception Handling for Linux
Many programmers, who started their career with Windows programming, are getting a bit frustrated when it comes to exception (signal) handling in Linux and keep asking about Linux analogs of Structured or Vectored Exception Handling.
Interfacing Linux Signals
Internet is full of information on Linux signals and usage thereof, starting with simple "signal(SIGSEGV, foo)" examples through more complicated tutorials. The purpose of this article is to show the way your applications interface with Linux kernel when it comes to signal handling.
Windows Structured and Vectored Exception Handling Mechanisms
We are all familiar with the 'try - except' constructs from C++ (or Java, etc.) code and we all know what this construct is used for. However, I will try to take us deeper into the underlying exception handling mechanism in this post.

This site uses cookie files for our mutual comfort.

OK
Copyright © 2023 Alexey Lyashko