Monthly Archives: January 2009

Generating HTML from Python

Occasionally I will write scripts which generate HTML documents. I understand the view that HTML is “object code”, and that its formatting doesn’t matter, but I’ve never been completely able to adopt that position. As a result, I usually try … Continue reading

Posted in Planet Microsoft, Python, UNIX, Web stuff | Comments Off

Disassembler (Odds and Ends)

This week, I post some remarks following up on the just-concluded disassembler tutorial; there are always a few loose ends to tie up, and I wanted to clarify or expand on: The opcode map Addressing Demo code Hardening

Posted in Planet Microsoft, Projects, Python, Reverse Engineering | Comments Off

Disassembler (Part 3)

Editorial Note: Over the last two weeks, we’ve done the groundwork for building a disassembler: We’ve seen how to find documentation for a machine’s instruction format, how to read machine code by hand, and how to build up a machine-readable … Continue reading

Posted in Projects, Python, Reverse Engineering | Comments Off

Disassembler (Part 2)

Editorial Note: This article is the second in a three part series on writing an 8086 disassembler. Today we’ll cover the practical issues involved in finding an opcode map; we saw last week that such a map is central to … Continue reading

Posted in Projects, Reverse Engineering | Comments Off

Disassembler (Part 1)

Editorial Note: This article is the first in a three part series on writing a disassembler. Today we’ll cover the high-level concepts involved in disassembly and see how to read machine code “by hand”. Next week, we’ll look at the … Continue reading

Posted in Planet Microsoft, Projects, Python, Reverse Engineering | Comments Off