Blogs

Digital Logic Design

A Formal Introduction to Boolean Expressions

6 minute read

So far we have learned the basic gates. Now we need to learn how to use them wisely. A Boolean expression can often be written in a shorter form, and a short...

XOR Gate

5 minute read

The XOR gate is also called the exclusive OR gate. It is like an OR gate, but with one exception that when both inputs are 1, the output is 0. It turns ON on...

XNOR Gate

5 minute read

The XNOR gate is also called the exclusive NOR gate. It is an XOR gate followed by a NOT gate, so it does the opposite of XOR. It turns ON only when the inpu...

OR Gate

4 minute read

The OR gate is one of the three basic logic gates, along with AND and NOT.

NOT Gate

3 minute read

The NOT gate is the simplest logic gate. It has only one input, and its job is to flip it. It is also called an inverter. What is a NOT gate?

NOR Gate

5 minute read

The NOR gate is an OR gate followed by a NOT gate. The name means “NOT OR”. It does the opposite of OR as it turns ON only when nothing is ON.

NAND Gate

4 minute read

The NAND gate is an AND gate followed by a NOT gate. The name means “NOT AND”. It does the opposite of AND as it turns OFF only when everything is ON. What i...

AND Gate

6 minute read

The AND gate is another basic logic gate, along with OR and NOT. It is the “strict” gate as every input has to agree before the output turns on.

How to Connect Breadboards

1 minute read

One breadboard is often not enough for a bigger circuit. The good news is that breadboards are made to be joined together, and you can share the same power s...

Signed Numbers Representation

7 minute read

So far we’ve only added and subtracted positive numbers. But computers don’t just work with positive numbers, they need a way to represent negative numbers t...

Number Systems Conversions

9 minute read

We are going to discuss a very important topic today that is Number system conversions. Before diving in, here’s the map of everything we’re about to cover:

Number Systems Basic Arithmetic Operations

9 minute read

Arithmetic Operations in Number Systems is a very important topic as we will often come across different number system operations during our learning journey...

An Introduction to Number Systems

13 minute read

Welcome to the first lecture in this Digital Logic Design series. Before we touch a single logic gate, flip-flop, or circuit, we need to get comfortable with...

Back to Top ↑

C++ OOP Internals

The Virtual Functions

24 minute read

Since we’re done with the basics, lets start reversing our magnificent virtual functions… So, what’s the deal with virtual functions? Virtual functions are C...

Parents and Children in C++

10 minute read

When reversing C++ binaries, identifying Inheritance is important. Derived Classes contain Base Class data at predictable offsets, creating recognizable memo...

C++ Object Creation Like Anything

7 minute read

C++ looks pretty simple on the surface… you write a class, create an object, and move on. But under the hood, the compiler is busy stitching together memory ...

Back to Top ↑

TCP SACK Based Vulnerabilities

CVE-2019-11478: Sack Panic

26 minute read

CVE-2019-11477, nicknamed SACK Panic, is a remote denial of service in the Linux TCP stack where the whole disaster comes down to a __u16 counter that can on...

CVE-2019-11478: Sack Slowness

24 minute read

In June 2019, Netflix engineer Jonathan Looney disclosed three related bugs in how Linux handles TCP Selective Acknowledgments (SACK). The most famous one is...

CVE-2019-11479: The Linux TCP Low MSS DoS

23 minute read

CVE-2019-11479 is a denial of service vulnerability in the Linux kernel’s TCP stack, disclosed in June 2019 alongside two related bugs we have already discus...

Back to Top ↑

io_uring

io_uring from Userland

30 minute read

You know the pains if you’ve written performance sensitive I/O code on Linux. Every read() and write() is a round trip into the kernel. POSIX AIO was a mess,...

Back to Top ↑