Author image

Memory Allocators Galore

Allocators are strange creatures in the C++ bestiary, but they are very interesting and understanding them provides you with a deep insight into the language's internals. Are you fascinated by memory allocation in the lower level? Well you've come to the right.

This projects surrounds my efforts around creating some of the most popular memory allocators and it will serve as a reference thenceforth:

  1. Pre-C++11 default allocator (DefaultAllocator & TrackingAllocator projects)
  2. C++11 compatible allocator replacements (Allocators & AlignedAllocator projects)
  3. Linear (aka Arena) allocator (LinearAllocatorproject)
  4. Stack...

Author image

Buffer Overflow

This is a Buffer overflow tutorial using linux Ubuntu and C programming. There is full explanation and code in Greek only at the moment in “Nikos_Lazaridis_M1485_Project#2_ΥΣ13_ΕΑΡΙΝΟ_2017.pdf”. I may become motivated to translate this in English If I get enough requests.

! During Buffer Overflow:
The ultimate goal of a Buffer overflow attack is replacing the return address of a vulnerable/unsecure function with another one of our choosing. The latter function will have "ASCII shellcode" placed into it, which will execute the attacker's desired code (WE are the attacker here); the sky's the limit here with what the attacker can do (more like the imagination of the attacker). “Buffer Overflow” occurs the moment where a single byte is written in the...

Author image

Windows Leak Checker

Memory Leak checking facility for Windows.

Simply integrate the files to your own program and test if you have any memory leaks.

You don't have to reference that code in your own files. It will do everything on its own, so long as you add the files to your program and compile them.

Note that it works only in debug mode!

Simple as that. : )

I used Windows 8.1 x86_64, Microsoft Visual Studio 2017 to build the project.


Github repository link.