Skip to content

Instantly share code, notes, and snippets.

@RoadToDream
RoadToDream / memory_layout.md
Created April 17, 2024 18:45 — forked from CMCDragonkai/memory_layout.md
Linux: Understanding the Memory Layout of Linux Executables

Understanding the Memory Layout of Linux Executables

Required tools for playing around with memory:

  • hexdump
  • objdump
  • readelf
  • xxd
  • gcore
@RoadToDream
RoadToDream / dedict.c
Created August 2, 2018 02:58 — forked from josephg/0dedict.py
Apple dictionaries
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "zlib.h"
#define CHUNK 16384
/*
40 Length of the zlib stream