~/talk

Binary File Format Engineering and Reverse Engineering

Talkat ACCU 2023 · 2023-04-19..04-22· [c-and-cpp, compilers-and-language-design]
links:none on file
slides:none on file

Covers how bits become numbers, text and floats, then shows real encodings used in practice: two's complement for negatives, protobuf varint and wire types (example decodes 42 and two strings), and compression primitives LZ/RLE/Huffman. Uses file and strings to reverse engineer a 1993 game: finds an index table, identifies 2048 shapes, decodes nine‑byte and 16‑byte records, implements decoders for run‑length image runs and level blobs, and renders full levels from 64 files — the extractor works and reproduces original images.

AI-written summary · about

  1. 0:00Intro
  2. 0:35What are bits
  3. 1:17Conventions
  4. 10:43Variable Length
  5. 13:43Protobuf
  6. 17:19Compression
  7. 24:28Encoding
  8. 26:46Data transforms
  9. 28:46Variable length codes
  10. 38:10Bitpacking
  11. 39:11Questions
  12. 39:26Why not to make binary files
  13. 40:38Types of binary files
  14. 43:38Header and flat files
  15. 44:28Index and data files
  16. 44:41Record sequences
  17. 46:27Chunked files
  18. 48:50Use cases
  19. 50:43Working sets
  20. 55:15Logical Use Cases
  21. 57:04Finding the Data
  22. 58:11Using the Data
  23. 59:37Grouping the Data
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.