Group: comp.lang.ruby
From: Matt Lawrence
Date: Friday, February 15, 2008 2:29 PM
Subject: Re: Tools for working with x86 assembly in Ruby?

On Sat, 16 Feb 2008, ljp wrote:

> I'm starting a project that will involve injecting instructions into
> x86 assembly code. I'd like to write this tool in Ruby. In the
> interest of not reinventing wheels, I'm appealing to the Ruby
> community: does anyone know of some serviceable source code for
> parsing x86 assembly, and ideally for editing (e.g., ability to update
> offsets when an instruction is moved around)? Or perhaps someone
> knows of an assembler written in Ruby that I could pilfer? My Google-
> fu hasn't turned up anything.

You may want to take a look at Metasploit, I think it does some of that.

-- Matt
It's not what I know that counts.
It's what I can remember in time to use.

Safety Articles | Usenet Groups | 20lbs in 30 days