Boolean Algebra and Simplification of Boolean Expressions
We have learned all the basic gates such as AND, OR, NOT, NAND, NOR, XOR and XNOR. Each gate has a truth table that tells us what it does. But a real circuit...
We have learned all the basic gates such as AND, OR, NOT, NAND, NOR, XOR and XNOR. Each gate has a truth table that tells us what it does. But a real circuit...
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...
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...
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...
The OR gate is one of the three basic logic gates, along with AND and NOT.
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?
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.
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...
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.
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...
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...
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:
Arithmetic Operations in Number Systems is a very important topic as we will often come across different number system operations during our learning journey...
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...
In this article, we’re going to see how virtual inheritance works under the hood. To understand it, we will need to go deeper into the Itanium C++ ABI. We’ll...
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...
When reversing C++ binaries, identifying Inheritance is important. Derived Classes contain Base Class data at predictable offsets, creating recognizable memo...
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 ...
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...
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 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...
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,...