For the std::unique_ptr the deleter is part of the type and the std::shared_ptr keeps it as part of its control
Continue readingCategory: Technology
Custom allocator to track std::vector
Source code Debugging Result As soon as the std::vector runs out of memory its default allocator (std::allocator<T>) allocates a new
Continue readingTypes of mutexes and locks (C++)
Mutexes (Selection) … synchronizes the access on critical sections std::mutex Provides exclusive access (can only be pulled by one thread
Continue readingInter process synchronization (Linux)
Synchronizes the access on critical sections between processes. Prototypic lock file (with symlink) Alternative Boost has an interprocess namespace which
Continue readingPolicy-based routing (Linux)
Classic routing – Happens based on the destination address of the ip packet Classic routing tables $ ip rule list
Continue readingMultithreading (Web apps)
Types of Worker Type Worker Web Worker Service Worker Dedicated Worker Shared Worker Amount Multiple per tab One per origin
Continue readingNull-terminated strings (C++)
If you are working with strings you have two basic ways to define its length. Either you write a specific
Continue readingcrackmes.one (Example 3)
Setup Data URL: BitFriends’s admin_panel Language: C/C++ Platform: Unix/Linux (ELF64) Description: “Welcome to my little crackme! Your goal is to
Continue readingcrackmes.one (Example 2)
Setup Data URL: BitFriends’s simple overflow Language: C/C++ Platform: Unix/Linux (ELF64) Description: “This is a very simple crackme. The goal
Continue readingChromium process architecture (Overview)
Generally spoken there are 2 major process types: Browser and Renderer. Browser process – There exists just one running browser
Continue reading