#!/usr/bin/env ruby # This file is part of Metasm, the Ruby assembly manipulation suite # Copyright (C) 2007 Yoann GUILLOT # # Licence is LGPL, see LICENCE in the top-level directory # # a sample application # require 'metasm' pe = Metasm::PE.assemble Metasm::Ia32.new, <