Skip to content
This is a series of small articles / tutorials based around virtual memory. The goal is to learn some CS basics, but in a different and more practical way.
C Python
Branch: master
Clone or download
Latest commit 4bd7431 Dec 1, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
00. C strings & the proc filesystem
01. Python bytes
02. What's where in the virtual memory
03. malloc, the heap and the program break Update README.md May 15, 2017
04. The Stack, registers and assembly code
README.md

README.md

Hack the Virtual Memory

hack the virtual memory

This is a series of small articles / tutorials based around virtual memory. The goal is to learn some CS basics, but in a different and more practical way.

TOC

00. C strings & /proc

For this first piece, we'll use /proc to find and modify variables (in this example, an ASCII string) contained inside the virtual memory of a running process, and learn some cool things along the way.

Status: Published

01. Python bytes

For this second piece, we'll do almost the same thing, but instead we will access the virtual memory of a running Python 3 script. It is not as straightfoward. Let's take this as an excuse to look at some Python 3 internals!

Status: Published

02. What's where in the virtual memory

Let's try to guess where things are in the virtual memory.

Status: Published

03. malloc, the heap and the program break

In this fourth chapter we will look at the heap and how malloc works in order to answer some of the questions we ended with at the end of the previous chapter.

Status: Published

04. The stack, registers and assembly code

Status: In progress

You can’t perform that action at this time.